org.infinispan.loaders.bucket
Class BucketBasedCacheStore.CollectionGeneratingBucketHandler<T>
java.lang.Object
org.infinispan.loaders.bucket.BucketBasedCacheStore.CollectionGeneratingBucketHandler<T>
- All Implemented Interfaces:
- BucketBasedCacheStore.BucketHandler
- Enclosing class:
- BucketBasedCacheStore
protected abstract class BucketBasedCacheStore.CollectionGeneratingBucketHandler<T>
- extends Object
- implements BucketBasedCacheStore.BucketHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BucketBasedCacheStore.CollectionGeneratingBucketHandler
protected BucketBasedCacheStore.CollectionGeneratingBucketHandler()
consider
public abstract boolean consider(Collection<? extends InternalCacheEntry> entries)
generate
public Set<T> generate()
handle
public boolean handle(Bucket bucket)
throws CacheLoaderException
- Description copied from interface:
BucketBasedCacheStore.BucketHandler
- Handles a bucket that is passed in.
- Specified by:
handle
in interface BucketBasedCacheStore.BucketHandler
- Parameters:
bucket
- bucket to handle. Cannot be null.
- Returns:
- true if no more buckets should be passed in (enoiugh buckets have been handled). false otherwise.
- Throws:
CacheLoaderException
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.