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

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

public class Locker_JavaIo
extends Object
implements Locker

Internal class.


Constructor Summary
Locker_JavaIo(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_JavaIo

public Locker_JavaIo(File lockFile)
Method Detail

lock

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

release

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

isLocked

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


Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.