Class RemoteInstanceResult
java.lang.Object
com.ibm.websphere.logging.hpel.reader.RemoteInstanceResult
- All Implemented Interfaces:
Serializable
Result of the query on a server instance.
Instance of this class is return from a remote server instance specific queries.
It contains header information for this instance and possibly subset of the full query
result depending on the restrictions implied by the transport over the wire.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteInstanceResult
(Date startTime, Properties header, Set<String> subProcs) creates an empty result for an instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRecord
(RepositoryLogRecord record) adds record to the result set.boolean
getCache()
gets cache for the query result on this instancereturns header information of the instancereturns the set of records in this result.returns the time of the first log record of the instancereturns array of sub-process keys.int
hashCode()
void
setCache
(RemoteListCache cache) sets cache for the query result on this instance
-
Constructor Details
-
RemoteInstanceResult
creates an empty result for an instance.- Parameters:
header
- header information for the queried instancesubProcs
- list of keys in the children map.
-
-
Method Details
-
addRecord
adds record to the result set.- Parameters:
record
- this instance's record satisfying the query criteria
-
getLogList
returns the set of records in this result.- Returns:
- possibly subset of all the records satisfying query criteria in this instance.
-
getStartTime
returns the time of the first log record of the instance- Returns:
- time of the first log record as a Date object
-
getLogHeader
returns header information of the instance- Returns:
- header information as Properties
-
getSubProcs
returns array of sub-process keys.- Returns:
- keys to be used in the map retrieved in
ServerInstanceLogRecordList.getChildren()
call.
-
getCache
gets cache for the query result on this instance- Returns:
- this instance's value of cache
-
setCache
sets cache for the query result on this instance- Parameters:
cache
- new instance's value of cache
-
hashCode
public int hashCode() -
equals
-