org.opennms.netmgt.poller.pollables
Class PollableNode.Lock

java.lang.Object
  extended by org.opennms.netmgt.poller.pollables.PollableNode.Lock
Enclosing class:
PollableNode

public class PollableNode.Lock
extends Object

Represents a Lock

Author:
brozow

Constructor Summary
PollableNode.Lock()
           
 
Method Summary
 boolean isLockAvailable()
           
 void obtain()
           
 void obtain(long timeout)
           
 void release()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollableNode.Lock

public PollableNode.Lock()
Method Detail

obtain

public void obtain()

obtain

public void obtain(long timeout)

release

public void release()

isLockAvailable

public boolean isLockAvailable()
Returns:


Copyright © 2009. All Rights Reserved.