public class VisorCache extends Object implements Serializable, LessNamingBean
IgniteCache.| Constructor and Description |
|---|
VisorCache() |
| Modifier and Type | Method and Description |
|---|---|
Collection<IgnitePair<Integer>> |
backupPartitions()
Deprecated.
Needed only for backward compatibility.
|
int |
dhtSize() |
IgniteUuid |
dynamicDeploymentId() |
protected void |
estimateMemorySize(IgniteEx ignite,
GridCacheAdapter ca,
int sample)
Estimate memory size used by cache.
|
VisorCache |
from(IgniteEx ignite,
String cacheName,
int sample) |
VisorCache |
history() |
long |
indexesSize() |
protected VisorCache |
initHistory(VisorCache c)
Fill values that should be stored in history;
|
long |
memorySize() |
VisorCacheMetrics |
metrics() |
CacheMode |
mode() |
String |
name() |
void |
name(String name)
Sets new value for cache name.
|
int |
nearSize() |
long |
offHeapAllocatedSize() |
long |
offHeapEntriesCount() |
GridDhtPartitionMap |
partitionMap() |
int |
partitions() |
Collection<IgnitePair<Integer>> |
primaryPartitions()
Deprecated.
Needed only for backward compatibility.
|
int |
primarySize() |
int |
size() |
long |
swapKeys() |
long |
swapSize() |
String |
toString() |
public VisorCache from(IgniteEx ignite, String cacheName, int sample) throws IgniteCheckedException
ignite - Grid.cacheName - Cache name.sample - Sample size.IgniteCheckedException - If failed to create data transfer object.protected void estimateMemorySize(IgniteEx ignite, GridCacheAdapter ca, int sample) throws IgniteCheckedException
ignite - Ignite.ca - Cache adapter.sample - Sample size.IgniteCheckedException - If estimation failed.protected VisorCache initHistory(VisorCache c)
c - Source cache.public VisorCache history()
public String name()
public void name(String name)
name - New cache name.public IgniteUuid dynamicDeploymentId()
public CacheMode mode()
public long memorySize()
public long indexesSize()
public int size()
public int nearSize()
public int dhtSize()
public int primarySize()
public long offHeapAllocatedSize()
public long offHeapEntriesCount()
public long swapSize()
public long swapKeys()
public int partitions()
public Collection<IgnitePair<Integer>> primaryPartitions()
public Collection<IgnitePair<Integer>> backupPartitions()
public VisorCacheMetrics metrics()
@Nullable public GridDhtPartitionMap partitionMap()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.9.0 Release Date : March 2 2017