IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.logging.hpel.reader
Class RemoteInstanceDetails

java.lang.Object
  extended by com.ibm.websphere.logging.hpel.reader.RemoteInstanceDetails
All Implemented Interfaces:
java.io.Serializable

public class RemoteInstanceDetails
extends java.lang.Object
implements java.io.Serializable

Object representing a server instance in a query context. This is the object return in a list from RemoteAllResults and which is used in remote server instance specific queries to specify the instance to be queried.

See Also:
Serialized Form

Constructor Summary
RemoteInstanceDetails(LogQueryBean query, java.util.Date startTime, java.lang.String[] subProcs)
          creates instance with a specified time and query.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 RemoteListCache getCache()
          gets cache for the query result on this instance
 java.lang.String[] getProcPath()
          gets list of keys leading to the child sub-process
 LogQueryBean getQuery()
          gets query used on this instance
 java.util.Date getStartTime()
          gets start time of this instance
 int hashCode()
           
 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

RemoteInstanceDetails

public RemoteInstanceDetails(LogQueryBean query,
                             java.util.Date startTime,
                             java.lang.String[] subProcs)
creates instance with a specified time and query.

Parameters:
query - criteria to use for queries on the instance
startTime - time at which that instance was active
subProcs - list of keys leading to the child sub-process.
Method Detail

getStartTime

public java.util.Date getStartTime()
gets start time of this instance

Returns:
this instance's value of startTime

getProcPath

public java.lang.String[] getProcPath()
gets list of keys leading to the child sub-process

Returns:
this instance's value of subProcs

getQuery

public LogQueryBean getQuery()
gets query used on this instance

Returns:
this instance's value of query

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

IBM WebSphere Application ServerTM
Release 8