public class LocalQueueStatsImpl extends Object implements LocalQueueStats
STAT_NOT_AVAILABLE| Constructor and Description |
|---|
LocalQueueStatsImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(com.eclipsesource.json.JsonObject json) |
long |
getAvgAge()
Returns the average age of the items in this member.
|
long |
getBackupItemCount()
Returns the number of backup items in this member.
|
long |
getCreationTime() |
long |
getEmptyPollOperationCount()
Returns number of null returning poll operations.
|
long |
getEventOperationCount()
Returns number of event operations
|
long |
getMaxAge()
Returns the maximum age of the items in this member.
|
long |
getMinAge()
Returns the minimum age of the items in this member.
|
long |
getOfferOperationCount()
Returns the number of offer/put/add operations.
|
long |
getOtherOperationsCount()
Returns number of other operations
|
long |
getOwnedItemCount()
Returns the number of owned items in this member.
|
long |
getPollOperationCount()
Returns the number of poll/take/remove operations.
|
long |
getRejectedOfferOperationCount()
Returns the number of rejected offers.
|
void |
incrementEmptyPolls() |
void |
incrementOffers() |
void |
incrementOtherOperations() |
void |
incrementPolls() |
void |
incrementReceivedEvents() |
void |
incrementRejectedOffers() |
void |
setAveAge(long aveAge) |
void |
setBackupItemCount(int backupItemCount) |
void |
setMaxAge(long maxAge) |
void |
setMinAge(long minAge) |
void |
setOwnedItemCount(int ownedItemCount) |
com.eclipsesource.json.JsonObject |
toJson() |
String |
toString() |
long |
total() |
public long getMinAge()
LocalQueueStatsgetMinAge in interface LocalQueueStatspublic void setMinAge(long minAge)
public long getMaxAge()
LocalQueueStatsgetMaxAge in interface LocalQueueStatspublic void setMaxAge(long maxAge)
public long getAvgAge()
LocalQueueStatsgetAvgAge in interface LocalQueueStatspublic void setAveAge(long aveAge)
public long getOwnedItemCount()
LocalQueueStatsgetOwnedItemCount in interface LocalQueueStatspublic void setOwnedItemCount(int ownedItemCount)
public long getBackupItemCount()
LocalQueueStatsgetBackupItemCount in interface LocalQueueStatspublic void setBackupItemCount(int backupItemCount)
public long getCreationTime()
getCreationTime in interface LocalInstanceStatspublic long total()
public long getOfferOperationCount()
LocalQueueStatsgetOfferOperationCount in interface LocalQueueStatspublic long getRejectedOfferOperationCount()
LocalQueueStatsgetRejectedOfferOperationCount in interface LocalQueueStatspublic long getPollOperationCount()
LocalQueueStatsgetPollOperationCount in interface LocalQueueStatspublic long getEmptyPollOperationCount()
LocalQueueStatsgetEmptyPollOperationCount in interface LocalQueueStatspublic long getOtherOperationsCount()
LocalQueueStatsgetOtherOperationsCount in interface LocalQueueStatspublic void incrementOtherOperations()
public void incrementOffers()
public void incrementRejectedOffers()
public void incrementPolls()
public void incrementEmptyPolls()
public void incrementReceivedEvents()
public long getEventOperationCount()
LocalQueueStatsgetEventOperationCount in interface LocalQueueStatspublic com.eclipsesource.json.JsonObject toJson()
toJson in interface JsonSerializablepublic void fromJson(com.eclipsesource.json.JsonObject json)
fromJson in interface JsonSerializableCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.