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.SerializableResult 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:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor 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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRecord(RepositoryLogRecord record)adds record to the result set.booleanequals(java.lang.Object obj)RemoteListCachegetCache()gets cache for the query result on this instancejava.util.PropertiesgetLogHeader()returns header information of the instancejava.util.ArrayList<RepositoryLogRecord>getLogList()returns the set of records in this result.java.util.DategetStartTime()returns the time of the first log record of the instancejava.util.Set<java.lang.String>getSubProcs()returns array of sub-process keys.inthashCode()voidsetCache(RemoteListCache cache)sets cache for the query result on this instance
 
- 
- 
- 
Constructor Detail- 
RemoteInstanceResultpublic 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- 
addRecordpublic void addRecord(RepositoryLogRecord record) adds record to the result set.- Parameters:
- record- this instance's record satisfying the query criteria
 
 - 
getLogListpublic 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.
 
 - 
getStartTimepublic 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
 
 - 
getLogHeaderpublic java.util.Properties getLogHeader() returns header information of the instance- Returns:
- header information as Properties
 
 - 
getSubProcspublic 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.
 
 - 
getCachepublic RemoteListCache getCache() gets cache for the query result on this instance- Returns:
- this instance's value of cache
 
 - 
setCachepublic void setCache(RemoteListCache cache) sets cache for the query result on this instance- Parameters:
- cache- new instance's value of cache
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 
- 
 
-