com.atlassian.confluence.cluster
Class ClusterTouchFile
java.lang.Object
com.atlassian.confluence.cluster.ClusterTouchFile
@ParametersAreNonnullByDefault
@Internal
public class ClusterTouchFile
- extends Object
Represents a file stored in the shared home directory which is used to check if different nodes in the cluster
are seeing the same view of the shared home data. On request, it will touch the disk file and publish that date
to the cluster, whereupon other nodes can verify that date with their own view of the file.
- Since:
- 5.7
Method Summary |
void |
touchFileAndPublish()
Touch the file in shared home (creating the file if necessary), and publish the timestamp
via the cluster shared data manager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterTouchFile
public ClusterTouchFile(SharedDataManager clusterSharedDataManager)
touchFileAndPublish
public void touchFileAndPublish()
- Touch the file in shared home (creating the file if necessary), and publish the timestamp
via the cluster shared data manager.
Copyright © 2003–2015 Atlassian. All rights reserved.