@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class FIFOEntryCacheMonitorEntry extends MonitorEntry
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
MonitorManager.getFIFOEntryCacheMonitorEntries(com.unboundid.ldap.sdk.LDAPConnection)
method. These monitor
entries provide specific methods for accessing information about the FIFO
entry cache. Alternately, this information may be accessed using the generic
API. See the MonitorManager
class documentation for an example that
demonstrates the use of the generic API for accessing monitor data.Constructor and Description |
---|
FIFOEntryCacheMonitorEntry(Entry entry)
Creates a new FIFO entry cache monitor entry from the provided entry.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCacheName()
Retrieves the name of the associated FIFO entry cache.
|
java.lang.String |
getCapacityDetails()
Retrieves a human-readable message about the capacity and utilization of
the entry cache.
|
java.lang.Long |
getCurrentEntryCacheCount()
Retrieves the number of entries currently held in the entry cache.
|
java.lang.Long |
getEntriesAddedOrUpdated()
Retrieves the total number of entries that have been added to or updated
in the cache since it was enabled.
|
java.lang.Long |
getEntriesNotAddedAlreadyPresent()
Retrieves the number of times that an entry was not added to the cache
because it was already present.
|
java.lang.Long |
getEntriesNotAddedDueToEntrySmallness()
Retrieves the number of times that an entry was not added to the cache
because it did not have enough values to be considered for inclusion.
|
java.lang.Long |
getEntriesNotAddedDueToFilter()
Retrieves the number of times that an entry was not added to the cache
because it did not match the filter criteria for including it.
|
java.lang.Long |
getEntriesNotAddedDueToMaxMemory()
Retrieves the number of times that an entry was not added to the cache
because it was already at its maximum memory consumption.
|
java.lang.Long |
getEntryCacheHitRatio()
Retrieves the percentage of the time that a requested entry was
successfully retrieved from the cache.
|
java.lang.Long |
getEntryCacheHits()
Retrieves the number of times that a requested entry was successfully found
in the cache.
|
java.lang.Long |
getEntryCacheTries()
Retrieves the number of times that an attempt was made to retrieve an entry
from the cache.
|
java.lang.Long |
getEvictionsDueToMaxEntries()
Retrieves the maximum number of times that an entry has been evicted from
the cache because it already contained the maximum number of entries.
|
java.lang.Long |
getEvictionsDueToMaxMemory()
Retrieves the number of times that an entry has been evicted from the cache
because the maximum memory consumption had been reached.
|
java.lang.Long |
getJVMMemoryBelowMaxMemoryPercent()
Retrieves the difference between the JVM max memory percent threshold and
the JVM memory current percent full.
|
java.lang.Long |
getJVMMemoryCurrentPercentFull()
Retrieves the percentage of JVM memory that is currently being consumed.
|
java.lang.Long |
getJVMMemoryMaxPercentThreshold()
Retrieves the maximum percent of JVM memory that may be consumed in order
for new entries to be added to the cache.
|
java.lang.Long |
getLowMemoryOccurrences()
Retrieves the number of times that entries had to be evicted from the
cache because the available JVM memory became critically low.
|
java.lang.Long |
getMaxEntryCacheCount()
Retrieves the maximum number of entries that may be held in the entry
cache.
|
java.lang.Long |
getMaxEntryCacheSizeBytes()
Retrieves the maximum amount of memory (in bytes) that the entry cache may
consume.
|
java.util.Map<java.lang.String,MonitorAttribute> |
getMonitorAttributes()
Retrieves the set of parsed monitor attributes for this monitor entry,
mapped from a unique identifier (in all lowercase characters) to the
corresponding monitor attribute.
|
java.lang.String |
getMonitorDescription()
Retrieves a human-readable description name for this monitor entry.
|
java.lang.String |
getMonitorDisplayName()
Retrieves a human-readable display name for this monitor entry.
|
java.lang.Long |
getPercentFullMaxEntries()
Retrieves the percentage of the maximum allowed number of entries that are
currently held in the cache.
|
java.lang.Boolean |
isFull()
Indicates whether the entry cache is currently full, whether due to the
maximum JVM memory consumption or the maximum number of entries allowed in
the cache.
|
addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, decode, getBoolean, getDate, getDN, getDouble, getEntry, getInteger, getLong, getMonitorClass, getMonitorName, getString, getStrings, toString, toString
public FIFOEntryCacheMonitorEntry(@NotNull Entry entry)
entry
- The entry to be parsed as a FIFO entry cache monitor entry.
It must not be null
.@Nullable public java.lang.String getCacheName()
null
if
this was not included in the monitor entry.@Nullable public java.lang.Long getEntryCacheHits()
null
if this was not included in the
monitor entry.@Nullable public java.lang.Long getEntryCacheTries()
null
if this was not included in the
monitor entry.@Nullable public java.lang.Long getEntryCacheHitRatio()
null
if this was not included
in the monitor entry.@Nullable public java.lang.Long getMaxEntryCacheSizeBytes()
null
if this was not included in the monitor
entry.@Nullable public java.lang.Long getCurrentEntryCacheCount()
null
if this was not included in the monitor entry.@Nullable public java.lang.Long getMaxEntryCacheCount()
null
if this was not included in the monitor entry.@Nullable public java.lang.Long getEntriesAddedOrUpdated()
null
if this was not
included in the monitor entry.@Nullable public java.lang.Long getEvictionsDueToMaxMemory()
null
if this was not included in the monitor entry.@Nullable public java.lang.Long getEvictionsDueToMaxEntries()
null
if this was not included in the monitor
entry.@Nullable public java.lang.Long getEntriesNotAddedAlreadyPresent()
null
if this was not
included in the monitor entry.@Nullable public java.lang.Long getEntriesNotAddedDueToMaxMemory()
null
if this was not included in the monitor entry.@Nullable public java.lang.Long getEntriesNotAddedDueToFilter()
null
if this was not included in the monitor entry.@Nullable public java.lang.Long getEntriesNotAddedDueToEntrySmallness()
null
if this was not included in the monitor
entry.@Nullable public java.lang.Long getLowMemoryOccurrences()
null
if this was not included in the monitor entry.@Nullable public java.lang.Long getPercentFullMaxEntries()
null
if this was not
included in the monitor entry.@Nullable public java.lang.Long getJVMMemoryMaxPercentThreshold()
null
if this
was not included in the monitor entry.@Nullable public java.lang.Long getJVMMemoryCurrentPercentFull()
null
if this was not included in the monitor entry.@Nullable public java.lang.Long getJVMMemoryBelowMaxMemoryPercent()
null
if this was
not included in the monitor entry.@Nullable public java.lang.Boolean isFull()
Boolean.TRUE
if the entry cache is currently full,
Boolean.FALSE
if the entry cache is not yet full, or
null
if this was not included in the monitor entry.@Nullable public java.lang.String getCapacityDetails()
null
if this was not included in the
monitor entry.@NotNull public java.lang.String getMonitorDisplayName()
getMonitorDisplayName
in class MonitorEntry
@NotNull public java.lang.String getMonitorDescription()
getMonitorDescription
in class MonitorEntry
@NotNull public java.util.Map<java.lang.String,MonitorAttribute> getMonitorAttributes()
getMonitorAttributes
in class MonitorEntry