public class ConnectionStore extends Object
Constructor and Description |
---|
ConnectionStore(org.forgerock.openam.cts.monitoring.impl.connections.ConnectionMonitor successMonitor,
org.forgerock.openam.cts.monitoring.impl.connections.ConnectionMonitor failureMonitor) |
Modifier and Type | Method and Description |
---|---|
void |
addConnection(boolean success)
Increments the counter for a connection.
|
double |
getAverageConnectionsPerPeriod(boolean success)
Returns the average connections made in the customisable period.
|
double |
getConnectionsCumulativeCount(boolean success)
Returns the total number of connections made in the customisable period.
|
double |
getMaximumOperationsPerPeriod(boolean success)
Returns the maximum connections made in the customisable period.
|
double |
getMinimumOperationsPerPeriod(boolean success)
Returns the minimum connections made in the customisable period.
|
@Inject public ConnectionStore(org.forgerock.openam.cts.monitoring.impl.connections.ConnectionMonitor successMonitor, org.forgerock.openam.cts.monitoring.impl.connections.ConnectionMonitor failureMonitor)
public void addConnection(boolean success)
success
- true if the connection attempt was successful, false otherwisepublic double getAverageConnectionsPerPeriod(boolean success)
success
- true if the connection attempt was successful, false otherwisepublic double getMinimumOperationsPerPeriod(boolean success)
success
- true if the connection attempt was successful, false otherwisepublic double getMaximumOperationsPerPeriod(boolean success)
success
- true if the connection attempt was successful, false otherwisepublic double getConnectionsCumulativeCount(boolean success)
success
- true if the connection attempt was successful, false otherwiseCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.