public enum KeepUsersHolder extends java.lang.Enum<KeepUsersHolder> implements KeepUsers
| Enum Constant and Description |
|---|
INSTANCE
Singleton implementation using an ENUM
|
| Modifier and Type | Method and Description |
|---|---|
KeepUsers |
addServers(io.vertx.core.json.JsonObject serverListIncoming) |
KeepUser |
addUser(KeepUser keepUser)
Update a vert.x user into to cache to capture additional propertied
|
void |
clear()
Clears the cache of all current members
|
boolean |
evict(java.lang.String key)
Removes an entry from cache removing a non-existing key is still a success
|
io.vertx.core.Future<java.lang.String> |
getMailboxDatabaseName(io.vertx.core.Vertx vertx,
KeepFactory factory,
KeepUser incomingUser,
java.lang.String calendarName,
java.lang.String alternateMailboxId) |
KeepUser |
getUser(java.lang.String userName)
Returns a KeepUser instance from Cache for processing and update
|
KeepUser |
getUser(io.vertx.ext.auth.User vertxUser,
boolean allowJwtMail)
Converts a Vert.x user object into a KeepUser
|
boolean |
hasEntry(java.lang.String key)
Is a specific entry in the cache?
|
static KeepUsersHolder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeepUsersHolder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetCachePrefixpublic static final KeepUsersHolder INSTANCE
public static KeepUsersHolder[] values()
for (KeepUsersHolder c : KeepUsersHolder.values()) System.out.println(c);
public static KeepUsersHolder valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic KeepUsers addServers(io.vertx.core.json.JsonObject serverListIncoming)
addServers in interface KeepUsersserverListIncoming - public KeepUser addUser(KeepUser keepUser)
KeepUsersUpdate a vert.x user into to cache to capture additional propertied
public void clear()
KeepBaseCacheClears the cache of all current members
clear in interface KeepBaseCachepublic boolean evict(java.lang.String key)
KeepBaseCacheRemoves an entry from cache removing a non-existing key is still a success
evict in interface KeepBaseCachekey - public io.vertx.core.Future<java.lang.String> getMailboxDatabaseName(io.vertx.core.Vertx vertx,
KeepFactory factory,
KeepUser incomingUser,
java.lang.String calendarName,
java.lang.String alternateMailboxId)
getMailboxDatabaseName in interface KeepUsersfactory - incomingUser - calendarName - alternateMailboxId - Delegated accesspublic KeepUser getUser(java.lang.String userName)
KeepUsersReturns a KeepUser instance from Cache for processing and update
public KeepUser getUser(io.vertx.ext.auth.User vertxUser, boolean allowJwtMail)
KeepUsersConverts a Vert.x user object into a KeepUser
public boolean hasEntry(java.lang.String key)
KeepBaseCacheIs a specific entry in the cache?
hasEntry in interface KeepBaseCachekey -