com.gemstone.gemfire.cache.snapshot
Interface SnapshotFilter<K,V>
- Type Parameters:
K - the key typeV - the value type
- All Superinterfaces:
- Serializable
public interface SnapshotFilter<K,V>
- extends Serializable
Filters region entries for inclusion into a snapshot.
- Since:
- 7.0
- See Also:
CacheSnapshotService,
RegionSnapshotService
|
Method Summary |
boolean |
accept(Map.Entry<K,V> entry)
Returns true if the entry passes the filter criteria; false otherwise. |
accept
boolean accept(Map.Entry<K,V> entry)
- Returns true if the entry passes the filter criteria; false otherwise. Invoking
Entry.getValue may incur additional overhead to deserialize the
entry value.
- Parameters:
entry - the cache entry to evaluate
- Returns:
- true if the entry is accepted by the filter
Copyright © 1997-2012 VMware, Inc. All rights reserved.