org.neo4j.server.rest.paging
Class LeaseManager
java.lang.Object
org.neo4j.server.rest.paging.LeaseManager
public class LeaseManager
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LeaseManager
public LeaseManager(Clock clock)
createLease
public Lease createLease(long seconds,
PagedTraverser leasedTraverser)
throws LeaseAlreadyExpiredException
- Throws:
LeaseAlreadyExpiredException
getLeaseById
public Lease getLeaseById(String id)
getClock
public Clock getClock()
setClock
public void setClock(Clock clock)
remove
public void remove(String key)
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.