public class GridCacheAttributes extends Object implements Externalizable
This class contains information on a single cache configured on some node.
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swapEnabled
Flag indicating whether Ignite should use swap storage by default.
|
| Constructor and Description |
|---|
GridCacheAttributes()
Public no-arg constructor for
Externalizable. |
GridCacheAttributes(CacheConfiguration cfg,
CacheStore<?,?> store) |
protected boolean swapEnabled
public GridCacheAttributes(CacheConfiguration cfg, @Nullable CacheStore<?,?> store)
cfg - Cache configuration.store - Cache store.public GridCacheAttributes()
Externalizable.public String cacheName()
public CacheMode cacheMode()
public CacheAtomicityMode atomicityMode()
public boolean nearCacheEnabled()
True if near cache is enabled.public boolean isAffinityNode()
True if the local node will not contribute any local storage to this
cache, false otherwise.public CacheRebalanceMode cacheRebalanceMode()
public String cacheAffinityClassName()
public String cacheAffinityMapperClassName()
public boolean affinityIncludeNeighbors()
public int affinityKeyBackups()
public int affinityPartitionsCount()
public String affinityHashIdResolverClassName()
public String evictionFilterClassName()
public String evictionPolicyClassName()
public String nearEvictionPolicyClassName()
public String storeClassName()
public String transactionManagerLookupClassName()
public boolean swapEnabled()
True if swap enabled.public long defaultTimeToLive()
public boolean evictSynchronized()
public boolean evictNearSynchronized()
public float evictMaxOverflowRatio()
public CacheDistributionMode partitionedTaxonomy()
public long defaultQueryTimeout()
public long defaultLockTimeout()
public int rebalanceBatchSize()
public CacheWriteSynchronizationMode writeSynchronization()
public boolean queryIndexEnabled()
public boolean readThrough()
public boolean writeThrough()
public boolean loadPreviousValue()
public boolean writeBehindEnabled()
public int writeBehindFlushSize()
public long writeBehindFlushFrequency()
public int writeBehindFlushThreadCount()
public int writeBehindBatchSize()
public String indexingSpiName()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015