public class Backend extends Object implements LockerProvider, AutoCloseable
KeyColumnValueStore
) and all external indexing providers (IndexProvider
).Modifier and Type | Field and Description |
---|---|
static double |
EDGESTORE_CACHE_PERCENT |
static String |
EDGESTORE_NAME
These are the names for the edge store and property index databases, respectively.
|
static String |
ID_STORE_NAME |
static double |
INDEXSTORE_CACHE_PERCENT |
static String |
INDEXSTORE_NAME |
static String |
LOCK_STORE_SUFFIX |
static String |
METRICS_CACHE_SUFFIX |
static String |
METRICS_MERGED_CACHE |
static String |
METRICS_MERGED_STORE |
static String |
METRICS_STOREMANAGER_NAME |
static Map<String,String> |
REGISTERED_LOG_MANAGERS |
static Map<String,Integer> |
STATIC_KEY_LENGTHS |
static String |
SYSTEM_MGMT_LOG_NAME |
static String |
SYSTEM_TX_LOG_NAME |
static int |
THREAD_POOL_SIZE_SCALE_FACTOR |
Constructor and Description |
---|
Backend(Configuration configuration) |
public static final String EDGESTORE_NAME
public static final String INDEXSTORE_NAME
public static final String ID_STORE_NAME
public static final String METRICS_STOREMANAGER_NAME
public static final String METRICS_MERGED_STORE
public static final String METRICS_MERGED_CACHE
public static final String METRICS_CACHE_SUFFIX
public static final String LOCK_STORE_SUFFIX
public static final String SYSTEM_TX_LOG_NAME
public static final String SYSTEM_MGMT_LOG_NAME
public static final double EDGESTORE_CACHE_PERCENT
public static final double INDEXSTORE_CACHE_PERCENT
public static final int THREAD_POOL_SIZE_SCALE_FACTOR
public Backend(Configuration configuration)
public Locker getLocker(String lockerName)
getLocker
in interface LockerProvider
public void initialize(Configuration config)
config
- public Map<String,IndexInformation> getIndexInformation()
IndexProvider
s.public KCVSLog getSystemTxLog()
public Log getSystemMgmtLog()
public StandardScanner.Builder buildEdgeScanJob()
public StandardScanner.Builder buildGraphIndexScanJob()
public JanusGraphManagement.IndexJobFuture getScanJobStatus(Object jobId)
public Log getUserLog(String identifier) throws BackendException
BackendException
public KCVSConfiguration getGlobalSystemConfig()
public KCVSConfiguration getUserConfiguration()
public KCVSLogManager getKCVSLogManager(String logName)
public LogManager getLogManager(String logName)
public static KeyColumnValueStoreManager getStorageManager(Configuration storageConfig)
public static KCVSConfiguration getStandaloneGlobalConfiguration(KeyColumnValueStoreManager manager, Configuration config)
public static final <T> T getImplementationClass(Configuration config, String clazzname, Map<String,String> registeredImpls)
public IDAuthority getIDAuthority()
IDAuthority
.public StoreFeatures getStoreFeatures()
StoreFeatures
of the configured backend storage engine.public Class<? extends KeyColumnValueStoreManager> getStoreManagerClass()
public StoreManager getStoreManager()
public Map<String,IndexFeatures> getIndexFeatures()
IndexFeatures
of all configured index backendspublic BackendTransaction beginTransaction(TransactionConfiguration configuration, KeyInformation.Retriever indexKeyRetriever) throws BackendException
BackendTransaction
.BackendException
public void close() throws BackendException
close
in interface AutoCloseable
BackendException
public void clearStorage() throws BackendException
BackendException
public static ConfigOption<?> getOptionForShorthand(String shorthand)
Copyright © 2012–2017. All rights reserved.