|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.server.protocol.Record
public class Record
The Record contains information for writing via IProtocolWriter.
| Field Summary | |
|---|---|
protected int |
iCount
the count. |
protected long |
lCreation
the creation time in nanos. |
protected long |
lDuration
the end time in nanos (default: -1, means undefined). |
protected long |
lMemoryConsumption
the memory consumption. |
protected long |
lMemoryInitial
the initial memory. |
protected Object[] |
oIdentifier
the identifier. |
protected Object[] |
oParameter
the parameter. |
protected String |
sCommand
the command. |
protected String |
sUUID
the UUID. |
| Constructor Summary | |
|---|---|
Record(IProtocolWriter pWriter,
String pCommand)
Creates a new instance of Record for given writer and command. |
|
Record(String pCommand)
Creates a new instance of Record for given command. |
|
| Method Summary | |
|---|---|
void |
addIdentifier(Object pIdentifier)
Adds an identifier at the end. |
void |
addIdentifier(Object pIdentifier,
int pIndex)
Adds an identifier at the given position. |
void |
close()
Closes the record. |
String |
getCommand()
Gets the command. |
int |
getCount()
Gets the count. |
long |
getCreationTime()
Gets the creation time. |
long |
getDuration()
Gets the duration. |
Object[] |
getIdentifier()
Gets the identifier. |
long |
getMemoryConsumption()
Gets the memory consumption. |
long |
getMemoryInitial()
Gets the initial memory. |
Object[] |
getParameter()
Gets the parameter. |
String |
getUUID()
Gets the Universal Unique Identifier. |
void |
setCount(int pCount)
Sets the count. |
void |
setParameter(Object... pParameter)
Sets the parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String sUUID
protected String sCommand
protected Object[] oIdentifier
protected Object[] oParameter
protected long lCreation
protected long lDuration
protected long lMemoryInitial
protected long lMemoryConsumption
protected int iCount
| Constructor Detail |
|---|
public Record(String pCommand)
Record for given command.
pCommand - the assigned command
public Record(IProtocolWriter pWriter,
String pCommand)
Record for given writer and command.
pWriter - the IProtocolWriterpCommand - the assigned command| Method Detail |
|---|
public String getUUID()
public String getCommand()
public long getCreationTime()
public long getDuration()
public void setParameter(Object... pParameter)
pParameter - the parameterpublic Object[] getParameter()
public void addIdentifier(Object pIdentifier)
pIdentifier - the identifier
public void addIdentifier(Object pIdentifier,
int pIndex)
pIdentifier - the identifierpIndex - the index/positionpublic Object[] getIdentifier()
public void setCount(int pCount)
pCount - the countpublic int getCount()
public long getMemoryInitial()
public long getMemoryConsumption()
public void close()
close in interface ICloseable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||