public class JDBCClusterInvalidator extends Object implements ClusterInvalidator
ClusterInvalidator
that uses the JDBC Mapper to read/write invalidations.Constructor and Description |
---|
JDBCClusterInvalidator() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this cluster invalidator and releases resources.
|
void |
initialize(String nodeId,
RepositoryImpl repository)
Initializes the cluster invalidator.
|
protected void |
processClusterInvalidationsNext() |
Invalidations |
receiveInvalidations()
Receives invalidations from other cluster nodes.
|
void |
sendInvalidations(Invalidations invalidations)
Sends invalidations to other cluster nodes.
|
public JDBCClusterInvalidator()
public void initialize(String nodeId, RepositoryImpl repository)
ClusterInvalidator
initialize
in interface ClusterInvalidator
nodeId
- the cluster node idrepository
- the repositorypublic void close()
ClusterInvalidator
close
in interface ClusterInvalidator
protected void processClusterInvalidationsNext()
public Invalidations receiveInvalidations()
ClusterInvalidator
receiveInvalidations
in interface ClusterInvalidator
public void sendInvalidations(Invalidations invalidations)
ClusterInvalidator
sendInvalidations
in interface ClusterInvalidator
Copyright © 2015 Nuxeo SA. All rights reserved.