org.sca4j.binding.file.runtime
Class FileEndpointLock

java.lang.Object
  extended by org.sca4j.binding.file.runtime.FileEndpointLock

public class FileEndpointLock
extends java.lang.Object

Represents the cluster-wide endpoint lock to ensure serialised access to a file endpoint.


Method Summary
static FileEndpointLock acquireEndpointLock(java.io.File endpointDir)
          Create the instance of FileEndpointLock, returns null if endpoint lock could not be acquired.
 void releaseEndpointLock()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

acquireEndpointLock

public static FileEndpointLock acquireEndpointLock(java.io.File endpointDir)
Create the instance of FileEndpointLock, returns null if endpoint lock could not be acquired.

Parameters:
endpointDir - endpoint dir
Returns:

releaseEndpointLock

public void releaseEndpointLock()


Copyright © 2008-2011 Service Symphony. All Rights Reserved.