private static final int REPL_QUEUE_INTERVAL = 5000;
private static final int REPL_QUEUE_MAX_ELEMENTS = 10;
long creationTime;
protected void createCacheManagers() throws Throwable {
GlobalConfiguration globalConfiguration = GlobalConfiguration.getClusteredDefault();
globalConfiguration.setReplicationQueueScheduledExecutorFactoryClass(ReplQueueTestScheduledExecutorFactory.class.getName());
globalConfiguration.setReplicationQueueScheduledExecutorProperties(ReplQueueTestScheduledExecutorFactory.myProps);
CacheContainer first = TestCacheManagerFactory.createCacheManager(globalConfiguration);
CacheContainer second = TestCacheManagerFactory.createCacheManager(globalConfiguration);
registerCacheManager(first, second);
Configuration config = getDefaultClusteredConfig(Configuration.CacheMode.REPL_ASYNC, true);