com.voidsearch.voidbase.storage.distributed
Class DistributedStorage

java.lang.Object
  extended by com.voidsearch.voidbase.storage.distributed.DistributedStorage

public class DistributedStorage
extends java.lang.Object


Field Summary
protected static org.slf4j.Logger logger
           
protected static DistributedStorage storage
           
protected  java.util.Map<java.lang.String,DistributedStore> stores
           
 
Constructor Summary
protected DistributedStorage()
           
 
Method Summary
 java.lang.Object clone()
           
 void close(java.lang.String name)
           
static DistributedStorage getInstance()
           
 java.lang.Boolean isOpened(java.lang.String name)
           
 void open(java.lang.String name, java.lang.String path)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

storage

protected static DistributedStorage storage

stores

protected java.util.Map<java.lang.String,DistributedStore> stores

logger

protected static final org.slf4j.Logger logger
Constructor Detail

DistributedStorage

protected DistributedStorage()
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 DistributedStorage getInstance()

open

public void open(java.lang.String name,
                 java.lang.String path)
          throws StorageException
Throws:
StorageException

close

public void close(java.lang.String name)
           throws StorageException
Throws:
StorageException

isOpened

public java.lang.Boolean isOpened(java.lang.String name)


Copyright © 2009. All Rights Reserved.