Class ClusterJoinSocketInterceptor
java.lang.Object
com.atlassian.confluence.impl.cluster.nutcluster.interceptor.ClusterJoinSocketInterceptor
- All Implemented Interfaces:
com.atlassian.nutcluster.core.NutclusterInstanceAware,com.atlassian.nutcluster.nio.MemberSocketInterceptor,com.atlassian.nutcluster.nio.SocketInterceptor
public final class ClusterJoinSocketInterceptor
extends Object
implements com.atlassian.nutcluster.nio.MemberSocketInterceptor, com.atlassian.nutcluster.core.NutclusterInstanceAware
A
MemberSocketInterceptor which delegates to ClusterJoinManager to verify if a member can join.
Unfortunately this cannot be a singleton as it requires access to the
invalid reference
node's
invalid reference
SerializationService
- Since:
- 7.17.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(Properties properties) voidvoidvoidsetNutclusterInstance(com.atlassian.nutcluster.core.NutclusterInstance nutcluster)
-
Constructor Details
-
ClusterJoinSocketInterceptor
public ClusterJoinSocketInterceptor()
-
-
Method Details
-
init
- Specified by:
initin interfacecom.atlassian.nutcluster.nio.SocketInterceptor
-
onAccept
- Specified by:
onAcceptin interfacecom.atlassian.nutcluster.nio.MemberSocketInterceptor- Throws:
IOException
-
onConnect
- Specified by:
onConnectin interfacecom.atlassian.nutcluster.nio.SocketInterceptor- Throws:
IOException
-
setNutclusterInstance
public void setNutclusterInstance(com.atlassian.nutcluster.core.NutclusterInstance nutcluster) - Specified by:
setNutclusterInstancein interfacecom.atlassian.nutcluster.core.NutclusterInstanceAware
-