public abstract class PersistenceBackendFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CONTEXT |
protected static String |
FALLBACK_FILENAME |
static long |
FALLBACK_RETRY_TIME |
static String |
HOME_SYSTEM_PROPERTY |
static long |
INITIAL_DELAY |
| Constructor and Description |
|---|
PersistenceBackendFactory() |
public static final String DEFAULT_CONTEXT
public static final String HOME_SYSTEM_PROPERTY
protected static final String FALLBACK_FILENAME
public static final long INITIAL_DELAY
public static final long FALLBACK_RETRY_TIME
public static void forceImmediateRediscovery(String context)
public static void addRecordPackage(Package packageObject)
public static void setFallbackLocation(String path)
protected static String getFallbackLocation()
protected static FallbackPersistenceBackend createFallback(String context)
protected static PersistenceBackend discoverPersistenceBackend(String context, FallbackPersistenceBackend fallback)
public static PersistenceBackend getPersistenceBackend(String context)
protected static PersistenceBackend resetToFallbackPersistenceBackend(PersistenceBackend actual, String context)
protected static PersistenceBackend rediscoverPersistenceBackend(FallbackPersistenceBackend actual, String context)
@Deprecated public static void flush(String context, long timeout, TimeUnit timeUnit)
PersistenceBackendFactory#flush() insteadcontext - timeout - timeUnit - public static void flush(String context)
@Deprecated public static void flushAll(long timeout, TimeUnit timeUnit)
flushAll() insteadtimeout - timeUnit - public static void flushAll()
public static void shutdown()
Copyright © 2017. All Rights Reserved.