@GridMBeanDescription(value="MBean for GGFS per-block LRU cache eviction policy.")
public interface GridCacheGgfsPerBlockLruEvictionPolicyMBean
GGFS per-block LRU eviction policy.| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentBlocks()
Gets current amount of blocks.
|
long |
getCurrentSize()
Gets current size of data in all blocks.
|
Collection<String> |
getExcludePaths()
Gets collection of regex for paths whose blocks must not be evicted.
|
int |
getMaxBlocks()
Gets maximum allowed amount of blocks.
|
long |
getMaxSize()
Gets maximum allowed size of all blocks in bytes.
|
void |
setExcludePaths(Collection<String> excludePaths)
Sets collection of regex for paths whose blocks must not be evicted.
|
void |
setMaxBlocks(int maxBlocks)
Sets maximum allowed amount of blocks.
|
void |
setMaxSize(long maxSize)
Sets maximum allowed size of data in all blocks in bytes.
|
@GridMBeanDescription(value="Maximum allowed size of all blocks in bytes.") long getMaxSize()
@GridMBeanDescription(value="Sets aximum allowed size of data in all blocks in bytes.") void setMaxSize(long maxSize)
maxSize - Maximum allowed size of data in all blocks in bytes.@GridMBeanDescription(value="Maximum allowed amount of blocks.") int getMaxBlocks()
@GridMBeanDescription(value="Sets maximum allowed amount of blocks.") void setMaxBlocks(int maxBlocks)
maxBlocks - Maximum allowed amount of blocks.@GridMBeanDescription(value="Collection of regex for paths whose blocks must not be evicted.") @Nullable Collection<String> getExcludePaths()
@GridMBeanDescription(value="Sets collection of regex for paths whose blocks must not be evicted.")
void setExcludePaths(@Nullable
Collection<String> excludePaths)
excludePaths - Collection of regex for paths whose blocks must not be evicted.@GridMBeanDescription(value="Current size of data in all blocks.") long getCurrentSize()
@GridMBeanDescription(value="Current amount of blocks.") int getCurrentBlocks()
Copyright © 2014. All rights reserved.