com.ibm.websphere.logging.hpel.reader

Class RemoteInstanceResult

  1. java.lang.Object
  2. extended bycom.ibm.websphere.logging.hpel.reader.RemoteInstanceResult
All implemented interfaces:
java.io.Serializable

  1. public class RemoteInstanceResult
  2. extends java.lang.Object
  3. implements java.io.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:
Serialized Form

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
  1. void
addRecord(RepositoryLogRecord record)
adds record to the result set.
  1. boolean
equals(java.lang.Object obj)
  1. RemoteListCache
getCache()
gets cache for the query result on this instance
  1. java.util.Properties
getLogHeader()
returns header information of the instance
  1. java.util.ArrayList<RepositoryLogRecord>
getLogList()
returns the set of records in this result.
  1. java.util.Date
getStartTime()
returns the time of the first log record of the instance
  1. java.util.Set<java.lang.String>
getSubProcs()
returns array of sub-process keys.
  1. int
hashCode()
  1. void
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

  1. public RemoteInstanceResult(java.util.Date startTime,
  2. java.util.Properties header,
  3. 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

  1. public void addRecord(RepositoryLogRecord record)
adds record to the result set.
Parameters:
record - this instance's record satisfying the query criteria

getLogList

  1. 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

  1. 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

  1. public java.util.Properties getLogHeader( )
returns header information of the instance
Returns:
header information as Properties

getSubProcs

  1. 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

  1. public RemoteListCache getCache( )
gets cache for the query result on this instance
Returns:
this instance's value of cache

setCache

  1. public void setCache(RemoteListCache cache)
sets cache for the query result on this instance
Parameters:
cache - new instance's value of cache

hashCode

  1. public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

  1. public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object