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