public class LeaseManager extends Object
| Constructor and Description |
|---|
LeaseManager(org.neo4j.tooling.Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
Lease |
createLease(long seconds,
PagedTraverser leasedTraverser) |
org.neo4j.tooling.Clock |
getClock() |
Lease |
getLeaseById(String id) |
void |
remove(String key) |
void |
setClock(org.neo4j.tooling.Clock clock) |
public Lease createLease(long seconds, PagedTraverser leasedTraverser) throws LeaseAlreadyExpiredException
LeaseAlreadyExpiredExceptionpublic org.neo4j.tooling.Clock getClock()
public void setClock(org.neo4j.tooling.Clock clock)
public void remove(String key)
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.