@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class IndexMonitorEntry 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.getIndexMonitorEntries(com.unboundid.ldap.sdk.LDAPConnection) method.
Specific methods are available for accessing the associated monitor data
(e.g., getBackendID() to retrieve the backend ID),
and there are also methods for accessing this information in a generic manner
(e.g., getMonitorAttributes() to retrieve all of
the monitor attributes). See the MonitorManager class documentation
for an example that demonstrates the use of the generic API for accessing
monitor data.| Constructor and Description |
|---|
IndexMonitorEntry(Entry entry)
Creates a new index monitor entry from the provided entry.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
fullyPrimedWhenBroughtOnline()
Indicates whether this index was fully primed when it was brought online.
|
java.lang.String |
getAttributeIndexType()
Retrieves the name of the attribute index type.
|
java.lang.String |
getAttributeType()
Retrieves the name of the attribute type with which the index is
associated.
|
java.lang.String |
getBackendID()
Retrieves the backend ID for the associated backend.
|
java.lang.String |
getBaseDN()
Retrieves the base DN for the data with which the index is associated.
|
java.lang.Long |
getCursorsCreatedSinceComingOnline()
Retrieves the number of cursors created in the index for reading ranges of
keys.
|
java.lang.Long |
getEntryLimitExceededCountSinceComingOnline()
Retrieves the number of index keys which have stopped being maintained
because the number of matching entries has exceeded the entry limit since
the index was brought online.
|
java.lang.Long |
getFilterInitiatedReadsSinceComingOnline()
Retrieves the number of index reads that have been initiated because the
associated attribute type was included in the filter for a search operation
with a non-base scope since the index was brought online.
|
java.lang.Long |
getIndexEntryLimit()
Retrieves the index entry limit, which is the maximum number of entries
that will be allowed to match a key before the ID list for that key will
stop being maintained.
|
java.lang.String |
getIndexFilter()
Retrieves the filter used for the index.
|
java.lang.String |
getIndexName()
Retrieves the name of the index database.
|
java.lang.Long |
getKeysDeletedSinceComingOnline()
Retrieves the number of index keys that have been deleted since the index
was brought online.
|
java.lang.Long |
getKeysPrimedWhenBroughtOnline()
Retrieves the number of index keys that were primed when the index was
brought online.
|
java.lang.Long |
getKeysReadSinceComingOnline()
Retrieves the number of index keys that have been read since the index was
brought online.
|
java.lang.Long |
getKeysWrittenSinceComingOnline()
Retrieves the number of index keys that have been inserted or replaced
since the index was brought online.
|
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.String |
getPrimeException()
Retrieves information about any exception caught during prime processing.
|
java.lang.String |
getPrimeIncompleteReason()
Retrieves information about the reason that the index was not fully primed
when the backend was brought online (e.g., the database cache became full,
the prime took too long to complete, or an exception was caught during
processing).
|
java.lang.Long |
getUniqueKeysNearEntryLimitAccessedBySearchSinceComingOnline()
Retrieves the number of unique index keys near (typically, within 80% of)
the index entry limit that have been accessed by search operations since
the index was brought online.
|
java.lang.Long |
getUniqueKeysNearEntryLimitAccessedByWriteSinceComingOnline()
Retrieves the number of unique index keys near (typically, within 80% of)
the index entry limit that have been accessed by add, delete, modify, or
modify DN operations since the index was brought online.
|
java.lang.Long |
getUniqueKeysOverEntryLimitAccessedBySearchSinceComingOnline()
Retrieves the number of unique index keys over the index entry limit that
have been accessed by search operations since the index was brought online.
|
java.lang.Long |
getUniqueKeysOverEntryLimitAccessedByWriteSinceComingOnline()
Retrieves the number of unique index keys over the index entry limit that
have been accessed by add, delete, modify, or modify DN operations since
the index was brought online.
|
java.lang.Boolean |
isIndexTrusted()
Indicates whether the index may be considered trusted.
|
java.lang.Boolean |
maintainCountForExceededKeys()
Indicates whether the count of matching entries will be maintained for
index keys that have exceeded the entry limit.
|
addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, decode, getBoolean, getDate, getDN, getDouble, getEntry, getInteger, getLong, getMonitorClass, getMonitorName, getString, getStrings, toString, toStringpublic IndexMonitorEntry(@NotNull Entry entry)
entry - The entry to be parsed as an index monitor entry. It must
not be null.@Nullable public java.lang.String getIndexName()
null if it was not
included in the monitor entry.@Nullable public java.lang.String getBackendID()
null if it
was not included in the monitor entry.@Nullable public java.lang.String getBaseDN()
null if it was not included in the monitor entry.@Nullable public java.lang.String getAttributeType()
null if it was not included in the monitor entry.@Nullable public java.lang.String getAttributeIndexType()
null if it was
not included in the monitor entry.@Nullable public java.lang.String getIndexFilter()
null if it was not
included in the monitor entry.@Nullable public java.lang.Boolean isIndexTrusted()
true if the index may be considered trusted,
false if it is not trusted, or null if it was not
included in the monitor entry.@Nullable public java.lang.Long getIndexEntryLimit()
null if was not included in the
monitor entry.@Nullable public java.lang.Long getEntryLimitExceededCountSinceComingOnline()
null if it was not
included in the monitor entry.@Nullable public java.lang.Long getUniqueKeysNearEntryLimitAccessedBySearchSinceComingOnline()
null if it was not included in the
entry.@Nullable public java.lang.Long getUniqueKeysOverEntryLimitAccessedBySearchSinceComingOnline()
null if it was not included in the
entry.@Nullable public java.lang.Long getUniqueKeysNearEntryLimitAccessedByWriteSinceComingOnline()
null if it was not included in the
entry.@Nullable public java.lang.Long getUniqueKeysOverEntryLimitAccessedByWriteSinceComingOnline()
null if it was not included in the
entry.@Nullable public java.lang.Boolean maintainCountForExceededKeys()
true if the count of matching entries will be maintained
for index keys that have exceeded the entry limit, false
if not, or null if it was not included in the monitor
entry.@Nullable public java.lang.Boolean fullyPrimedWhenBroughtOnline()
true if the index was fully primed when it was brought
online, false if not, or null if it was not
included in the monitor entry.@Nullable public java.lang.String getPrimeIncompleteReason()
null if it was not
included in the monitor entry.@Nullable public java.lang.String getPrimeException()
null if it was not included in the monitor entry.@Nullable public java.lang.Long getKeysPrimedWhenBroughtOnline()
null if it was not included in the
monitor entry.@Nullable public java.lang.Long getKeysWrittenSinceComingOnline()
null if it was not
included in the monitor entry.@Nullable public java.lang.Long getKeysDeletedSinceComingOnline()
null if it was not included in the
monitor entry.@Nullable public java.lang.Long getKeysReadSinceComingOnline()
null if it was not included in the
monitor entry.@Nullable public java.lang.Long getFilterInitiatedReadsSinceComingOnline()
null if it was not included in the
monitor entry.@Nullable public java.lang.Long getCursorsCreatedSinceComingOnline()
null if it 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