KEY - ENTRY - MAP - REGISTRY - public class FileSynchronizedRegistrySandbox<KEY,ENTRY extends Identifiable<KEY>,MAP extends Map<KEY,ENTRY>,REGISTRY extends FileSynchronizedRegistry<KEY,ENTRY>> extends RegistrySandboxImpl<KEY,ENTRY,MAP,REGISTRY,FileRegistryPlugin<KEY,ENTRY,REGISTRY>> implements FileSynchronizedRegistry<KEY,ENTRY>
Shutdownable.ShutdownDeamonconsistent, logger, pluginPool, sandboxlatestValueHash, observers, unchangedValueFilterTYPE_FIELD_NAME| Constructor and Description |
|---|
FileSynchronizedRegistrySandbox(MAP entryMap,
REGISTRY originRegistry) |
FileSynchronizedRegistrySandbox(MAP entryMap,
RegistryCloner<KEY,ENTRY,MAP> cloner,
REGISTRY originRegistry) |
| Modifier and Type | Method and Description |
|---|---|
File |
getDatabaseDirectory() |
Integer |
getDBVersion() |
void |
loadRegistry() |
void |
saveRegistry() |
addObserver, finishTransaction, isSandbox, register, replaceInternalMap, superRemove, sync, toString, updateaddDependencyObserver, afterConsistencyCheck, checkConsistency, checkWriteAccess, clear, contains, contains, get, getEntries, getEntryMap, getEntryMapClass, getName, info, isBusy, isBusyByCurrentThread, isConsistent, isDependingOnConsistentRegistries, isEmpty, isReadOnly, isReady, isWriteLockedByCurrentThread, load, lock, log, log, log, notifyObservers, recursiveTryLockRegistry, registerConsistencyHandler, registerDependency, registerPlugin, remove, remove, removeAllDependencies, removeConsistencyHandler, removeDependency, removeDependencyObserver, replaceInternalMap, setName, setupSandbox, shutdown, size, tryLockRegistry, unlock, unlockRegistry, verifyID, verifyIDapplyValueUpdate, getValue, getValueFuture, isValueAvailable, waitForValueisNotificationInProgess, notifyObservers, notifyObservers, removeObserver, setExecutorService, setHashGenerator, waitUntilNotificationIsFinishedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDependencyObserver, clear, contains, contains, get, get, getEntries, getEntryMap, getName, isConsistent, isEmpty, isEmtpy, isReadOnly, isReady, isSandbox, recursiveTryLockRegistry, register, remove, remove, removeDependencyObserver, size, tryLockRegistry, unlockRegistry, updatecheckWriteAccess, isWritableaddObserver, getLatestValue, getValue, getValueFuture, isValueAvailable, removeObserver, waitForValue, waitForValueregisterShutdownHook, registerShutdownHook, shutdownload, registerConsistencyHandler, removeConsistencyHandler, replaceInternalMappublic FileSynchronizedRegistrySandbox(MAP entryMap, RegistryCloner<KEY,ENTRY,MAP> cloner, REGISTRY originRegistry) throws CouldNotPerformException, InterruptedException
public FileSynchronizedRegistrySandbox(MAP entryMap, REGISTRY originRegistry) throws CouldNotPerformException, InterruptedException
public void loadRegistry()
throws CouldNotPerformException
loadRegistry in interface FileSynchronizedRegistry<KEY,ENTRY extends Identifiable<KEY>>CouldNotPerformExceptionpublic void saveRegistry()
throws CouldNotPerformException
saveRegistry in interface FileSynchronizedRegistry<KEY,ENTRY extends Identifiable<KEY>>CouldNotPerformExceptionpublic Integer getDBVersion() throws NotAvailableException
getDBVersion in interface FileSynchronizedRegistry<KEY,ENTRY extends Identifiable<KEY>>NotAvailableExceptionpublic File getDatabaseDirectory() throws NotAvailableException
getDatabaseDirectory in interface FileSynchronizedRegistry<KEY,ENTRY extends Identifiable<KEY>>NotAvailableExceptionCopyright © 2015–2018 openbase.org. All rights reserved.