Package com.uc4.api.systemoverview
Class CacheListItem
java.lang.Object
com.uc4.api.systemoverview.CacheListItem
One row of the cache list.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getCalls()
Number of input buffer calls.int
Currently used cache size.Hits of the primary work processIt is responsible for the execution of Automation Engine internal tasks and work processes.int
getHits()
Number of entries found in the cache.int
getItems()
Number of all cache entries.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.int
Deprecated.please use getThresholdValueLong() with long return valuelong
Limit for the cache's memory release.Total time consumed by the work processes for calling the cache.boolean
isActive()
If the cache is active.toString()
-
Constructor Details
-
CacheListItem
Constructs aCacheListItem
from a XML element.- Parameters:
row
- Element
-
-
Method Details
-
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.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
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
Total time consumed by the work processes for calling the cache.- Returns:
- Time
-
toString
-