public class SegmentNodeStoreService extends ProxyNodeStore implements Observable, SegmentStoreProvider
Modifier and Type | Field and Description |
---|---|
static String |
CACHE |
static String |
COMPACTION_CLEANUP |
static String |
COMPACTION_CLEANUP_TIMESTAMP |
static String |
COMPACTION_CLONE_BINARIES |
static String |
COMPACTION_MEMORY_THRESHOLD |
static String |
CUSTOM_BLOB_STORE |
static String |
DIRECTORY |
static String |
MODE |
static String |
NAME |
static String |
PAUSE_COMPACTION |
static String |
SIZE |
static String |
STANDBY |
Constructor and Description |
---|
SegmentNodeStoreService() |
Modifier and Type | Method and Description |
---|---|
Closeable |
addObserver(Observer observer)
Register a new
Observer . |
void |
deactivate() |
SegmentStore |
getSegmentStore()
needed for situations where you have to unwrap the
SegmentNodeStoreService, to get the SegmentStore, like the failover
|
void |
registerNodeStore() |
boolean |
registerSegmentStore() |
String |
toString() |
checkpoint, checkpoint, checkpointInfo, createBlob, getBlob, getRoot, merge, rebase, release, reset, retrieve
public static final String NAME
public static final String DIRECTORY
public static final String MODE
public static final String SIZE
public static final String CACHE
public static final String COMPACTION_CLONE_BINARIES
public static final String COMPACTION_CLEANUP
public static final String COMPACTION_CLEANUP_TIMESTAMP
public static final String COMPACTION_MEMORY_THRESHOLD
public static final String PAUSE_COMPACTION
public static final String STANDBY
public static final String CUSTOM_BLOB_STORE
public void registerNodeStore() throws IOException
IOException
public boolean registerSegmentStore() throws IOException
IOException
public void deactivate()
public SegmentStore getSegmentStore()
getSegmentStore
in interface SegmentStoreProvider
public Closeable addObserver(Observer observer)
Observable
Observer
. Clients need to call Closeable.close()
to stop getting notifications on the registered observer and to free up any resources
associated with the registration.addObserver
in interface Observable
Closeable
instance."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"