/** * Clones this loader */ @Override public Object clone() throws CloneNotSupportedException { //checkstyle return new RMIBootstrapCacheLoader(asynchronous, maximumChunkSizeBytes); }
/** * Create a <code>BootstrapCacheLoader</code> * * @param properties implementation specific properties. These are configured as comma * separated name value pairs in ehcache.xml * @return a constructed BootstrapCacheLoader */ public RMIBootstrapCacheLoader createBootstrapCacheLoader(Properties properties) { boolean bootstrapAsynchronously = extractBootstrapAsynchronously(properties); int maximumChunkSizeBytes = extractMaximumChunkSizeBytes(properties); return new RMIBootstrapCacheLoader(bootstrapAsynchronously, maximumChunkSizeBytes); }
/** * Clones this loader */ @Override public Object clone() throws CloneNotSupportedException { //checkstyle return new RMIBootstrapCacheLoader(asynchronous, maximumChunkSizeBytes); }
/** * Clones this loader */ @Override public Object clone() throws CloneNotSupportedException { //checkstyle return new RMIBootstrapCacheLoader(asynchronous, maximumChunkSizeBytes); }
/** * Clones this loader */ @Override public Object clone() throws CloneNotSupportedException { //checkstyle return new RMIBootstrapCacheLoader(asynchronous, maximumChunkSizeBytes); }
/** * Create a <code>BootstrapCacheLoader</code> * * @param properties implementation specific properties. These are configured as comma * separated name value pairs in ehcache.xml * @return a constructed BootstrapCacheLoader */ public RMIBootstrapCacheLoader createBootstrapCacheLoader(Properties properties) { boolean bootstrapAsynchronously = extractBootstrapAsynchronously(properties); int maximumChunkSizeBytes = extractMaximumChunkSizeBytes(properties); return new RMIBootstrapCacheLoader(bootstrapAsynchronously, maximumChunkSizeBytes); }
/** * Create a <code>BootstrapCacheLoader</code> * * @param properties implementation specific properties. These are configured as comma * separated name value pairs in ehcache.xml * @return a constructed BootstrapCacheLoader */ public RMIBootstrapCacheLoader createBootstrapCacheLoader(Properties properties) { boolean bootstrapAsynchronously = extractBootstrapAsynchronously(properties); int maximumChunkSizeBytes = extractMaximumChunkSizeBytes(properties); return new RMIBootstrapCacheLoader(bootstrapAsynchronously, maximumChunkSizeBytes); }
/** * Create a <code>BootstrapCacheLoader</code> * * @param properties implementation specific properties. These are configured as comma * separated name value pairs in ehcache.xml * @return a constructed BootstrapCacheLoader */ public RMIBootstrapCacheLoader createBootstrapCacheLoader(Properties properties) { boolean bootstrapAsynchronously = extractBootstrapAsynchronously(properties); int maximumChunkSizeBytes = extractMaximumChunkSizeBytes(properties); return new RMIBootstrapCacheLoader(bootstrapAsynchronously, maximumChunkSizeBytes); }
@RefreshScope @Bean @ConditionalOnMissingBean(name = "ticketCacheBootstrapCacheLoader") public BootstrapCacheLoader ticketCacheBootstrapCacheLoader() { val cache = casProperties.getTicket().getRegistry().getEhcache(); return new RMIBootstrapCacheLoader(cache.isLoaderAsync(), cache.getMaxChunkSize()); }