public class NIOStatistics extends Object implements Externalizable
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) |
public 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 Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.