Package | Description |
---|---|
com.opencloud.sentinel.charging.sessioncounters |
The API for Sentinel Session Counter Charging.
|
Modifier and Type | Method and Description |
---|---|
SessionCounterAddress |
SessionCounter.getAddress()
Gets the name/value pairs which uniquely label this SessionCounter.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<SessionCounterAddress> |
SessionCounters.getAddresses() |
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.
|
java.util.Collection<SessionCounter> |
SessionCounters.getSessionCountersByAddressSubset(SessionCounterAddress addressSubset) |
boolean |
SessionCounterAddress.isSubset(SessionCounterAddress addressSubset)
Determine if an
addressSubset is a
subset of this SessionCounterAddress . |
Copyright © OpenCloud. All Rights Reserved.