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() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addRecordPackage(Package packageObject) |
protected static FallbackPersistenceBackend |
createFallback(String context) |
protected static PersistenceBackend |
discoverPersistenceBackend(String context) |
static void |
flush(String context,
long timeout,
TimeUnit timeUnit) |
static void |
flushAll(long timeout,
TimeUnit timeUnit) |
static File |
getFallbackFile(String context) |
protected static String |
getFallbackLocation() |
static PersistenceBackend |
getPersistenceBackend(String context) |
protected static PersistenceBackend |
rediscoverPersistenceBackend(PersistenceBackend actual,
String context) |
protected static String |
removeSlashFromContext(String context) |
protected static void |
renew(PersistenceBackend persistenceBackend) |
protected static String |
sanitizeContext(String context) |
static void |
setFallbackLocation(String path) |
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 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)
public static PersistenceBackend getPersistenceBackend(String context)
protected static PersistenceBackend rediscoverPersistenceBackend(PersistenceBackend actual, String context)
protected static void renew(PersistenceBackend persistenceBackend)
Copyright © 2016. All Rights Reserved.