public enum StateRepository extends Enum<StateRepository>
| Enum Constant and Description |
|---|
REPOSITORY |
| Modifier and Type | Method and Description |
|---|---|
void |
addNewAsyncManagerToKeyspace(String keyspaceName,
AsyncManager manager) |
void |
addNewManagerFactoryToKeyspace(String keyspaceName,
PersistenceManagerFactory factory) |
void |
addNewManagerToKeyspace(String keyspaceName,
PersistenceManager manager) |
void |
addNewSessionToKeyspace(String keyspaceName,
com.datastax.driver.core.Session nativeSession) |
AsyncManager |
getAsyncManagerForKeyspace(String keyspaceName) |
PersistenceManagerFactory |
getManagerFactoryForKeyspace(String keyspaceName) |
PersistenceManager |
getManagerForKeyspace(String keyspaceName) |
com.datastax.driver.core.Session |
getSessionForKeyspace(String keyspaceName) |
boolean |
keyspaceAlreadyBootstrapped(String keyspaceName) |
void |
markKeyspaceAsBootstrapped(String keyspaceName) |
static StateRepository |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateRepository[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateRepository REPOSITORY
public static StateRepository[] values()
for (StateRepository c : StateRepository.values()) System.out.println(c);
public static StateRepository valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean keyspaceAlreadyBootstrapped(String keyspaceName)
public void markKeyspaceAsBootstrapped(String keyspaceName)
public void addNewSessionToKeyspace(String keyspaceName, com.datastax.driver.core.Session nativeSession)
public com.datastax.driver.core.Session getSessionForKeyspace(String keyspaceName)
public void addNewManagerFactoryToKeyspace(String keyspaceName, PersistenceManagerFactory factory)
public PersistenceManagerFactory getManagerFactoryForKeyspace(String keyspaceName)
public void addNewManagerToKeyspace(String keyspaceName, PersistenceManager manager)
public PersistenceManager getManagerForKeyspace(String keyspaceName)
public void addNewAsyncManagerToKeyspace(String keyspaceName, AsyncManager manager)
public AsyncManager getAsyncManagerForKeyspace(String keyspaceName)
Copyright © 2012-2016. All Rights Reserved.