org.apache.oozie.lock
Interface LockToken


public interface LockToken

Lock token returned when obtaining a lock, the token must be released when the lock is not needed anymore. Lock-providing Services (e.g. MemoryLockService) should provide their own implementation of LockToken based on their locking mechanism.


Method Summary
 void release()
          Release the lock.
 

Method Detail

release

void release()
Release the lock.



Copyright © 2015 Apache Software Foundation. All Rights Reserved.