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()
LocalQueueStats
getMinAge
in interface LocalQueueStats
public void setMinAge(long minAge)
public long getMaxAge()
LocalQueueStats
getMaxAge
in interface LocalQueueStats
public void setMaxAge(long maxAge)
public long getAvgAge()
LocalQueueStats
getAvgAge
in interface LocalQueueStats
public void setAveAge(long aveAge)
public long getOwnedItemCount()
LocalQueueStats
getOwnedItemCount
in interface LocalQueueStats
public void setOwnedItemCount(int ownedItemCount)
public long getBackupItemCount()
LocalQueueStats
getBackupItemCount
in interface LocalQueueStats
public void setBackupItemCount(int backupItemCount)
public long getCreationTime()
getCreationTime
in interface LocalInstanceStats
public long total()
public long getOfferOperationCount()
LocalQueueStats
getOfferOperationCount
in interface LocalQueueStats
public long getRejectedOfferOperationCount()
LocalQueueStats
getRejectedOfferOperationCount
in interface LocalQueueStats
public long getPollOperationCount()
LocalQueueStats
getPollOperationCount
in interface LocalQueueStats
public long getEmptyPollOperationCount()
LocalQueueStats
getEmptyPollOperationCount
in interface LocalQueueStats
public long getOtherOperationsCount()
LocalQueueStats
getOtherOperationsCount
in interface LocalQueueStats
public void incrementOtherOperations()
public void incrementOffers()
public void incrementRejectedOffers()
public void incrementPolls()
public void incrementEmptyPolls()
public void incrementReceivedEvents()
public long getEventOperationCount()
LocalQueueStats
getEventOperationCount
in interface LocalQueueStats
public com.eclipsesource.json.JsonObject toJson()
toJson
in interface JsonSerializable
public void fromJson(com.eclipsesource.json.JsonObject json)
fromJson
in interface JsonSerializable
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.