M - public abstract class AbstractRegistrySynchronizationFuture<M extends com.google.protobuf.GeneratedMessage>
extends org.openbase.jul.schedule.AbstractSynchronizationFuture<M>
| Constructor and Description |
|---|
AbstractRegistrySynchronizationFuture(Future<M> internalFuture,
SynchronizedRemoteRegistry<String,M,?> remoteRegistry,
org.openbase.jul.storage.registry.RegistryRemote registryRemote) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addObserver(org.openbase.jul.pattern.Observer observer) |
protected void |
beforeWaitForSynchronization() |
protected boolean |
check(M message) |
protected abstract boolean |
check(M message,
SynchronizedRemoteRegistry<String,M,?> remoteRegistry) |
protected void |
removeObserver(org.openbase.jul.pattern.Observer observer) |
public AbstractRegistrySynchronizationFuture(Future<M> internalFuture, SynchronizedRemoteRegistry<String,M,?> remoteRegistry, org.openbase.jul.storage.registry.RegistryRemote registryRemote)
protected void addObserver(org.openbase.jul.pattern.Observer observer)
addObserver in class org.openbase.jul.schedule.AbstractSynchronizationFuture<M extends com.google.protobuf.GeneratedMessage>protected void removeObserver(org.openbase.jul.pattern.Observer observer)
removeObserver in class org.openbase.jul.schedule.AbstractSynchronizationFuture<M extends com.google.protobuf.GeneratedMessage>protected void beforeWaitForSynchronization()
throws org.openbase.jul.exception.CouldNotPerformException
beforeWaitForSynchronization in class org.openbase.jul.schedule.AbstractSynchronizationFuture<M extends com.google.protobuf.GeneratedMessage>org.openbase.jul.exception.CouldNotPerformExceptionprotected boolean check(M message) throws org.openbase.jul.exception.CouldNotPerformException
check in class org.openbase.jul.schedule.AbstractSynchronizationFuture<M extends com.google.protobuf.GeneratedMessage>org.openbase.jul.exception.CouldNotPerformExceptionprotected abstract boolean check(M message, SynchronizedRemoteRegistry<String,M,?> remoteRegistry) throws org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.CouldNotPerformExceptionCopyright © 2014–2017 openbase.org. All rights reserved.