Package | Description |
---|---|
com.opencloud.sentinel.charging.sessioncounters |
The API for Sentinel Session Counter Charging.
|
Modifier and Type | Method and Description |
---|---|
SessionCounter |
SessionCounters.add(SessionCounterAddress address)
Add a new SessionCounter to the SessionCounters instance or if a SessionCounter
already exists for this address return the current SessionCounter.
|
SessionCounter |
SessionCounters.get(SessionCounterAddress address) |
SessionCounter |
SessionCounters.getAggregateSessionCounter(SessionCounterAddress addressSubset)
Aggregate all the values in a set of SessionCounters which have addresses which share all the key/values
in the address provided as an argument.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<SessionCounter> |
SessionCounters.getSessionCounters() |
java.util.Collection<SessionCounter> |
SessionCounters.getSessionCountersByAddressSubset(SessionCounterAddress addressSubset) |
Modifier and Type | Method and Description |
---|---|
void |
SessionCounter.increment(SessionCounter sessionCounter)
Increment all session counter fields based on a
SessionCounter . |
Copyright © OpenCloud. All Rights Reserved.