com.connecterra.alepc.api
Interface EPCCacheReport


public interface EPCCacheReport

Report issued to indicate that an EPC cache has reached a low-level reporting threshold.

A low cache notification is issued when:


Method Summary
 java.lang.String getApplicationData()
          Gets the application data string provided in the EPCCacheSpec.
 EPCPatterns getCacheContent()
          Describes the remaining content of the EPC cache.
 java.lang.String getCacheName()
          Returns the name of the reporting EPC cache.
 long getCacheSize()
          Indicates how many EPC cache entries remain.
 long getDate()
          Gets the time the report was generated.
 java.lang.String getSavantID()
          Gets an identifier for the edge server which generated this report.
 long getThreshold()
          Indicates the low-cache reporting threshold defined for the EPCCacheSpec.
 

Method Detail

getDate

public long getDate()
Gets the time the report was generated.

Returns:
A time in milliseconds, as returned from System.currentTimeMillis()

getSavantID

public java.lang.String getSavantID()
Gets an identifier for the edge server which generated this report.


getCacheName

public java.lang.String getCacheName()
Returns the name of the reporting EPC cache.


getApplicationData

public java.lang.String getApplicationData()
Gets the application data string provided in the EPCCacheSpec.


getCacheSize

public long getCacheSize()
Indicates how many EPC cache entries remain.


getCacheContent

public EPCPatterns getCacheContent()
Describes the remaining content of the EPC cache.

Returns:
A EPCPatterns instance, or null if the EPCCacheSpec is configured to omit this information.

getThreshold

public long getThreshold()
Indicates the low-cache reporting threshold defined for the EPCCacheSpec.