public class GetStatsControl extends AbstractControl implements RequestControl, ResponseControl
SEQUENCE { threadCountTag INTEGER threadCount INTEGER callTimeTag INTEGER callTime INTEGER entriesReturnedTag INTEGER entriesReturned INTEGER entriesVisitedTag INTEGER entriesVisited INTEGER filterTag INTEGER filter OCTET STRING indexTag INTEGER index OCTET STRING pagesReferencedTag INTEGER pagesReferenced INTEGER pagesReadTag INTEGER pagesRead INTEGER pagesPrereadTag INTEGER pagesPreread INTEGER pagesDirtiedTag INTEGER pagesDirtied INTEGER pagesRedirtiedTag INTEGER pagesRedirtied INTEGER logRecordCountTag INTEGER logRecordCount INTEGER logRecordBytesTag INTEGER logRecordBytes INTEGER }
See http://msdn.microsoft.com/en-us/library/cc223350.aspx
Modifier and Type | Class and Description |
---|---|
private static class |
GetStatsControl.IntegerHandler
Parse handler implementation for integer stats.
|
private static class |
GetStatsControl.StringHandler
Parse handler implementation for string stats.
|
Modifier and Type | Field and Description |
---|---|
private static int |
HASH_CODE_SEED
hash code seed.
|
static String |
OID
OID of this control.
|
private Map<String,Object> |
statistics
statistics.
|
logger
Constructor and Description |
---|
GetStatsControl()
Default constructor.
|
GetStatsControl(boolean critical)
Creates a new get stats control.
|
Modifier and Type | Method and Description |
---|---|
void |
decode(byte[] berValue)
Initializes this response control with the supplied BER encoded data.
|
byte[] |
encode()
Provides the BER encoding of this control.
|
boolean |
equals(Object o) |
Map<String,Object> |
getStatistics()
Returns the statistics.
|
int |
hashCode()
Returns the hash code for this object.
|
String |
toString() |
getCriticality, getOID
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCriticality, getOID
public static final String OID
private static final int HASH_CODE_SEED
public GetStatsControl()
public GetStatsControl(boolean critical)
critical
- whether this control is criticalpublic boolean equals(Object o)
equals
in class AbstractControl
public int hashCode()
AbstractControl
hashCode
in class AbstractControl
public byte[] encode()
RequestControl
encode
in interface RequestControl
public void decode(byte[] berValue)
ResponseControl
decode
in interface ResponseControl
berValue
- BER encoded response controlCopyright © 2003-2019 Virginia Tech. All Rights Reserved.