com.ibm.websphere.logging.hpel.reader

Interface RepositoryLogRecordHeader

  • All Superinterfaces:
    java.io.Serializable
    All Known Subinterfaces:
    RepositoryLogRecord


    public interface RepositoryLogRecordHeader
    extends java.io.Serializable
    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

      Methods 
      Modifier and Type Method and Description
      java.util.logging.Level getLevel()
      Returns the message level.
      long getMillis()
      Returns the time at which this record was created expressed in milliseconds since 1970.
      RepositoryPointer getRepositoryPointer()
      Returns an identifier of the position of this record so that the record can be relocated in subsequent queries.
      int getThreadID()
      Returns the ID of the thread on which this request was logged.
    • Method Detail

      • 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:
        LogRecord.getMillis()
      • getLevel

        java.util.logging.Level getLevel()
        Returns the message level.

        The level is an indication of the severity of the message.

        Returns:
        the message level.
        See Also:
        LogRecord.getLevel()
      • 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:
        LogRecord.getThreadID()
IBM WebSphere Application ServerTM
Release 8.5