org.eclipse.core.runtime.internal.adaptor
Class Locker_JavaNio
java.lang.Object
org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio
- All Implemented Interfaces:
- Locker
public class Locker_JavaNio
- extends Object
- implements Locker
Internal class.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Locker_JavaNio
public Locker_JavaNio(File lockFile)
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.