com.ibm.websphere.logging.hpel.reader
Class RemoteInstanceResult
- java.lang.Object
com.ibm.websphere.logging.hpel.reader.RemoteInstanceResult
All implemented interfaces:
java.io.Serializable
- public class RemoteInstanceResult
- extends java.lang.Object
- implements java.io.Serializable
See Also:
Constructor Summary
Constructor and Description |
---|
RemoteInstanceResult(java.util.Date startTime,java.util.Properties header,java.util.Set<java.lang.String> subProcs)
creates an empty result for an instance.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
addRecord(RepositoryLogRecord record)
adds record to the result set.
|
|
equals(java.lang.Object obj)
|
getCache()
gets cache for the query result on this instance
|
|
|
getLogHeader()
returns header information of the instance
|
|
getLogList()
returns the set of records in this result.
|
|
getStartTime()
returns the time of the first log record of the instance
|
|
getSubProcs()
returns array of sub-process keys.
|
|
hashCode()
|
|
setCache(RemoteListCache cache)
sets cache for the query result on this instance
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
RemoteInstanceResult
- public RemoteInstanceResult(java.util.Date startTime,
- java.util.Properties header,
- java.util.Set<java.lang.String> subProcs)
creates an empty result for an instance.
Parameters:
header
- header information for the queried instance subProcs
- list of keys in the children map. Method Detail
addRecord
- public void addRecord(RepositoryLogRecord record)
adds record to the result set.
Parameters:
record
- this instance's record satisfying the query criteria getLogList
- public java.util.ArrayList<RepositoryLogRecord> getLogList( )
returns the set of records in this result.
Returns:
possibly subset of all the records satisfying query criteria in this instance.
getStartTime
- public java.util.Date getStartTime( )
returns the time of the first log record of the instance
Returns:
time of the first log record as a Date object
getLogHeader
- public java.util.Properties getLogHeader( )
returns header information of the instance
Returns:
header information as Properties
getSubProcs
- public java.util.Set<java.lang.String> getSubProcs( )
returns array of sub-process keys.
Returns:
keys to be used in the map retrieved in
ServerInstanceLogRecordList.getChildren()
call. getCache
- public RemoteListCache getCache( )
gets cache for the query result on this instance
Returns:
this instance's value of cache
setCache
- public void setCache(RemoteListCache cache)
sets cache for the query result on this instance
Parameters:
cache
- new instance's value of cache hashCode
- public int hashCode()
Overrides:
hashCode
in class java.lang.Object
equals
- public boolean equals(java.lang.Object obj)
Overrides:
equals
in class java.lang.Object