Package org.apache.jackrabbit.oak.plugins.observation

Examples of org.apache.jackrabbit.oak.plugins.observation.CommitRateLimiter


        Object value = properties.get(COMMIT_RATE_LIMIT);
        if (isNullOrEmpty(value)) {
            value = context.getBundleContext().getProperty(COMMIT_RATE_LIMIT);
        }
        return Boolean.parseBoolean(String.valueOf(value))
            ? new CommitRateLimiter()
            : null;
    }
View Full Code Here


        observationQueueLength = PropertiesUtil.toInteger(prop(
                config, bundleContext, OBSERVATION_QUEUE_LENGTH), DEFAULT_OBSERVATION_QUEUE_LENGTH);

        if(PropertiesUtil.toBoolean(prop(
                config, bundleContext, COMMIT_RATE_LIMIT), DEFAULT_COMMIT_RATE_LIMIT)) {
            commitRateLimiter = new CommitRateLimiter();
        } else {
            commitRateLimiter = null;
        }

        whiteboard = new OsgiWhiteboard(bundleContext);
View Full Code Here

        observationQueueLength = PropertiesUtil.toInteger(prop(
                config, bundleContext, OBSERVATION_QUEUE_LENGTH), DEFAULT_OBSERVATION_QUEUE_LENGTH);

        if(PropertiesUtil.toBoolean(prop(
                config, bundleContext, COMMIT_RATE_LIMIT), DEFAULT_COMMIT_RATE_LIMIT)) {
            commitRateLimiter = new CommitRateLimiter();
        } else {
            commitRateLimiter = null;
        }

        whiteboard = new OsgiWhiteboard(bundleContext);
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.plugins.observation.CommitRateLimiter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.