public class RemoteInstanceResult
extends java.lang.Object
implements java.io.Serializable
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.
|
Modifier and Type | Method and Description |
---|---|
void |
addRecord(RepositoryLogRecord record)
adds record to the result set.
|
boolean |
equals(java.lang.Object obj) |
RemoteListCache |
getCache()
gets cache for the query result on this instance
|
java.util.Properties |
getLogHeader()
returns header information of the instance
|
java.util.ArrayList<RepositoryLogRecord> |
getLogList()
returns the set of records in this result.
|
java.util.Date |
getStartTime()
returns the time of the first log record of the instance
|
java.util.Set<java.lang.String> |
getSubProcs()
returns array of sub-process keys.
|
int |
hashCode() |
void |
setCache(RemoteListCache cache)
sets cache for the query result on this instance
|
public RemoteInstanceResult(java.util.Date startTime, java.util.Properties header, java.util.Set<java.lang.String> subProcs)
header
- header information for the queried instancesubProcs
- list of keys in the children map.public void addRecord(RepositoryLogRecord record)
record
- this instance's record satisfying the query criteriapublic java.util.ArrayList<RepositoryLogRecord> getLogList()
public java.util.Date getStartTime()
public java.util.Properties getLogHeader()
public java.util.Set<java.lang.String> getSubProcs()
ServerInstanceLogRecordList.getChildren()
call.public RemoteListCache getCache()
public void setCache(RemoteListCache cache)
cache
- new instance's value of cachepublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object