Package io.datarouter.storage.node
Interface Node<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>>
- All Superinterfaces:
Comparable<Node<PK,D, F>>
- All Known Subinterfaces:
BlobQueueStorage.BlobQueueStorageNode<T>,BlobQueueStorage.PhysicalBlobQueueStorageNode<T>,BlobStorage.PhysicalBlobStorageNode,GroupQueueStorage.GroupQueueStorageNode<PK,,D, F> GroupQueueStorage.PhysicalGroupQueueStorageNode<PK,,D, F> IndexedMapStorage.IndexedMapStorageNode<PK,,D, F> IndexedMapStorage.PhysicalIndexedMapStorageNode<PK,,D, F> IndexedMapStorageReader.IndexedMapStorageReaderNode<PK,,D, F> IndexedMapStorageReader.PhysicalIndexedMapStorageReaderNode<PK,,D, F> IndexedMapStorageWriter.IndexedMapStorageWriterNode<PK,,D, F> IndexedMapStorageWriter.PhysicalIndexedMapStorageWriterNode<PK,,D, F> IndexedSortedMapStorage.IndexedSortedMapStorageNode<PK,,D, F> IndexedSortedMapStorage.PhysicalIndexedSortedMapStorageNode<PK,,D, F> IndexedSortedMapStorageReader.IndexedSortedMapStorageReaderNode<PK,,D, F> IndexedSortedMapStorageReader.PhysicalIndexedSortedMapStorageReaderNode<PK,,D, F> IndexedSortedMapStorageWriter.IndexedSortedMapStorageWriterNode<PK,,D, F> IndexedSortedMapStorageWriter.PhysicalIndexedSortedMapStorageWriterNode<PK,,D, F> IndexedStorage.IndexedStorageNode<PK,,D, F> IndexedStorage.PhysicalIndexedStorageNode<PK,,D, F> IndexedStorageReader.IndexedStorageReaderNode<PK,,D, F> IndexedStorageReader.PhysicalIndexedStorageReaderNode<PK,,D, F> IndexedStorageWriter.IndexedStorageWriterNode<PK,,D, F> IndexedStorageWriter.PhysicalIndexedStorageWriterNode<PK,,D, F> MapStorage.MapStorageNode<PK,,D, F> MapStorage.PhysicalMapStorageNode<PK,,D, F> MapStorageReader.MapStorageReaderNode<PK,,D, F> MapStorageReader.PhysicalMapStorageReaderNode<PK,,D, F> MapStorageWriter.MapStorageWriterNode<PK,,D, F> MapStorageWriter.PhysicalMapStorageWriterNode<PK,,D, F> PhysicalAdapterMixin<PK,,D, F, N> PhysicalNode<PK,,D, F> PhysicalSubEntitySortedMapStorageNode<EK,,PK, D, F> QueueStorage.PhysicalQueueStorageNode<PK,,D, F> QueueStorage.QueueStorageNode<PK,,D, F> QueueStorageWriter.PhysicalQueueStorageWriterNode<PK,,D, F> QueueStorageWriter.QueueStorageWriterNode<PK,,D, F> SortedMapStorage.PhysicalSortedMapStorageNode<PK,,D, F> SortedMapStorage.SortedMapStorageNode<PK,,D, F> SortedMapStorageReader.PhysicalSortedMapStorageReaderNode<PK,,D, F> SortedMapStorageReader.SortedMapStorageReaderNode<PK,,D, F> SortedMapStorageWriter.PhysicalSortedMapStorageWriterNode<PK,,D, F> SortedMapStorageWriter.SortedMapStorageWriterNode<PK,,D, F> SortedStorage.PhysicalSortedStorageNode<PK,,D, F> SortedStorage.SortedStorageNode<PK,,D, F> SortedStorageReader.PhysicalSortedStorageReaderNode<PK,,D, F> SortedStorageReader.SortedStorageReaderNode<PK,,D, F> SortedStorageWriter.PhysicalSortedStorageWriterNode<PK,,D, F> SortedStorageWriter.SortedStorageWriterNode<PK,,D, F> StorageWriter.StorageWriterNode<PK,,D, F> StreamStorage.PhysicalStreamStorageNode<PK,,D, F> SubEntitySortedMapStorageNode<EK,,PK, D, F> SubEntitySortedMapStorageReaderNode<EK,,PK, D, F> TallyStorage.PhysicalTallyStorageNode,TallyStorage.TallyStorageNode
- All Known Implementing Classes:
BaseAdapter,BaseAvailabilityAdapter,BaseCallsiteAdapter,BaseCounterAdapter,BaseNode,BasePhysicalNode,BaseSanitizationAdapter,BaseTraceAdapter,DatabeanToBlobNode,IndexedSortedMapStorageCallsiteAdapter,IndexedSortedMapStorageCounterAdapter,MapStorageCallsiteAdapter,MapStorageCounterAdapter,PhysicalBlobQueueStorageCounterAdapter,PhysicalBlobQueueStorageSanitizationAdapter,PhysicalBlobQueueStorageTraceAdapter,PhysicalGroupQueueStorageCounterAdapter,PhysicalGroupQueueStorageSanitizationAdapter,PhysicalGroupQueueStorageTraceAdapter,PhysicalIndexedSortedMapStorageAvailabilityAdapterFactory.PhysicalIndexedSortedMapStorageAvailabilityAdapter,PhysicalIndexedSortedMapStorageCallsiteAdapter,PhysicalIndexedSortedMapStorageCounterAdapter,PhysicalIndexedSortedMapStorageSanitizationAdapter,PhysicalIndexedSortedMapStorageTraceAdapter,PhysicalMapStorageAvailabilityAdapterFactory.PhysicalMapStorageAvailabilityAdapter,PhysicalMapStorageCallsiteAdapter,PhysicalMapStorageCounterAdapter,PhysicalMapStorageReaderCallsiteAdapter,PhysicalMapStorageReaderCounterAdapter,PhysicalMapStorageReaderSanitizationAdapter,PhysicalMapStorageReaderTraceAdapter,PhysicalMapStorageSanitizationAdapter,PhysicalMapStorageTraceAdapter,PhysicalQueueStorageCounterAdapter,PhysicalQueueStorageSanitizationAdapter,PhysicalQueueStorageTraceAdapter,PhysicalSortedMapStorageAvailabilityAdapterFactory.PhysicalSortedMapStorageAvailabilityAdapter,PhysicalSortedMapStorageCallsiteAdapter,PhysicalSortedMapStorageCounterAdapter,PhysicalSortedMapStorageSanitizationAdapter,PhysicalSortedMapStorageTraceAdapter,PhysicalSubEntitySortedMapStorageCallsiteAdapter,PhysicalSubEntitySortedMapStorageCounterAdapter,PhysicalSubEntitySortedMapStorageTraceAdapter,PhysicalTallyStorageCounterAdapter,PhysicalTallyStorageSanitizationAdapter,PhysicalTallyStorageTraceAdapter,QueueStorageWriterCounterAdapter,QueueStorageWriterSanitizationAdapter,QueueStorageWriterTraceAdapter,SortedMapStorageCallsiteAdapter,SortedMapStorageCounterAdapter,TallyStorageSanitizationAdapter
public interface Node<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 Comparable<Node<PK,D,F>>
A Node is the interface through which the application sends Databeans for serialization and storage. It ties together
a PrimaryKey type, a Databean type, a Fielder type. A Node can be a PhysicalNode or a virtual node, like
ReplicationNode, that forwards requests on to other nodes.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()List<? extends PhysicalNode<PK,D, F>> List<? extends PhysicalNode<PK,D, F>> getPhysicalNodesForClient(String clientName) booleanusesClient(String clientName) Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getName
String getName() -
getFieldInfo
DatabeanFieldInfo<PK,D, getFieldInfo()F> -
getClientIds
-
usesClient
-
getPhysicalNodes
List<? extends PhysicalNode<PK,D, getPhysicalNodes()F>> -
getPhysicalNodesForClient
-
getChildNodes
-