|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerInstanceLogRecordList
A list of log records originating from one process.
Example of intended usage:
An extension for z/OS to start with a controller and get all servants (and merge them) can be seen at
for (ServerInstanceLogRecordList pid: reader.getLogListForCurrentServerInstance()) {
Properties header = pid.getHeader();
<process header>
for (RepositoryLogRecord record: pid) {
<process record>
}
pid.close();
}
MergedRepository
Take special note of the getChildren method on the ServerInstanceLogRecordList
object.
An example of getting all records for the controller and all servants on z/OS could look like this:
for (ServerInstanceLogRecordList pid: reader.getLogListForCurrentServerInstance()) {
Properties header = pid.getHeader();
<process header>
for (RepositoryLogRecord record: pid) { // This PID is the controller
<process controller record>
}
Map
Field Summary | |
---|---|
static java.lang.String |
HEADER_ADDRESSSPACEID
|
static java.lang.String |
HEADER_HOSTADDRESS
|
static java.lang.String |
HEADER_HOSTNAME
|
static java.lang.String |
HEADER_HOSTTYPE
|
static java.lang.String |
HEADER_ISSERVER
|
static java.lang.String |
HEADER_ISTHINCLIENT
|
static java.lang.String |
HEADER_ISZOS
|
static java.lang.String |
HEADER_JOBID
|
static java.lang.String |
HEADER_JOBNAME
|
static java.lang.String |
HEADER_PROCESSID
|
static java.lang.String |
HEADER_PROCESSNAME
|
static java.lang.String |
HEADER_SERVER_LOCALE_COUNTRY
|
static java.lang.String |
HEADER_SERVER_LOCALE_LANGUAGE
|
static java.lang.String |
HEADER_SERVER_NAME
|
static java.lang.String |
HEADER_SERVER_TIMEZONE
|
static java.lang.String |
HEADER_SERVERNAME
|
static java.lang.String |
HEADER_SYSTEMNAME
|
static java.lang.String |
HEADER_TCBADDRESSNAME
|
static java.lang.String |
HEADER_VERBOSE_VERSION
|
static java.lang.String |
HEADER_VERSION
|
Method Summary | |
---|---|
java.util.Map<java.lang.String,ServerInstanceLogRecordList> |
getChildren()
Returns the children for the process of a ServerInstanceLogRecordList. |
java.util.Properties |
getHeader()
Returns the header belonging to records from this process. |
java.util.Date |
getStartTime()
Returns start time of this instance. |
java.lang.Iterable<RepositoryLogRecord> |
range(int offset,
int length)
Returns a subset of records from this query result. |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Field Detail |
---|
static final java.lang.String HEADER_VERSION
static final java.lang.String HEADER_VERBOSE_VERSION
static final java.lang.String HEADER_SERVER_NAME
static final java.lang.String HEADER_PROCESSID
static final java.lang.String HEADER_SERVER_TIMEZONE
static final java.lang.String HEADER_SERVER_LOCALE_LANGUAGE
static final java.lang.String HEADER_SERVER_LOCALE_COUNTRY
static final java.lang.String HEADER_HOSTNAME
static final java.lang.String HEADER_HOSTADDRESS
static final java.lang.String HEADER_HOSTTYPE
static final java.lang.String HEADER_ISZOS
static final java.lang.String HEADER_ISSERVER
static final java.lang.String HEADER_ISTHINCLIENT
static final java.lang.String HEADER_PROCESSNAME
static final java.lang.String HEADER_ADDRESSSPACEID
static final java.lang.String HEADER_JOBID
static final java.lang.String HEADER_JOBNAME
static final java.lang.String HEADER_SYSTEMNAME
static final java.lang.String HEADER_TCBADDRESSNAME
static final java.lang.String HEADER_SERVERNAME
Method Detail |
---|
java.util.Properties getHeader()
java.lang.Iterable<RepositoryLogRecord> range(int offset, int length)
Example of use:
range(offset, length)
returns iterator over the length
records after skipping first offset
records.
range(offset, -1)
returns iterator over the rest of records after skipping first offset
records.
range(-offset, length)
returns iterator over the length
records starting with offset
record before last.
range(0, -1)
returns iterator over all records in the result.
offset
- the number of records to skip from the beginning of the result. A negative
value means to skip -offset
records from the end of the result. Values greater than
#size()
will result in an empty subset being returned.length
- the maximum number of records to include in this subset. A negative value
means that all records starting from the offset
are returned.
java.util.Map<java.lang.String,ServerInstanceLogRecordList> getChildren()
java.util.Date getStartTime()
null
if time can not be obtained.
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |