@Override public Class<V> getValueType() { if (delegate.getValueType() == null) { return (Class<V>) Object.class; } return delegate.getValueType(); }
@Override public Class<K> getKeyType() { if (delegate.getKeyType() == null) { return (Class<K>) Object.class; } return delegate.getKeyType(); }
/** * Constructs a {@link MutableCacheEntryListenerConfiguration} based on * another {@link CacheEntryListenerConfiguration}. * * @param configuration the {@link CacheEntryListenerConfiguration} */ public MutableCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K, V> configuration) { this.listenerFactory = configuration.getCacheEntryListenerFactory(); this.filterFactory = configuration.getCacheEntryEventFilterFactory(); this.isOldValueRequired = configuration.isOldValueRequired(); this.isSynchronous = configuration.isSynchronous(); }
public void addCacheEntryListenerConfiguration( CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) { delegate.addCacheEntryListenerConfiguration(cacheEntryListenerConfiguration); }
@Override public boolean isReadThrough() { return delegate.isReadThrough(); }
@Override public boolean isWriteThrough() { return delegate.isWriteThrough(); }
@Override public boolean isStatisticsEnabled() { return delegate.isStatisticsEnabled(); }
@Override public Factory<CacheLoader<K, V>> getCacheLoaderFactory() { return delegate.getCacheLoaderFactory(); }
@Override public Factory<CacheWriter<? super K, ? super V>> getCacheWriterFactory() { return delegate.getCacheWriterFactory(); }
@Override public boolean isStoreByValue() { return delegate.isStoreByValue(); }
@Override public boolean isManagementEnabled() { return delegate.isManagementEnabled(); }
@Override public Factory<ExpiryPolicy> getExpiryPolicyFactory() { return delegate.getExpiryPolicyFactory(); }
@Override public Iterable<CacheEntryListenerConfiguration<K, V>> getCacheEntryListenerConfigurations() { return delegate.getCacheEntryListenerConfigurations(); }
public void addCacheEntryListenerConfiguration( CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) { delegate.addCacheEntryListenerConfiguration(cacheEntryListenerConfiguration); }
@Override public boolean isReadThrough() { return delegate.isReadThrough(); }
@Override public Class<V> getValueType() { if (delegate.getValueType() == null) { return (Class<V>) Object.class; } return delegate.getValueType(); }
@Override public Class<K> getKeyType() { if (delegate.getKeyType() == null) { return (Class<K>) Object.class; } return delegate.getKeyType(); }
@Override public boolean isStatisticsEnabled() { return delegate.isStatisticsEnabled(); }
@Override public Factory<CacheWriter<? super K, ? super V>> getCacheWriterFactory() { return delegate.getCacheWriterFactory(); }
@Override public boolean isStoreByValue() { return delegate.isStoreByValue(); }