/** * Creates a clone of this listener. This method will only be called by ehcache before a cache is initialized. * <p> * This may not be possible for listeners after they have been initialized. Implementations should throw * CloneNotSupportedException if they do not support clone. * * @return a clone * @throws CloneNotSupportedException if the listener could not be cloned. */ public Object clone() throws CloneNotSupportedException { //shutup checkstyle super.clone(); return new RMISynchronousCacheReplicator(replicatePuts, replicatePutsViaCopy, replicateUpdates, replicateUpdatesViaCopy, replicateRemovals); } }
/** * Creates a clone of this listener. This method will only be called by ehcache before a cache is initialized. * <p/> * This may not be possible for listeners after they have been initialized. Implementations should throw * CloneNotSupportedException if they do not support clone. * * @return a clone * @throws CloneNotSupportedException if the listener could not be cloned. */ public Object clone() throws CloneNotSupportedException { //shutup checkstyle super.clone(); return new RMISynchronousCacheReplicator(replicatePuts, replicatePutsViaCopy, replicateUpdates, replicateUpdatesViaCopy, replicateRemovals); } }
/** * Creates a clone of this listener. This method will only be called by ehcache before a cache is initialized. * <p> * This may not be possible for listeners after they have been initialized. Implementations should throw * CloneNotSupportedException if they do not support clone. * * @return a clone * @throws CloneNotSupportedException if the listener could not be cloned. */ public Object clone() throws CloneNotSupportedException { //shutup checkstyle super.clone(); return new RMISynchronousCacheReplicator(replicatePuts, replicatePutsViaCopy, replicateUpdates, replicateUpdatesViaCopy, replicateRemovals); } }
/** * Creates a clone of this listener. This method will only be called by ehcache before a cache is initialized. * <p/> * This may not be possible for listeners after they have been initialized. Implementations should throw * CloneNotSupportedException if they do not support clone. * * @return a clone * @throws CloneNotSupportedException if the listener could not be cloned. */ public Object clone() throws CloneNotSupportedException { //shutup checkstyle super.clone(); return new RMISynchronousCacheReplicator(replicatePuts, replicatePutsViaCopy, replicateUpdates, replicateUpdatesViaCopy, replicateRemovals); } }
maximumBatchSize); } else { return new RMISynchronousCacheReplicator( replicatePuts, replicatePutsViaCopy,
@RefreshScope @Bean @ConditionalOnMissingBean(name = "ticketRMISynchronousCacheReplicator") public CacheReplicator ticketRMISynchronousCacheReplicator() { val cache = casProperties.getTicket().getRegistry().getEhcache(); return new RMISynchronousCacheReplicator( cache.isReplicatePuts(), cache.isReplicatePutsViaCopy(), cache.isReplicateUpdates(), cache.isReplicateUpdatesViaCopy(), cache.isReplicateRemovals()); }
maximumBatchSize); } else { return new RMISynchronousCacheReplicator( replicatePuts, replicatePutsViaCopy,
maximumBatchSize); } else { return new RMISynchronousCacheReplicator( replicatePuts, replicatePutsViaCopy,
maximumBatchSize); } else { return new RMISynchronousCacheReplicator( replicatePuts, replicatePutsViaCopy,