|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEventMultiplexerStats
Defines an event multiplexer's statistics interface.
Nested Class Summary | |
---|---|
static interface |
IEventMultiplexerStats.IFeederQueueStats
|
Nested classes/interfaces inherited from interface com.neeve.stats.IStats |
---|
IStats.Counter, IStats.Gauge, IStats.Latencies, IStats.Series |
Method Summary | |
---|---|
int |
getCapacity()
Gets the multiplexer capacity. |
int |
getCapacityRemaining()
Gets the multiplexer's remaining capacity. |
String |
getClaimStrategy()
Gets the strategy used by enqueuing threads to claim a slot. |
void |
getFeederQueueStats(List<IEventMultiplexerStats.IFeederQueueStats> feederQueueStatsCollector)
Fetched feeder queue stats. |
int |
getLastDecongested()
|
int |
getMaxConcurrency()
|
int |
getNumFeederQueues()
|
IStats.Latencies |
getOfferToPollLatencies()
Get the offer to poll latencies |
int |
getScheduleQueueSize()
|
String |
getWaitStrategy()
Gets the strategy used by dispatching thread(s) to take elements for dispatch. |
Methods inherited from interface com.neeve.stats.IStats |
---|
close, get, getLogger, getName, getType, startPeriodicOutput, stopPeriodicOutput |
Method Detail |
---|
IStats.Latencies getOfferToPollLatencies()
int getCapacity()
The capacity represents the number of events that can be pending dispatch before a newly offered event would block.
int getCapacityRemaining()
The remaining capacity indicates how many slots are left in the multiplexer before newly offered events would block.
String getClaimStrategy()
String getWaitStrategy()
int getNumFeederQueues()
int getMaxConcurrency()
int getLastDecongested()
int getScheduleQueueSize()
void getFeederQueueStats(List<IEventMultiplexerStats.IFeederQueueStats> feederQueueStatsCollector)
A new IEventMultiplexerStats.IFeederQueueStats
will be allocated for each null value in the provided
array, otherwise if the values in the array are non-null then they will be used
populate the feeder stats. If the provided array is smaller in size than the number
of feeder queues for the multiplexer then not all feeder queue stats will be reported.
If the provided array is larger than the number of feeder queue stats then the remaining
entries will have their values cleared. A null value for getOwner indicates that the
result should be ignored.
feederQueueStatsCollector
- An array of IEventMultiplexerStats.IFeederQueueStats
to populate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |