Package com.atlassian.jira.user.util
Class LoginStoreStats.MutableLoginStoreStats
java.lang.Object
com.atlassian.jira.user.util.LoginStoreStats.MutableLoginStoreStats
- All Implemented Interfaces:
LoginStoreStats,com.atlassian.jira.util.stats.ManagedStats,Closeable,AutoCloseable
- Enclosing interface:
LoginStoreStats
public static class LoginStoreStats.MutableLoginStoreStats
extends Object
implements LoginStoreStats
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.user.util.LoginStoreStats
LoginStoreStats.MutableLoginStoreStats -
Field Summary
Fields inherited from interface com.atlassian.jira.user.util.LoginStoreStats
STATS_NAMEFields inherited from interface com.atlassian.jira.util.stats.ManagedStats
STATS_NAME_REGEX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelegateRecordLoginAttemptFalse(long timeInMillis) voiddelegateRecordLoginAttemptTrue(long timeInMillis) voiddelegateResetFailedLoginCount(long timeInMillis) voiddelegateUpdateLastLoginTime(long timeInMillis) voidflushDataToDB(long timeInMillis) voidflushLastLoginTimes(long timeInMillis) voidvoidflushRecordedSuccessfulLoginAttempts(long timeInMillis) voidvoidgetApplicationUserToLastKnownLoginInfoSize(long size) voidvoidgetLoginInfo(long timeInMillis) voidvoidvoidvoidrecordLoginAttemptFalse(long timeInMillis) voidrecordLoginAttemptTrue(long timeInMillis) voidresetFailedLoginCount(long timeInMillis) voidsettings(boolean legacyMode, long flushIntervalInSeconds) voidunscheduledFlushUserAttempts(long timeInMillis) voidupdateLastLoginTime(long timeInMillis) voidusersFlushedToDB(long count) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.util.stats.ManagedStats
addJiraStatsListener, close, getMinInterval, getTotalMeasuredOperationsForStatsOverheadInMillis, removeJiraStatsListener
-
Constructor Details
-
MutableLoginStoreStats
public MutableLoginStoreStats()
-
-
Method Details
-
getStatsName
- Specified by:
getStatsNamein interfacecom.atlassian.jira.util.stats.ManagedStats
-
settings
public void settings(boolean legacyMode, long flushIntervalInSeconds) - Specified by:
settingsin interfaceLoginStoreStats
-
recordLoginAttemptTrue
public void recordLoginAttemptTrue(long timeInMillis) - Specified by:
recordLoginAttemptTruein interfaceLoginStoreStats
-
recordLoginAttemptFalse
public void recordLoginAttemptFalse(long timeInMillis) - Specified by:
recordLoginAttemptFalsein interfaceLoginStoreStats
-
updateLastLoginTime
public void updateLastLoginTime(long timeInMillis) - Specified by:
updateLastLoginTimein interfaceLoginStoreStats
-
resetFailedLoginCount
public void resetFailedLoginCount(long timeInMillis) - Specified by:
resetFailedLoginCountin interfaceLoginStoreStats
-
getLoginInfo
public void getLoginInfo(long timeInMillis) - Specified by:
getLoginInfoin interfaceLoginStoreStats
-
delegateRecordLoginAttemptTrue
public void delegateRecordLoginAttemptTrue(long timeInMillis) - Specified by:
delegateRecordLoginAttemptTruein interfaceLoginStoreStats
-
delegateRecordLoginAttemptFalse
public void delegateRecordLoginAttemptFalse(long timeInMillis) - Specified by:
delegateRecordLoginAttemptFalsein interfaceLoginStoreStats
-
delegateUpdateLastLoginTime
public void delegateUpdateLastLoginTime(long timeInMillis) - Specified by:
delegateUpdateLastLoginTimein interfaceLoginStoreStats
-
delegateResetFailedLoginCount
public void delegateResetFailedLoginCount(long timeInMillis) - Specified by:
delegateResetFailedLoginCountin interfaceLoginStoreStats
-
invalidateLastKnownLoginInfoCache
public void invalidateLastKnownLoginInfoCache()- Specified by:
invalidateLastKnownLoginInfoCachein interfaceLoginStoreStats
-
flushDataToDB
public void flushDataToDB(long timeInMillis) - Specified by:
flushDataToDBin interfaceLoginStoreStats
-
unscheduledFlushUserAttempts
public void unscheduledFlushUserAttempts(long timeInMillis) - Specified by:
unscheduledFlushUserAttemptsin interfaceLoginStoreStats
-
flushRecordedSuccessfulLoginAttempts
public void flushRecordedSuccessfulLoginAttempts(long timeInMillis) - Specified by:
flushRecordedSuccessfulLoginAttemptsin interfaceLoginStoreStats
-
flushLastLoginTimes
public void flushLastLoginTimes(long timeInMillis) - Specified by:
flushLastLoginTimesin interfaceLoginStoreStats
-
onClearCache
public void onClearCache()- Specified by:
onClearCachein interfaceLoginStoreStats
-
validateRunningFailed
public void validateRunningFailed()- Specified by:
validateRunningFailedin interfaceLoginStoreStats
-
flushRecordedSuccessfulLoginAttemptsUnsuccessful
public void flushRecordedSuccessfulLoginAttemptsUnsuccessful()- Specified by:
flushRecordedSuccessfulLoginAttemptsUnsuccessfulin interfaceLoginStoreStats
-
flushLastLoginTimesUnsuccessful
public void flushLastLoginTimesUnsuccessful()- Specified by:
flushLastLoginTimesUnsuccessfulin interfaceLoginStoreStats
-
getApplicationUserToLastKnownLoginInfoSize
public void getApplicationUserToLastKnownLoginInfoSize(long size) - Specified by:
getApplicationUserToLastKnownLoginInfoSizein interfaceLoginStoreStats
-
lastKnownLoginInfoCacheCall
public void lastKnownLoginInfoCacheCall()- Specified by:
lastKnownLoginInfoCacheCallin interfaceLoginStoreStats
-
getLastKnownLoginInfo
public void getLastKnownLoginInfo()- Specified by:
getLastKnownLoginInfoin interfaceLoginStoreStats
-
usersFlushedToDB
public void usersFlushedToDB(long count) - Specified by:
usersFlushedToDBin interfaceLoginStoreStats
-