public class NIOStatistics extends Object implements SmartExternalizable
| Constructor and Description |
|---|
NIOStatistics() |
NIOStatistics(long timestamp,
long completedTaskCount,
int activeThreadsCount,
int queueSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
getActiveThreadsCount()
Returns the current number of active threads.
|
long |
getCompletedTaskCount()
Returns the total number of completed tasks.
|
int |
getQueueSize()
Returns the current size of the pending tasks within the queue.
|
long |
getTimestamp()
Returns the timestamp when this was created.
|
boolean |
isNA() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenabledSmartExternalizableWithReferencepublic NIOStatistics()
public NIOStatistics(long timestamp,
long completedTaskCount,
int activeThreadsCount,
int queueSize)
public boolean isNA()
public long getTimestamp()
public long getCompletedTaskCount()
public int getActiveThreadsCount()
public int getQueueSize()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © GigaSpaces.