org.wamblee.glassfish.auth.cache.impl
Interface SimpleExpiryCacheManagementMBean


public interface SimpleExpiryCacheManagementMBean

MBean interface for SimpleExpiryCache.

Author:
Erik Brakkee

Method Summary
 void clearAll()
          Clears all entries from the cache.
 void clearExpired()
          Clears the expired entries from the cache.
 void clearUser(String aUsername)
          Clears the entries for a specific user from the cache.
 int getExpiryTimeSeconds()
          Gest the expiry time in seconds.
 int size()
          Gets the number of entries, including expired ones.
 String[] users()
          Gets the list of cached users..
 

Method Detail

size

int size()
Gets the number of entries, including expired ones.

Returns:
Size.

getExpiryTimeSeconds

int getExpiryTimeSeconds()
Gest the expiry time in seconds.

Returns:
Expiry time.

users

String[] users()
Gets the list of cached users..

Returns:
Users

clearExpired

void clearExpired()
Clears the expired entries from the cache.


clearAll

void clearAll()
Clears all entries from the cache.


clearUser

void clearUser(String aUsername)
Clears the entries for a specific user from the cache.

Parameters:
aUsername -


Copyright © 2011. All Rights Reserved.