public class LocalQueueStatsImpl extends Object implements LocalQueueStats, DataSerializable
| Constructor and Description |
|---|
LocalQueueStatsImpl() |
LocalQueueStatsImpl(int ownedItemCount,
int backupItemCount,
long minAge,
long maxAge,
long aveAge) |
| Modifier and Type | Method and Description |
|---|---|
long |
getAveAge()
Returns the average age of the items in this member.
|
int |
getBackupItemCount()
Returns the number of backup items in this member.
|
long |
getMaxAge()
Returns the max age of the items in this member.
|
long |
getMinAge()
Returns the min age of the items in this member.
|
T |
getOperationStats()
Returns the operation stats for this member.
|
int |
getOwnedItemCount()
Returns the number of owned items in this member.
|
void |
readData(DataInput in) |
void |
setOperationStats(T operationStats) |
String |
toString() |
void |
writeData(DataOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOperationStatsreadData, writeDatapublic LocalQueueStatsImpl()
public LocalQueueStatsImpl(int ownedItemCount,
int backupItemCount,
long minAge,
long maxAge,
long aveAge)
public int getOwnedItemCount()
LocalQueueStatsgetOwnedItemCount in interface LocalQueueStatspublic int getBackupItemCount()
LocalQueueStatsgetBackupItemCount in interface LocalQueueStatspublic long getMaxAge()
LocalQueueStatsgetMaxAge in interface LocalQueueStatspublic long getMinAge()
LocalQueueStatsgetMinAge in interface LocalQueueStatspublic long getAveAge()
LocalQueueStatsgetAveAge in interface LocalQueueStatspublic final T getOperationStats()
LocalInstanceStatsgetOperationStats in interface LocalInstanceStats<T extends LocalInstanceOperationStats>public final void setOperationStats(T operationStats)
public final void writeData(DataOutput out) throws IOException
writeData in interface DataSerializableIOExceptionpublic final void readData(DataInput in) throws IOException
readData in interface DataSerializableIOExceptionCopyright © 2008-2013 Hazelcast, Inc. All Rights Reserved.