Uses of Interface
com.opencloud.sentinel.charging.sessioncounters.SessionCounter
-
Packages that use SessionCounter Package Description com.opencloud.sentinel.charging.sessioncounters The API for Sentinel Session Counter Charging. -
-
Uses of SessionCounter in com.opencloud.sentinel.charging.sessioncounters
Methods in com.opencloud.sentinel.charging.sessioncounters that return SessionCounter Modifier and Type Method 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.Methods in com.opencloud.sentinel.charging.sessioncounters that return types with arguments of type SessionCounter Modifier and Type Method Description java.util.Collection<SessionCounter>
SessionCounters. getSessionCounters()
java.util.Collection<SessionCounter>
SessionCounters. getSessionCountersByAddressSubset(SessionCounterAddress addressSubset)
Methods in com.opencloud.sentinel.charging.sessioncounters with parameters of type SessionCounter Modifier and Type Method Description void
SessionCounter. increment(SessionCounter sessionCounter)
Increment all session counter fields based on aSessionCounter
.
-