Class MemcachedNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>
java.lang.Object
io.datarouter.storage.node.BaseNode<PK,D,F>
io.datarouter.storage.node.type.physical.base.BasePhysicalNode<PK,D,F>
io.datarouter.client.memcached.node.MemcachedNode<PK,D,F>
- All Implemented Interfaces:
io.datarouter.storage.node.Node<PK,D,F>,io.datarouter.storage.node.op.NodeOps<PK,D>,io.datarouter.storage.node.op.raw.MapStorage<PK,D>,io.datarouter.storage.node.op.raw.MapStorage.MapStorageNode<PK,D,F>,io.datarouter.storage.node.op.raw.MapStorage.PhysicalMapStorageNode<PK,D,F>,io.datarouter.storage.node.op.raw.read.MapStorageReader<PK,D>,io.datarouter.storage.node.op.raw.read.MapStorageReader.MapStorageReaderNode<PK,D,F>,io.datarouter.storage.node.op.raw.read.MapStorageReader.PhysicalMapStorageReaderNode<PK,D,F>,io.datarouter.storage.node.op.raw.read.TallyStorageReader<PK,D>,io.datarouter.storage.node.op.raw.TallyStorage<PK,D>,io.datarouter.storage.node.op.raw.TallyStorage.PhysicalTallyStorageNode<PK,D,F>,io.datarouter.storage.node.op.raw.TallyStorage.TallyStorageNode<PK,D,F>,io.datarouter.storage.node.op.raw.write.MapStorageWriter<PK,D>,io.datarouter.storage.node.op.raw.write.MapStorageWriter.MapStorageWriterNode<PK,D,F>,io.datarouter.storage.node.op.raw.write.MapStorageWriter.PhysicalMapStorageWriterNode<PK,D,F>,io.datarouter.storage.node.op.raw.write.StorageWriter<PK,D>,io.datarouter.storage.node.op.raw.write.StorageWriter.StorageWriterNode<PK,D,F>,io.datarouter.storage.node.op.raw.write.TallyStorageWriter<PK,D>,io.datarouter.storage.node.op.raw.write.TallyStorageWriter.PhysicalTallyStorageWriterNode<PK,D,F>,io.datarouter.storage.node.op.raw.write.TallyStorageWriter.TallyStorageWriterNode<PK,D,F>,io.datarouter.storage.node.type.physical.PhysicalNode<PK,D,F>,Comparable<io.datarouter.storage.node.Node<PK,D,F>>
public class MemcachedNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>
extends io.datarouter.storage.node.type.physical.base.BasePhysicalNode<PK,D,F>
implements io.datarouter.storage.node.op.raw.TallyStorage.PhysicalTallyStorageNode<PK,D,F>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.datarouter.storage.node.op.raw.MapStorage
io.datarouter.storage.node.op.raw.MapStorage.MapStorageNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>, io.datarouter.storage.node.op.raw.MapStorage.PhysicalMapStorageNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>Nested classes/interfaces inherited from interface io.datarouter.storage.node.op.raw.read.MapStorageReader
io.datarouter.storage.node.op.raw.read.MapStorageReader.MapStorageReaderNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>, io.datarouter.storage.node.op.raw.read.MapStorageReader.PhysicalMapStorageReaderNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>Nested classes/interfaces inherited from interface io.datarouter.storage.node.op.raw.write.MapStorageWriter
io.datarouter.storage.node.op.raw.write.MapStorageWriter.MapStorageWriterNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>, io.datarouter.storage.node.op.raw.write.MapStorageWriter.PhysicalMapStorageWriterNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>Nested classes/interfaces inherited from interface io.datarouter.storage.node.op.raw.write.StorageWriter
io.datarouter.storage.node.op.raw.write.StorageWriter.StorageWriterNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>Nested classes/interfaces inherited from interface io.datarouter.storage.node.op.raw.TallyStorage
io.datarouter.storage.node.op.raw.TallyStorage.PhysicalTallyStorageNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>, io.datarouter.storage.node.op.raw.TallyStorage.TallyStorageNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>Nested classes/interfaces inherited from interface io.datarouter.storage.node.op.raw.read.TallyStorageReader
io.datarouter.storage.node.op.raw.read.TallyStorageReader.PhysicalTallyStorageReaderNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>, io.datarouter.storage.node.op.raw.read.TallyStorageReader.TallyStorageReaderNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>Nested classes/interfaces inherited from interface io.datarouter.storage.node.op.raw.write.TallyStorageWriter
io.datarouter.storage.node.op.raw.write.TallyStorageWriter.PhysicalTallyStorageWriterNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>, io.datarouter.storage.node.op.raw.write.TallyStorageWriter.TallyStorageWriterNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>> -
Field Summary
Fields inherited from interface io.datarouter.storage.node.op.raw.read.MapStorageReader
OP_exists, OP_get, OP_getKeys, OP_getMultiFields inherited from interface io.datarouter.storage.node.op.raw.write.MapStorageWriter
OP_delete, OP_deleteAll, OP_deleteMulti, OP_put, OP_putMultiFields inherited from interface io.datarouter.storage.node.op.raw.write.StorageWriter
OP_put, OP_putMultiFields inherited from interface io.datarouter.storage.node.op.raw.TallyStorage
OP_incrementAndGetCount -
Constructor Summary
Constructors Constructor Description MemcachedNode(io.datarouter.storage.node.NodeParams<PK,D,F> params, io.datarouter.storage.client.ClientType<?,?> clientType, MemcachedClientManager memcachedClientManager) -
Method Summary
Modifier and Type Method Description voiddelete(PK key, io.datarouter.storage.config.Config config)voiddeleteAll(io.datarouter.storage.config.Config config)voiddeleteMulti(Collection<PK> keys, io.datarouter.storage.config.Config config)voiddeleteTally(String tallyStringKey, io.datarouter.storage.config.Config config)booleanexists(PK key, io.datarouter.storage.config.Config config)Optional<Long>findTallyCount(String key, io.datarouter.storage.config.Config config)Dget(PK key, io.datarouter.storage.config.Config config)List<PK>getKeys(Collection<PK> keys, io.datarouter.storage.config.Config config)List<D>getMulti(Collection<PK> keys, io.datarouter.storage.config.Config config)Map<String,Long>getMultiTallyCount(Collection<String> tallyStringKeys, io.datarouter.storage.config.Config config)LongincrementAndGetCount(String tallyStringKey, int delta, io.datarouter.storage.config.Config config)voidput(D databean, io.datarouter.storage.config.Config config)voidputMulti(Collection<D> databeans, io.datarouter.storage.config.Config config)Methods inherited from class io.datarouter.storage.node.type.physical.base.BasePhysicalNode
getChildNodes, getClientId, getClientIds, getClientType, getFieldInfo, getName, getPhysicalNodes, getPhysicalNodesForClient, toString, usesClientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.datarouter.storage.node.op.raw.read.MapStorageReader
exists, find, find, get, getKeys, getMulti, scanMulti, scanMulti, scanMultiKeys, scanMultiKeysMethods inherited from interface io.datarouter.storage.node.op.raw.write.MapStorageWriter
delete, deleteAll, deleteBatched, deleteBatched, deleteMultiMethods inherited from interface io.datarouter.storage.node.Node
getChildNodes, getClientIds, getName, getPhysicalNodes, getPhysicalNodesForClient, usesClientMethods inherited from interface io.datarouter.storage.node.type.physical.PhysicalNode
getClientId, getClientType, getFieldInfoMethods inherited from interface io.datarouter.storage.node.op.raw.write.StorageWriter
put, putMultiMethods inherited from interface io.datarouter.storage.node.op.raw.TallyStorage
incrementAndGetCount
-
Constructor Details
-
MemcachedNode
public MemcachedNode(io.datarouter.storage.node.NodeParams<PK,D,F> params, io.datarouter.storage.client.ClientType<?,?> clientType, MemcachedClientManager memcachedClientManager)
-
-
Method Details
-
put
-
putMulti
-
delete
-
deleteMulti
-
deleteAll
public void deleteAll(io.datarouter.storage.config.Config config) -
incrementAndGetCount
-
deleteTally
-
exists
-
get
-
getKeys
-
getMulti
-
findTallyCount
-
getMultiTallyCount
public Map<String,Long> getMultiTallyCount(Collection<String> tallyStringKeys, io.datarouter.storage.config.Config config)
-