Class AvailabilityCheckingClusterEventService
java.lang.Object
com.atlassian.confluence.impl.cluster.event.AvailabilityCheckingClusterEventService
- All Implemented Interfaces:
ClusterEventService
@Deprecated
public final class AvailabilityCheckingClusterEventService
extends Object
implements ClusterEventService
Deprecated.
since 8.4 No longer required
An implementation of
ClusterEventService which wraps two others, checking them for isAvailable()
each time publishEventToCluster(Object) is invoked.
THis exists for the benefit of Zero Downtime Upgrades, where different application versions can exist in a cluster,
and we need to continue to ensure that cluster events continue to propagate during the rolling upgrade.- Since:
- 8.3
-
Constructor Summary
ConstructorsConstructorDescriptionAvailabilityCheckingClusterEventService(ClusterEventService primary, ClusterEventService secondary) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.com.google.common.util.concurrent.ListenableFuture<?> publishEventToCluster(Object event) Deprecated.
-
Constructor Details
-
AvailabilityCheckingClusterEventService
public AvailabilityCheckingClusterEventService(ClusterEventService primary, ClusterEventService secondary) Deprecated.
-
-
Method Details
-
publishEventToCluster
Deprecated.- Specified by:
publishEventToClusterin interfaceClusterEventService
-
isAvailable
public boolean isAvailable()Deprecated.- Specified by:
isAvailablein interfaceClusterEventService
-