KEY - ENTRY - public class RemoteControllerRegistryImpl<KEY,ENTRY extends org.openbase.jul.pattern.Remote & Identifiable<KEY>> extends RegistryImpl<KEY,ENTRY> implements SynchronizableRegistry<KEY,ENTRY>
Shutdownable.ShutdownDeamonconsistent, logger, pluginPool, sandboxlatestValueHash, observers, unchangedValueFilterTYPE_FIELD_NAME| Constructor and Description |
|---|
RemoteControllerRegistryImpl() |
RemoteControllerRegistryImpl(HashMap<KEY,ENTRY> entryMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
long |
getLastSynchronizationTimestamp()
Method returns the timestamp of the last synchronization.
|
boolean |
isInitiallySynchronized()
Method returns the initial synchronization state.
|
void |
notifySynchronization()
Informs the controller registry that the synchronization with the external controller configuration registry was done.
|
logaddDependencyObserver, afterConsistencyCheck, checkConsistency, checkWriteAccess, contains, contains, finishTransaction, get, getEntries, getEntryMap, getEntryMapClass, getName, info, isBusy, isBusyByCurrentThread, isConsistent, isDependingOnConsistentRegistries, isEmpty, isReadOnly, isReady, isSandbox, isWriteLockedByCurrentThread, load, lock, log, log, notifyObservers, recursiveTryLockRegistry, register, registerConsistencyHandler, registerDependency, registerPlugin, remove, remove, removeAllDependencies, removeConsistencyHandler, removeDependency, removeDependencyObserver, replaceInternalMap, replaceInternalMap, setName, setupSandbox, shutdown, size, superRemove, toString, tryLockRegistry, unlock, unlockRegistry, update, verifyID, verifyIDapplyValueUpdate, getValue, getValueFuture, isValueAvailable, waitForValueaddObserver, isNotificationInProgess, notifyObservers, notifyObservers, removeObserver, setExecutorService, setHashGenerator, waitUntilNotificationIsFinishedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDependencyObserver, 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, shutdownpublic RemoteControllerRegistryImpl()
throws InstantiationException
InstantiationExceptionpublic RemoteControllerRegistryImpl(HashMap<KEY,ENTRY> entryMap) throws InstantiationException
InstantiationExceptionpublic void clear()
throws CouldNotPerformException
AbstractRegistryclear in interface Registry<KEY,ENTRY extends org.openbase.jul.pattern.Remote & Identifiable<KEY>>clear in class AbstractRegistry<KEY,ENTRY extends org.openbase.jul.pattern.Remote & Identifiable<KEY>,HashMap<KEY,ENTRY extends org.openbase.jul.pattern.Remote & Identifiable<KEY>>,RegistryImpl<KEY,ENTRY extends org.openbase.jul.pattern.Remote & Identifiable<KEY>>,RegistryPlugin<KEY,ENTRY extends org.openbase.jul.pattern.Remote & Identifiable<KEY>,RegistryImpl<KEY,ENTRY extends org.openbase.jul.pattern.Remote & Identifiable<KEY>>>>CouldNotPerformExceptionpublic void notifySynchronization()
notifySynchronization in interface SynchronizableRegistry<KEY,ENTRY extends org.openbase.jul.pattern.Remote & Identifiable<KEY>>public boolean isInitiallySynchronized()
isInitiallySynchronized in interface SynchronizableRegistry<KEY,ENTRY extends org.openbase.jul.pattern.Remote & Identifiable<KEY>>public long getLastSynchronizationTimestamp()
throws NotAvailableException
getLastSynchronizationTimestamp in interface SynchronizableRegistry<KEY,ENTRY extends org.openbase.jul.pattern.Remote & Identifiable<KEY>>NotAvailableException - is thrown in case the synchronization was never performed.Copyright © 2015–2018 openbase.org. All rights reserved.