public abstract class DistributedStoreManager extends AbstractStoreManager
| Modifier and Type | Class and Description |
|---|---|
static class |
DistributedStoreManager.Deployment |
static class |
DistributedStoreManager.MaskedTimestamp
Helper class to create the deletion and addition timestamps for a particular transaction.
|
| Modifier and Type | Field and Description |
|---|---|
protected Duration |
connectionTimeoutMS |
protected String[] |
hostnames |
protected int |
pageSize |
protected String |
password |
protected int |
port |
protected TimestampProvider |
times |
protected String |
username |
assignTimestamp, batchLoading, storageConfig, transactional| Constructor and Description |
|---|
DistributedStoreManager(Configuration storageConfig,
int portDefault) |
| Modifier and Type | Method and Description |
|---|---|
abstract DistributedStoreManager.Deployment |
getDeployment()
Returns the
DistributedStoreManager.Deployment mode of this connection to the storage backend |
int |
getPageSize()
Returns the default configured page size for this storage backend.
|
protected String |
getSingleHostname()
Returns a randomly chosen host name.
|
TimestampProvider |
getTimestampProvider() |
boolean |
hasAuthentication()
Whether authentication is enabled for this storage backend
|
protected void |
sleepAfterWrite(DistributedStoreManager.MaskedTimestamp mustPass) |
String |
toString() |
getMetaDataSchema, getStorageConfig, isAssignTimestampclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbeginTransaction, clearStorage, close, exists, getFeatures, getHadoopManager, getLocalKeyPartition, getNameprotected final TimestampProvider times
protected final String[] hostnames
protected final int port
protected final Duration connectionTimeoutMS
protected final int pageSize
protected final String username
protected final String password
public DistributedStoreManager(Configuration storageConfig, int portDefault)
protected String getSingleHostname()
public boolean hasAuthentication()
public int getPageSize()
public TimestampProvider getTimestampProvider()
public abstract DistributedStoreManager.Deployment getDeployment()
DistributedStoreManager.Deployment mode of this connection to the storage backendprotected void sleepAfterWrite(DistributedStoreManager.MaskedTimestamp mustPass) throws BackendException
BackendExceptionCopyright © 2012–2023. All rights reserved.