fabric.store
Class Node
java.lang.Object
fabric.store.Node
public class Node
- extends java.lang.Object
Field Summary |
Options |
opts
|
protected Node.Store |
store
A map from store host-names to corresponding SSLSocketFactory s
and TransactionManager s. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
opts
public Options opts
store
protected Node.Store store
- A map from store host-names to corresponding
SSLSocketFactory
s
and TransactionManager
s.
Node
public Node(Options opts)
getStore
public Node.Store getStore(java.lang.String name)
- Returns the store corresponding to the given name.
- Parameters:
name
- Name of store to retrieve.
- Returns:
- The requested store, or null if it does not exist.
getTransactionManager
public TransactionManager getTransactionManager(java.lang.String storeName)
- Given the host name for an object store, returns its corresponding
TransactionManager
.
- Returns:
- null if there is no corresponding binding.
getSSLSocketFactory
public javax.net.ssl.SSLSocketFactory getSSLSocketFactory(java.lang.String storeName)
- Given the host name for an object store, returns its corresponding
SSLSocketFactory
.
getSurrogateManager
public SurrogateManager getSurrogateManager(java.lang.String storeName)
getPrivateKey
public java.security.PrivateKey getPrivateKey(java.lang.String storeName)
start
public void start()
throws java.io.IOException
- The main execution body of a store node.
- Throws:
java.io.IOException