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 requiredAn implementation ofClusterEventService
which wraps two others, checking them forisAvailable()
each timepublishEventToCluster(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
Constructors Constructor Description AvailabilityCheckingClusterEventService(ClusterEventService primary, ClusterEventService secondary)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
isAvailable()
Deprecated.com.google.common.util.concurrent.ListenableFuture<?>
publishEventToCluster(Object event)
Deprecated.
-
-
-
Constructor Detail
-
AvailabilityCheckingClusterEventService
public AvailabilityCheckingClusterEventService(ClusterEventService primary, ClusterEventService secondary)
Deprecated.
-
-
Method Detail
-
publishEventToCluster
public com.google.common.util.concurrent.ListenableFuture<?> publishEventToCluster(Object event)
Deprecated.- Specified by:
publishEventToCluster
in interfaceClusterEventService
-
isAvailable
public boolean isAvailable()
Deprecated.- Specified by:
isAvailable
in interfaceClusterEventService
-
-