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, wait
getOperationStats
readData, writeData
public LocalQueueStatsImpl()
public LocalQueueStatsImpl(int ownedItemCount, int backupItemCount, long minAge, long maxAge, long aveAge)
public int getOwnedItemCount()
LocalQueueStats
getOwnedItemCount
in interface LocalQueueStats
public int getBackupItemCount()
LocalQueueStats
getBackupItemCount
in interface LocalQueueStats
public long getMaxAge()
LocalQueueStats
getMaxAge
in interface LocalQueueStats
public long getMinAge()
LocalQueueStats
getMinAge
in interface LocalQueueStats
public long getAveAge()
LocalQueueStats
getAveAge
in interface LocalQueueStats
public final T getOperationStats()
LocalInstanceStats
getOperationStats
in interface LocalInstanceStats<T extends LocalInstanceOperationStats>
public final void setOperationStats(T operationStats)
public final void writeData(DataOutput out) throws IOException
writeData
in interface DataSerializable
IOException
public final void readData(DataInput in) throws IOException
readData
in interface DataSerializable
IOException
Copyright © 2008-2013 Hazelcast, Inc. All Rights Reserved.