@Test public void testDisabledRequestWithBackup() { final Statistics cut = Statistics.create( false ); assertEquals( cut.getRequestsWithBackupFailure(), 0 ); cut.requestWithBackupFailure(); assertEquals( cut.getRequestsWithBackupFailure(), 0 ); }
public long getMsmStatNumNonStickySessionsPingFailed() { return _msm.getStatistics().getNonStickySessionsPingFailed(); } public long getMsmStatNumNonStickySessionsReadOnlyRequest() {
public long getMsmStatNumNonStickySessionsReadOnlyRequest() { return _msm.getStatistics().getNonStickySessionsReadOnlyRequest(); }
/** * Returns a string array with labels and values of count, min, avg and max * of the time that took the attributes serialization. * @return a String array for statistics inspection via jmx. */ public String[] getMsmStatAttributesSerializationInfo() { return _msm.getStatistics().getProbe( ATTRIBUTES_SERIALIZATION ).getInfo(); }
/** * @return * @see de.javakaffee.web.msm.Statistics#getRequestsWithBackupFailure() */ public long getMsmStatNumBackupFailures() { return _msm.getStatistics().getRequestsWithBackupFailure(); }
/** * @return * @see de.javakaffee.web.msm.Statistics#getRequestsWithSession() */ public long getMsmStatNumRequestsWithSession() { return _msm.getStatistics().getRequestsWithSession(); }
/** * @return * @see de.javakaffee.web.msm.Statistics#getRequestsWithoutSessionAccess() */ public long getMsmStatNumNoSessionAccess() { return _msm.getStatistics().getRequestsWithoutSessionAccess(); }
/** * @return * @see de.javakaffee.web.msm.Statistics#getRequestsWithMemcachedFailover() */ public long getMsmStatNumMemcachedFailover() { return _msm.getStatistics().getRequestsWithMemcachedFailover(); }
/** * @return * @see de.javakaffee.web.msm.Statistics#getRequestsWithMemcachedFailover() */ public long getMsmStatNumTomcatFailover() { return _msm.getStatistics().getRequestsWithTomcatFailover(); }
/** * @return * @see de.javakaffee.web.msm.Statistics#getRequestsWithoutAttributesAccess() */ public long getMsmStatNumNoAttributesAccess() { return _msm.getStatistics().getRequestsWithoutAttributesAccess(); }
/** * @return * @see de.javakaffee.web.msm.Statistics#getRequestsWithoutSession() */ public long getMsmStatNumRequestsWithoutSession() { return _msm.getStatistics().getRequestsWithoutSession(); }
/** * Returns a string array with labels and values of count, min, avg and max * of the time that session backups took (excluding backups where a session * was relocated). This time was spent in the request thread if session backup * is done synchronously, otherwise another thread used this time. * * @return a String array for statistics inspection via jmx. */ public String[] getMsmStatBackupInfo() { return _msm.getStatistics().getProbe( BACKUP ).getInfo(); }
/** * @return * @see de.javakaffee.web.msm.Statistics#getRequestsWithBackupFailure() */ public long getMsmStatNumBackupFailures() { return _msm.getStatistics().getRequestsWithBackupFailure(); }
/** * @return * @see de.javakaffee.web.msm.Statistics#getRequestsWithSession() */ public long getMsmStatNumRequestsWithSession() { return _msm.getStatistics().getRequestsWithSession(); }
/** * @return * @see de.javakaffee.web.msm.Statistics#getRequestsWithoutSessionAccess() */ public long getMsmStatNumNoSessionAccess() { return _msm.getStatistics().getRequestsWithoutSessionAccess(); }
/** * @return * @see de.javakaffee.web.msm.Statistics#getRequestsWithMemcachedFailover() */ public long getMsmStatNumMemcachedFailover() { return _msm.getStatistics().getRequestsWithMemcachedFailover(); }
/** * @return * @see de.javakaffee.web.msm.Statistics#getRequestsWithMemcachedFailover() */ public long getMsmStatNumTomcatFailover() { return _msm.getStatistics().getRequestsWithTomcatFailover(); }
/** * @return * @see de.javakaffee.web.msm.Statistics#getRequestsWithoutAttributesAccess() */ public long getMsmStatNumNoAttributesAccess() { return _msm.getStatistics().getRequestsWithoutAttributesAccess(); }
/** * @return * @see de.javakaffee.web.msm.Statistics#getRequestsWithoutSession() */ public long getMsmStatNumRequestsWithoutSession() { return _msm.getStatistics().getRequestsWithoutSession(); }
/** * Returns a string array with labels and values of count, min, avg and max * of the time that storing data in memcached took (excluding serialization, * including compression). * @return a String array for statistics inspection via jmx. */ public String[] getMsmStatMemcachedUpdateInfo() { return _msm.getStatistics().getProbe( MEMCACHED_UPDATE ).getInfo(); }