com.ibm.websphere.logging.hpel.reader

Class RemoteResultCollector

  • java.lang.Object
    • com.ibm.websphere.logging.hpel.reader.RemoteResultCollector


  • public class RemoteResultCollector
    extends java.lang.Object
    Utility class to collect query results into Serializable form convenient for passing over the wire.
    • Constructor Detail

      • RemoteResultCollector

        public RemoteResultCollector(RepositoryReader logReader)
        constructs collector retrieving results from the provided RepositoryReader implementation.
        Parameters:
        logReader - log record source to query for the requested data.
    • Method Detail

      • getLogLists

        public RemoteAllResults getLogLists(LogQueryBean logQueryBean,
                                   RepositoryPointer after)
                                     throws LogRepositoryException
        retrieves results for all server instances in the repository.
        Parameters:
        logQueryBean - query indicator
        after - starting location of instances to be return.
        Returns:
        Set of all server instances satisfying the query request.
        Throws:
        LogRepositoryException - indicating that an error occurred while reading list of instances from the server.
      • getLogListForServerInstance

        public RemoteInstanceResult getLogListForServerInstance(RemoteInstanceDetails indicator,
                                                       RepositoryPointer after,
                                                       int offset,
                                                       int maxRecords,
                                                       java.util.Locale locale)
                                                         throws LogRepositoryException
        retrieves records and header for one server instance.
        Parameters:
        indicator - server instance identifier.
        after - starting location after which records are return.
        offset - number of records to skip.
        maxRecords - maximum number of records to return.
        locale - language into which record messages are translated.
        Returns:
        Set of instance log records satisfying the original query request.
        Throws:
        LogRepositoryException - indicating that an error occurred while reading records from the server.
IBM WebSphere Application ServerTM
Release 9.0