Class RemoteResultCollector
java.lang.Object
com.ibm.websphere.logging.hpel.reader.RemoteResultCollector
Utility class to collect query results into Serializable form convenient for passing
 over the wire.
- 
Constructor SummaryConstructorsConstructorDescriptionRemoteResultCollector(RepositoryReader logReader) constructs collector retrieving results from the provided RepositoryReader implementation.
- 
Method SummaryModifier and TypeMethodDescriptiongetLogListForServerInstance(RemoteInstanceDetails indicator, RepositoryPointer after, int offset, int maxRecords, Locale locale) retrieves records and header for one server instance.getLogLists(LogQueryBean logQueryBean, RepositoryPointer after) retrieves results for all server instances in the repository.
- 
Constructor Details- 
RemoteResultCollectorconstructs collector retrieving results from the provided RepositoryReader implementation.- Parameters:
- logReader- log record source to query for the requested data.
 
 
- 
- 
Method Details- 
getLogListspublic 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.
 
- 
getLogListForServerInstancepublic RemoteInstanceResult getLogListForServerInstance(RemoteInstanceDetails indicator, RepositoryPointer after, int offset, int maxRecords, 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.
 
 
-