Class CacheListItem

java.lang.Object
com.uc4.api.systemoverview.CacheListItem

public class CacheListItem extends Object
One row of the cache list.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a CacheListItem from a XML element.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    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
    Number of entries found in the cache.
    int
    Number of all cache entries.
    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 value
    long
    Limit for the cache's memory release.
    Total time consumed by the work processes for calling the cache.
    boolean
    If the cache is active.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CacheListItem

      public CacheListItem(Element row)
      Constructs a CacheListItem from a XML element.
      Parameters:
      row - Element
  • Method Details

    • getName

      public 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 value
      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
    • 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 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 String getTimeUsed()
      Total time consumed by the work processes for calling the cache.
      Returns:
      Time
    • toString

      public String toString()
      Overrides:
      toString in class Object