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 SummaryConstructorsConstructorDescriptionAvailabilityCheckingClusterEventService(ClusterEventService primary, ClusterEventService secondary) Deprecated.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanDeprecated.com.google.common.util.concurrent.ListenableFuture<?> publishEventToCluster(Object event) Deprecated.
- 
Constructor Details- 
AvailabilityCheckingClusterEventServicepublic AvailabilityCheckingClusterEventService(ClusterEventService primary, ClusterEventService secondary) Deprecated.
 
- 
- 
Method Details- 
publishEventToClusterDeprecated.- Specified by:
- publishEventToClusterin interface- ClusterEventService
 
- 
isAvailablepublic boolean isAvailable()Deprecated.- Specified by:
- isAvailablein interface- ClusterEventService
 
 
-