public static class LoginStats.MutableLoginStats extends Object implements LoginStats
LoginStats.MutableLoginStats
STATS_NAME
STATS_NAME_REGEX
Constructor and Description |
---|
MutableLoginStats() |
Modifier and Type | Method and Description |
---|---|
void |
authentication(boolean successful,
long timeInMillis) |
void |
authenticationCacheGetOrLoad(long timeInMillis) |
void |
beforeUserAuthenticate(long timeInMillis) |
void |
cacheInvalidate() |
void |
encodePassword(long timeInMillis) |
String |
getStatsName()
Returns the name of the stats.
|
void |
settings(boolean legacyMode,
long authCacheExpireMin,
int authCacheMaxSize,
String passwordEncoder) |
void |
user(String username) |
void |
validatePassword(long timeInMillis) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create
addJiraStatsListener, close, getTotalMeasuredOperationsForStatsOverheadInMillis, removeJiraStatsListener
public String getStatsName()
ManagedStats
ManagedStats.STATS_NAME_REGEX
.[JIRA-STATS] [<stats name>] snapshot stats
getStatsName
in interface ManagedStats
public void settings(boolean legacyMode, long authCacheExpireMin, int authCacheMaxSize, String passwordEncoder)
settings
in interface LoginStats
public void user(String username)
user
in interface LoginStats
public void beforeUserAuthenticate(long timeInMillis)
beforeUserAuthenticate
in interface LoginStats
public void authentication(boolean successful, long timeInMillis)
authentication
in interface LoginStats
public void authenticationCacheGetOrLoad(long timeInMillis)
authenticationCacheGetOrLoad
in interface LoginStats
public void cacheInvalidate()
cacheInvalidate
in interface LoginStats
public void encodePassword(long timeInMillis)
encodePassword
in interface LoginStats
public void validatePassword(long timeInMillis)
validatePassword
in interface LoginStats
Copyright © 2002-2022 Atlassian. All Rights Reserved.