Searched refs:SessionMonitorType (Results 1 - 22 of 22) sorted by relevance

/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/monitoring/
H A DSessionMonitorType.java23 public enum SessionMonitorType { enum
H A DSessionMonitoringStore.java36 private final ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore> refreshStore;
37 private final ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore> propertyStore;
38 private final ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore> destroyStore;
39 private final ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore> logoutStore;
60 this.refreshStore = new ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore>();
61 this.propertyStore= new ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore>();
62 this.destroyStore= new ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore>();
63 this.logoutStore= new ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore>();
78 ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore> refreshStore,
79 ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStor
[all...]
H A DMonitoredOperations.java26 * inserts that into an appropriate monitoring store. Uses a {@link SessionMonitorType} to inform
32 private final SessionMonitorType monitorType;
37 * Sets up an appropriate {@link SessionOperations}, linking it to its {@link SessionMonitorType} and
44 public MonitoredOperations(SessionOperations sessionOperations, SessionMonitorType monitorType,
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/monitoring/
H A DSessionMonitorType.java23 public enum SessionMonitorType { enum
H A DSessionMonitoringStore.java36 private final ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore> refreshStore;
37 private final ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore> propertyStore;
38 private final ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore> destroyStore;
39 private final ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore> logoutStore;
60 this.refreshStore = new ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore>();
61 this.propertyStore= new ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore>();
62 this.destroyStore= new ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore>();
63 this.logoutStore= new ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore>();
78 ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore> refreshStore,
79 ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStor
[all...]
H A DMonitoredOperations.java35 * inserts that into an appropriate monitoring store. Uses a {@link SessionMonitorType} to inform
41 private final SessionMonitorType monitorType;
46 * Sets up an appropriate {@link SessionOperations}, linking it to its {@link SessionMonitorType} and
53 public MonitoredOperations(SessionOperations sessionOperations, SessionMonitorType monitorType,
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/monitoring/session/
H A DStatelessSessionsImpl.java19 import com.iplanet.dpro.session.monitoring.SessionMonitorType;
40 return monitoringStore.getAverageSetPropertyTime(SessionMonitorType.STATELESS);
48 return monitoringStore.getAverageDestroyTime(SessionMonitorType.STATELESS);
56 return monitoringStore.getAverageLogoutTime(SessionMonitorType.STATELESS);
64 return monitoringStore.getAverageRefreshTime(SessionMonitorType.STATELESS);
H A DCtsSessionsImpl.java19 import com.iplanet.dpro.session.monitoring.SessionMonitorType;
56 return monitorStore.getAverageSetPropertyTime(SessionMonitorType.CTS);
63 return monitorStore.getAverageDestroyTime(SessionMonitorType.CTS);
70 return monitorStore.getAverageLogoutTime(SessionMonitorType.CTS);
77 return monitorStore.getAverageRefreshTime(SessionMonitorType.CTS);
H A DInternalSessionsImpl.java19 import com.iplanet.dpro.session.monitoring.SessionMonitorType;
41 return monitorStore.getAverageSetPropertyTime(SessionMonitorType.LOCAL);
48 return monitorStore.getAverageDestroyTime(SessionMonitorType.LOCAL);
55 return monitorStore.getAverageLogoutTime(SessionMonitorType.LOCAL);
62 return monitorStore.getAverageRefreshTime(SessionMonitorType.LOCAL);
H A DRemoteSessionsImpl.java19 import com.iplanet.dpro.session.monitoring.SessionMonitorType;
41 return monitorStore.getAverageSetPropertyTime(SessionMonitorType.REMOTE);
48 return monitorStore.getAverageDestroyTime(SessionMonitorType.REMOTE);
55 return monitorStore.getAverageLogoutTime(SessionMonitorType.REMOTE);
62 return monitorStore.getAverageRefreshTime(SessionMonitorType.REMOTE);
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/monitoring/session/
H A DRemoteSessionsImpl.java18 import com.iplanet.dpro.session.monitoring.SessionMonitorType;
39 return monitorStore.getAverageSetPropertyTime(SessionMonitorType.REMOTE);
46 return monitorStore.getAverageDestroyTime(SessionMonitorType.REMOTE);
53 return monitorStore.getAverageLogoutTime(SessionMonitorType.REMOTE);
60 return monitorStore.getAverageRefreshTime(SessionMonitorType.REMOTE);
H A DStatelessSessionsImpl.java19 import com.iplanet.dpro.session.monitoring.SessionMonitorType;
40 return monitoringStore.getAverageSetPropertyTime(SessionMonitorType.STATELESS);
48 return monitoringStore.getAverageDestroyTime(SessionMonitorType.STATELESS);
56 return monitoringStore.getAverageLogoutTime(SessionMonitorType.STATELESS);
64 return monitoringStore.getAverageRefreshTime(SessionMonitorType.STATELESS);
H A DCtsSessionsImpl.java19 import com.iplanet.dpro.session.monitoring.SessionMonitorType;
56 return monitorStore.getAverageSetPropertyTime(SessionMonitorType.CTS);
63 return monitorStore.getAverageDestroyTime(SessionMonitorType.CTS);
70 return monitorStore.getAverageLogoutTime(SessionMonitorType.CTS);
77 return monitorStore.getAverageRefreshTime(SessionMonitorType.CTS);
H A DInternalSessionsImpl.java21 import com.iplanet.dpro.session.monitoring.SessionMonitorType;
42 return monitorStore.getAverageSetPropertyTime(SessionMonitorType.LOCAL);
49 return monitorStore.getAverageDestroyTime(SessionMonitorType.LOCAL);
56 return monitorStore.getAverageLogoutTime(SessionMonitorType.LOCAL);
63 return monitorStore.getAverageRefreshTime(SessionMonitorType.LOCAL);
/forgerock/openam-v13/openam-core/src/test/java/com/iplanet/dpro/session/monitoring/
H A DSessionMonitoringStoreTest.java53 SessionMonitorType type = SessionMonitorType.LOCAL;
72 SessionMonitorType type = SessionMonitorType.LOCAL;
91 SessionMonitorType type = SessionMonitorType.LOCAL;
110 SessionMonitorType type = SessionMonitorType.LOCAL;
129 SessionMonitorType type = SessionMonitorType
[all...]
H A DMonitoredOperationsTest.java38 private SessionMonitorType type;
44 type = SessionMonitorType.LOCAL;
61 verify(mockStore).storeRefreshTime(anyLong(), any(SessionMonitorType.class));
76 verify(mockStore).storeDestroyTime(anyLong(), any(SessionMonitorType.class));
90 verify(mockStore).storeLogoutTime(anyLong(), any(SessionMonitorType.class));
106 verify(mockStore).storeSetPropertyTime(anyLong(), any(SessionMonitorType.class));
/forgerock/openam/openam-core/src/test/java/com/iplanet/dpro/session/monitoring/
H A DSessionMonitoringStoreTest.java53 SessionMonitorType type = SessionMonitorType.LOCAL;
72 SessionMonitorType type = SessionMonitorType.LOCAL;
91 SessionMonitorType type = SessionMonitorType.LOCAL;
110 SessionMonitorType type = SessionMonitorType.LOCAL;
129 SessionMonitorType type = SessionMonitorType
[all...]
H A DMonitoredOperationsTest.java38 private SessionMonitorType type;
44 type = SessionMonitorType.LOCAL;
61 verify(mockStore).storeRefreshTime(anyLong(), any(SessionMonitorType.class));
76 verify(mockStore).storeDestroyTime(anyLong(), any(SessionMonitorType.class));
90 verify(mockStore).storeLogoutTime(anyLong(), any(SessionMonitorType.class));
106 verify(mockStore).storeSetPropertyTime(anyLong(), any(SessionMonitorType.class));
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/operations/
H A DServerSessionOperationStrategy.java27 import com.iplanet.dpro.session.monitoring.SessionMonitorType;
100 return logAndWrap(sessionID, stateless, SessionMonitorType.STATELESS);
103 return logAndWrap(sessionID, local, SessionMonitorType.LOCAL);
117 private SessionOperations logAndWrap(SessionID sessionID, SessionOperations op, SessionMonitorType type) {
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/operations/
H A DServerSessionOperationStrategy.java22 import com.iplanet.dpro.session.monitoring.SessionMonitorType;
118 return logAndWrap(session, clientSide, SessionMonitorType.STATELESS);
122 return logAndWrap(session, local, SessionMonitorType.LOCAL);
132 return logAndWrap(session, cts, SessionMonitorType.CTS);
137 return logAndWrap(session, cts, SessionMonitorType.CTS);
141 return logAndWrap(session, remote, SessionMonitorType.REMOTE);
209 private SessionOperations logAndWrap(Session session, SessionOperations op, SessionMonitorType type) {
/forgerock/openam/openam-core/src/test/java/com/iplanet/dpro/session/operations/
H A DServerSessionOperationStrategyTest.java30 import com.iplanet.dpro.session.monitoring.SessionMonitorType;
73 assertThat(operation).isEqualTo(new MonitoredOperations(mockLocal, SessionMonitorType.LOCAL, mockStore));
/forgerock/openam-v13/openam-core/src/test/java/com/iplanet/dpro/session/operations/
H A DServerSessionOperationStrategyTest.java28 import com.iplanet.dpro.session.monitoring.SessionMonitorType;
93 assertThat(operation).isEqualTo(new MonitoredOperations(mockLocal, SessionMonitorType.LOCAL, mockStore));
108 assertThat(operation).isEqualTo(new MonitoredOperations(mockRemote, SessionMonitorType.REMOTE, mockStore));
130 assertThat(operation).isEqualTo(new MonitoredOperations(mockCTS, SessionMonitorType.CTS, mockStore));
143 assertThat(operation).isEqualTo(new MonitoredOperations(mockRemote, SessionMonitorType.REMOTE, mockStore));
159 assertThat(operation).isEqualTo(new MonitoredOperations(mockCTS, SessionMonitorType.CTS, mockStore));

Completed in 1915 milliseconds