KEY - ENTRY - CONFIG_M - CONFIG_MB - public abstract class ActivatableEntryRegistrySynchronizer<KEY,ENTRY extends Configurable<KEY,CONFIG_M> & Activatable & Shutdownable,CONFIG_M extends com.google.protobuf.GeneratedMessage,CONFIG_MB extends com.google.protobuf.GeneratedMessage.Builder<CONFIG_MB>> extends RegistrySynchronizer<KEY,ENTRY,CONFIG_M,CONFIG_MB>
Shutdownable.ShutdownDeamonlocalRegistry, logger, registryRemote, remoteRegistry| Constructor and Description |
|---|
ActivatableEntryRegistrySynchronizer(SynchronizableRegistry<KEY,ENTRY> registry,
RemoteRegistry<KEY,CONFIG_M,CONFIG_MB> remoteRegistry,
RegistryRemote registryRemote,
org.openbase.jul.pattern.Factory<ENTRY,CONFIG_M> factory) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
activationCondition(CONFIG_M config) |
void |
deactivate() |
ENTRY |
register(CONFIG_M config) |
ENTRY |
remove(CONFIG_M config) |
void |
shutdown() |
ENTRY |
update(CONFIG_M config) |
activate, getId, isActive, verifyConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregisterShutdownHook, registerShutdownHookpublic ActivatableEntryRegistrySynchronizer(SynchronizableRegistry<KEY,ENTRY> registry, RemoteRegistry<KEY,CONFIG_M,CONFIG_MB> remoteRegistry, RegistryRemote registryRemote, org.openbase.jul.pattern.Factory<ENTRY,CONFIG_M> factory) throws InstantiationException
InstantiationExceptionpublic ENTRY update(CONFIG_M config) throws CouldNotPerformException, InterruptedException
update in class RegistrySynchronizer<KEY,ENTRY extends Configurable<KEY,CONFIG_M> & Activatable & Shutdownable,CONFIG_M extends com.google.protobuf.GeneratedMessage,CONFIG_MB extends com.google.protobuf.GeneratedMessage.Builder<CONFIG_MB>>CouldNotPerformExceptionInterruptedExceptionpublic ENTRY register(CONFIG_M config) throws CouldNotPerformException, InterruptedException
register in class RegistrySynchronizer<KEY,ENTRY extends Configurable<KEY,CONFIG_M> & Activatable & Shutdownable,CONFIG_M extends com.google.protobuf.GeneratedMessage,CONFIG_MB extends com.google.protobuf.GeneratedMessage.Builder<CONFIG_MB>>CouldNotPerformExceptionInterruptedExceptionpublic ENTRY remove(CONFIG_M config) throws CouldNotPerformException, InterruptedException
remove in class RegistrySynchronizer<KEY,ENTRY extends Configurable<KEY,CONFIG_M> & Activatable & Shutdownable,CONFIG_M extends com.google.protobuf.GeneratedMessage,CONFIG_MB extends com.google.protobuf.GeneratedMessage.Builder<CONFIG_MB>>CouldNotPerformExceptionInterruptedExceptionpublic void deactivate()
throws CouldNotPerformException,
InterruptedException
deactivate in interface Activatabledeactivate in class RegistrySynchronizer<KEY,ENTRY extends Configurable<KEY,CONFIG_M> & Activatable & Shutdownable,CONFIG_M extends com.google.protobuf.GeneratedMessage,CONFIG_MB extends com.google.protobuf.GeneratedMessage.Builder<CONFIG_MB>>CouldNotPerformExceptionInterruptedExceptionpublic void shutdown()
shutdown in interface Shutdownableshutdown in class RegistrySynchronizer<KEY,ENTRY extends Configurable<KEY,CONFIG_M> & Activatable & Shutdownable,CONFIG_M extends com.google.protobuf.GeneratedMessage,CONFIG_MB extends com.google.protobuf.GeneratedMessage.Builder<CONFIG_MB>>public abstract boolean activationCondition(CONFIG_M config)
Copyright © 2015–2018 openbase.org. All rights reserved.