Interface RepositoryLogRecordHeader
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
RepositoryLogRecord
The header of an individual record in the HPEL repository.
The RepositoryLogRecord is an extension of the RepositoryLogRecordHeader.
Some RepositoryReader implementations are able to load the
RepositoryLogRecordHeader content without loading the rest of the
RepositoryLogRecord content. This makes filtering based on
RepositoryLogRecordHeader content more efficient than filtering that
requires fields from other parts of the RepositoryLogRecord.
Many of the RepositoryLogRecordHeader's fields are modeled after identically named fields in the java.util.logging.LogRecord class:
getLevel
getMillis
getThreadID
-
Method Summary
Modifier and TypeMethodDescriptiongetLevel()
Returns the message level.long
Returns the time at which this record was created expressed in milliseconds since 1970.Returns an identifier of the position of this record so that the record can be relocated in subsequent queries.int
Returns the ID of the thread on which this request was logged.
-
Method Details
-
getRepositoryPointer
RepositoryPointer getRepositoryPointer()Returns an identifier of the position of this record so that the record can be relocated in subsequent queries.- Returns:
- a location in the repository
-
getMillis
long getMillis()Returns the time at which this record was created expressed in milliseconds since 1970.- Returns:
- the time the record was created.
- See Also:
-
getLevel
Level getLevel()Returns the message level.The level is an indication of the severity of the message.
- Returns:
- the message level.
- See Also:
-
getThreadID
int getThreadID()Returns the ID of the thread on which this request was logged.Note that this ID is based on the java.util.logging representation of the thread ID, and is not equivalent to the operating system representation of the thread ID.
- Returns:
- the thread ID
- See Also:
-