org.hypergraphdb.peer
Class StorageService

java.lang.Object
  extended by org.hypergraphdb.peer.StorageService

public class StorageService
extends java.lang.Object

Author:
ciprian.costa Handles storage in the context of replication - manages log

Nested Class Summary
static class StorageService.Operation
           
 
Constructor Summary
StorageService(HyperGraphPeer thisPeer)
           
 
Method Summary
 HGHandle addOrReplaceSubgraph(Subgraph subgraph)
           
 HGHandle addSubgraph(Subgraph subgraph)
           
 void registerType(HGPersistentHandle handle, java.lang.Class<?> clazz)
           
 void remove(HGHandle handle)
           
 HGHandle updateSubgraph(Subgraph subgraph)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageService

public StorageService(HyperGraphPeer thisPeer)
Method Detail

addSubgraph

public HGHandle addSubgraph(Subgraph subgraph)

updateSubgraph

public HGHandle updateSubgraph(Subgraph subgraph)

addOrReplaceSubgraph

public HGHandle addOrReplaceSubgraph(Subgraph subgraph)

remove

public void remove(HGHandle handle)

registerType

public void registerType(HGPersistentHandle handle,
                         java.lang.Class<?> clazz)