Package org.compiere.util
Class CacheInfo
- java.lang.Object
-
- org.compiere.util.CacheInfo
-
- All Implemented Interfaces:
Serializable
public class CacheInfo extends Object implements Serializable
- Author:
- hengsin
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<CacheInfo>
getCacheInfos(boolean sortByName)
int
getExpireMinutes()
long
getHit()
int
getMaxSize()
long
getMiss()
String
getName()
InetAddress
getNodeAddress()
String
getNodeId()
int
getSize()
String
getTableName()
boolean
isDistributed()
-
-
-
Constructor Detail
-
CacheInfo
public CacheInfo(CCache<?,?> cache)
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name
-
getTableName
public String getTableName()
- Returns:
- the tableName
-
getSize
public int getSize()
- Returns:
- the size
-
getExpireMinutes
public int getExpireMinutes()
- Returns:
- the expireMinutes
-
getMaxSize
public int getMaxSize()
- Returns:
- the maxSize
-
isDistributed
public boolean isDistributed()
- Returns:
- the distributed
-
getNodeAddress
public InetAddress getNodeAddress()
- Returns:
- the nodeAddress
-
getNodeId
public String getNodeId()
- Returns:
- the nodeId
-
getHit
public long getHit()
- Returns:
- hit count
-
getMiss
public long getMiss()
- Returns:
- miss count
-
-