GemFire 7.0

com.gemstone.gemfire.cache.snapshot
Interface SnapshotOptions<K,V>

Type Parameters:
K - the cache entry key type
V - the cache entry value type
All Superinterfaces:
Serializable

public interface SnapshotOptions<K,V>
extends Serializable

Provides a way to configure the behavior of snapshot operations. The default options are:

filter
null

Since:
7.0

Nested Class Summary
static class SnapshotOptions.SnapshotFormat
          Defines the available snapshot file formats.
 
Method Summary
 SnapshotFilter<K,V> getFilter()
          Returns the filter to be applied to snapshot entries.
 SnapshotOptions<K,V> setFilter(SnapshotFilter<K,V> filter)
          Sets a filter to apply to snapshot entries.
 

Method Detail

setFilter

SnapshotOptions<K,V> setFilter(SnapshotFilter<K,V> filter)
Sets a filter to apply to snapshot entries. Entries that are accepted by the filter will be included in import and export operations.

Parameters:
filter - the filter to apply, or null to remove the filter
Returns:
the snapshot options

getFilter

SnapshotFilter<K,V> getFilter()
Returns the filter to be applied to snapshot entries. Entries that are accepted by the filter will be included in import and export operations.

Returns:
the filter, or null if the filter is not set

GemFire 7.0

Copyright © 1997-2012 VMware, Inc. All rights reserved.