com.voidsearch.voidbase.storage.distributed.router.topology
Class StorageTopology

java.lang.Object
  extended by com.voidsearch.voidbase.storage.distributed.router.topology.StorageTopology

public class StorageTopology
extends java.lang.Object


Field Summary
protected static org.slf4j.Logger logger
           
protected static java.util.concurrent.ConcurrentHashMap<java.lang.String,StorageNode> nodes
           
protected static Strategy strategy
           
protected static StorageTopology topology
           
 
Constructor Summary
protected StorageTopology()
           
 
Method Summary
 void addNode(StorageNode node)
           
 java.lang.Object clone()
           
static StorageTopology getInstance()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

strategy

protected static Strategy strategy

topology

protected static StorageTopology topology

nodes

protected static final java.util.concurrent.ConcurrentHashMap<java.lang.String,StorageNode> nodes

logger

protected static final org.slf4j.Logger logger
Constructor Detail

StorageTopology

protected StorageTopology()
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

getInstance

public static StorageTopology getInstance()

addNode

public void addNode(StorageNode node)
             throws StorageTopologyException
Throws:
StorageTopologyException


Copyright © 2009. All Rights Reserved.