com.atlassian.confluence.cluster
Class ClusterTouchFile

java.lang.Object
  extended by 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

Constructor Summary
ClusterTouchFile(SharedDataManager clusterSharedDataManager)
           
 
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
 

Constructor Detail

ClusterTouchFile

public ClusterTouchFile(SharedDataManager clusterSharedDataManager)
Method Detail

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.