Package com.uc4.api.systemoverview
Class CacheListItem
- java.lang.Object
-
- com.uc4.api.systemoverview.CacheListItem
-
public class CacheListItem extends java.lang.ObjectOne row of the cache list.
-
-
Constructor Summary
Constructors Constructor Description CacheListItem(org.w3c.dom.Element row)Constructs aCacheListItemfrom a XML element.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetCalls()Number of input buffer calls.intgetCurrentSize()Currently used cache size.java.lang.StringgetHitRatio()Hits of the primary work processIt is responsible for the execution of Automation Engine internal tasks and work processes.intgetHits()Number of entries found in the cache.intgetItems()Number of all cache entries.java.lang.StringgetName()Area of the Server input buffer: SCRIPT - for Script VARA - for UC4 Variable MQMEM - for message queues ODOC and XREQ - for UserInterfaces USER - for users who use an Automation Engine system.intgetThresholdValue()Deprecated.please use getThresholdValueLong() with long return valuelonggetThresholdValueLong()Limit for the cache's memory release.java.lang.StringgetTimeUsed()Total time consumed by the work processes for calling the cache.booleanisActive()If the cache is active.java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Area of the Server input buffer: SCRIPT - for Script VARA - for UC4 Variable MQMEM - for message queues ODOC and XREQ - for UserInterfaces USER - for users who use an Automation Engine system. OBJECT_IDNR - ID of the object OBJECT_NAME - for object names- Returns:
- Name
-
getThresholdValue
@Deprecated public int getThresholdValue()
Deprecated.please use getThresholdValueLong() with long return valueLimit for the cache's memory release. To be specified in the Server properties. Data is stored in the cache until its maximum size has been reached. Only in this case, the Server deletes entries that are no longer required. The cache's maximum size is ignored if it is not possible to remove data.- Returns:
- Clean Up Limit
-
getThresholdValueLong
public long getThresholdValueLong()
Limit for the cache's memory release. To be specified in the Server properties. Data is stored in the cache until its maximum size has been reached. Only in this case, the Server deletes entries that are no longer required. The cache's maximum size is ignored if it is not possible to remove data.- Returns:
- Clean Up Limit
-
getCurrentSize
public int getCurrentSize()
Currently used cache size.- Returns:
- Current size
-
getItems
public int getItems()
Number of all cache entries.- Returns:
- Cache items
-
isActive
public boolean isActive()
If the cache is active.- Returns:
true if active
-
getCalls
public int getCalls()
Number of input buffer calls.- Returns:
- Calls
-
getHits
public int getHits()
Number of entries found in the cache.- Returns:
- Hits
-
getHitRatio
public java.lang.String getHitRatio()
Hits of the primary work processIt is responsible for the execution of Automation Engine internal tasks and work processes.- Returns:
- Hit ratio in percent
-
getTimeUsed
public java.lang.String getTimeUsed()
Total time consumed by the work processes for calling the cache.- Returns:
- Time
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-