| Modifier and Type | Field and Description |
|---|---|
private com.aerospike.client.async.AsyncClient |
client |
private AerospikeDBServiceConfig |
config |
private AerospikeDaoMapOfUserAttributes |
daoMapOfUserAttributes |
private AerospikeDaoMapOfUserSegments |
daoMapOfUserSegments |
private com.aerospike.client.async.AsyncClientPolicy |
policy |
| Constructor and Description |
|---|
AerospikeDBService() |
| Modifier and Type | Method and Description |
|---|---|
com.aerospike.client.async.AsyncClient |
getClient() |
AerospikeDBServiceConfig |
getConfig() |
<T> DaoCache<T> |
getDaoCache(DaoCacheLoader<T> loader,
T nullValue,
long ttl,
long maxItems) |
<T> DaoCacheLoader<T> |
getDaoCacheLoader() |
DaoCounters |
getDaoCounters() |
DaoMapOfUserAttributes |
getDaoMapOfUserAttributes() |
DaoMapOfUserSegments |
getDaoMapOfUserSegments() |
<T> DaoShortLivedMap<T> |
getDaoShortLivedMap() |
<T> DaoShortLivedMap<T> |
getDaoShortLivedMap(Class<T> type) |
com.aerospike.client.async.AsyncClientPolicy |
getPolicy() |
void |
init(DbConfig config) |
void |
setClient(com.aerospike.client.async.AsyncClient client) |
void |
setConfig(AerospikeDBServiceConfig config) |
void |
setPolicy(com.aerospike.client.async.AsyncClientPolicy policy) |
private com.aerospike.client.async.AsyncClient client
private AerospikeDBServiceConfig config
private com.aerospike.client.async.AsyncClientPolicy policy
private AerospikeDaoMapOfUserAttributes daoMapOfUserAttributes
private AerospikeDaoMapOfUserSegments daoMapOfUserSegments
public void init(DbConfig config) throws Lot49Exception
init in interface DbServiceLot49Exceptionpublic <T> DaoShortLivedMap<T> getDaoShortLivedMap(Class<T> type)
getDaoShortLivedMap in interface DbServicepublic <T> DaoShortLivedMap<T> getDaoShortLivedMap()
getDaoShortLivedMap in interface DbServicepublic <T> DaoCacheLoader<T> getDaoCacheLoader()
getDaoCacheLoader in interface DbServicepublic <T> DaoCache<T> getDaoCache(DaoCacheLoader<T> loader, T nullValue, long ttl, long maxItems)
getDaoCache in interface DbServicepublic DaoCounters getDaoCounters()
getDaoCounters in interface DbServicepublic DaoMapOfUserAttributes getDaoMapOfUserAttributes()
getDaoMapOfUserAttributes in interface DbServicepublic DaoMapOfUserSegments getDaoMapOfUserSegments()
getDaoMapOfUserSegments in interface DbServicepublic com.aerospike.client.async.AsyncClient getClient()
public void setClient(com.aerospike.client.async.AsyncClient client)
public com.aerospike.client.async.AsyncClientPolicy getPolicy()
public void setPolicy(com.aerospike.client.async.AsyncClientPolicy policy)
policy - the policy to setpublic AerospikeDBServiceConfig getConfig()
public void setConfig(AerospikeDBServiceConfig config)
config - the config to set