org.eclipse.core.runtime.internal.adaptor
Class Locker_JavaNio

java.lang.Object
  extended by org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio
All Implemented Interfaces:
Locker

public class Locker_JavaNio
extends java.lang.Object
implements Locker

Internal class.


Constructor Summary
Locker_JavaNio(java.io.File lockFile)
           
 
Method Summary
 boolean isLocked()
           
 boolean lock()
           
 void release()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Locker_JavaNio

public Locker_JavaNio(java.io.File lockFile)
Method Detail

lock

public boolean lock()
             throws java.io.IOException
Specified by:
lock in interface Locker
Throws:
java.io.IOException

release

public void release()
Specified by:
release in interface Locker

isLocked

public boolean isLocked()
                 throws java.io.IOException
Specified by:
isLocked in interface Locker
Throws:
java.io.IOException


Copyright © 2007-2012 FuseSource, Corp.. All Rights Reserved.