public class LoginCacheManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CACHE_NAME |
Constructor and Description |
---|
LoginCacheManager() |
Modifier and Type | Method and Description |
---|---|
static LoginAttempt |
addLoginAttempt(String login,
Long mandantId) |
static org.ehcache.Cache<String,LoginAttempt> |
getCache() |
static org.apache.commons.configuration.event.ConfigurationListener |
getConfigurationChangeListener() |
static String |
getEntryKey(String login,
Long mandantId) |
static LoginAttempt |
getLoginAttempts(String login,
Long mandantId) |
static long |
getLoginCount() |
static int |
getMaxDiskSize() |
static int |
getMaxHeapCount() |
static void |
init() |
static void |
reinitConfig() |
static void |
shutdown()
Removes all EH caches.
|
static void |
updateLoginCount() |
public static final String CACHE_NAME
public static void reinitConfig()
public static void init()
public static org.apache.commons.configuration.event.ConfigurationListener getConfigurationChangeListener()
public static LoginAttempt getLoginAttempts(String login, Long mandantId)
public static LoginAttempt addLoginAttempt(String login, Long mandantId)
public static long getLoginCount()
public static void updateLoginCount()
public static int getMaxHeapCount()
public static int getMaxDiskSize()
public static org.ehcache.Cache<String,LoginAttempt> getCache()
public static void shutdown()
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.