net.tomp2p.connection
Class DefaultReservation
java.lang.Object
net.tomp2p.connection.DefaultReservation
- All Implemented Interfaces:
- Reservation
public class DefaultReservation
- extends Object
- implements Reservation
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultReservation
public DefaultReservation()
shutdown
public void shutdown()
- Specified by:
shutdown in interface Reservation
acquire
public boolean acquire(Semaphore semaphore,
int permits)
- Specified by:
acquire in interface Reservation
runDeadLockProof
public void runDeadLockProof(Scheduler scheduler,
FutureRunnable futureRunnable)
- Specified by:
runDeadLockProof in interface Reservation
prepareDeadLockCheck
public void prepareDeadLockCheck()
- Specified by:
prepareDeadLockCheck in interface Reservation
removeDeadLockCheck
public void removeDeadLockCheck(long creatorThread)
- Specified by:
removeDeadLockCheck in interface Reservation
Copyright © 2013. All Rights Reserved.