Package | Description |
---|---|
net.jini.core.lease |
These are distributed leasing interfaces and classes.
|
net.jini.core.transaction |
These are the transaction abstraction's interfaces and classes.
|
net.jini.core.transaction.server |
These are the default transaction semantics for participant/manager interaction.
|
net.jini.event | |
org.apache.river.landlord |
This is a utility for services implementing leases.
|
org.apache.river.lease |
Some basic utility classes for helping with
client-side lease renewal operations.
|
org.apache.river.outrigger |
This is an implementation of a JavaSpaces technology-enabled service.
|
Modifier and Type | Method and Description |
---|---|
void |
Lease.renew(long duration)
Used to renew a lease for an additional period of time, specified in
milliseconds.
|
Modifier and Type | Method and Description |
---|---|
NestableTransaction.Created |
NestableTransaction.create(long leaseTime)
Create a new nested transaction, with the current transaction as
parent, managed by the same transaction manager as the current
transaction.
|
static NestableTransaction.Created |
TransactionFactory.create(NestableTransactionManager mgr,
long leaseTime)
Create a new top-level transaction, under which nested transactions
can be created.
|
NestableTransaction.Created |
NestableTransaction.create(NestableTransactionManager mgr,
long leaseTime)
Create a new nested transaction, with the current transaction as
parent, managed by the given transaction manager.
|
static Transaction.Created |
TransactionFactory.create(TransactionManager mgr,
long leaseTime)
Create a new top-level transaction.
|
Modifier and Type | Method and Description |
---|---|
TransactionManager.Created |
TransactionManager.create(long lease)
Begin a new top-level transaction.
|
NestableTransaction.Created |
NestableServerTransaction.create(long leaseTime) |
NestableTransaction.Created |
NestableServerTransaction.create(NestableTransactionManager mgr,
long leaseTime) |
TransactionManager.Created |
NestableTransactionManager.create(NestableTransactionManager parentMgr,
long parentID,
long lease)
Begin a nested transaction, with the specified transaction as parent.
|
Modifier and Type | Method and Description |
---|---|
MailboxPullRegistration |
PullEventMailbox.pullRegister(long leaseDuration)
Defines the interface to the event mailbox service.
|
MailboxRegistration |
EventMailbox.register(long leaseDuration)
Defines the interface to the event mailbox service.
|
Modifier and Type | Method and Description |
---|---|
protected long |
LandlordLease.doRenew(long renewDuration) |
LeasePeriodPolicy.Result |
LeasePeriodPolicy.grant(LeasedResource resource,
long requestedDuration)
Calculate the initial expiration and duration for
a new lease.
|
LeasePeriodPolicy.Result |
FixedLeasePeriodPolicy.grant(LeasedResource resource,
long requestedDuration) |
LeasePeriodPolicy.Result |
LeasePeriodPolicy.renew(LeasedResource resource,
long requestedDuration)
Calculate the expiration and duration for an
existing lease that is being renewed.
|
LeasePeriodPolicy.Result |
FixedLeasePeriodPolicy.renew(LeasedResource resource,
long requestedDuration) |
long |
LocalLandlord.renew(Uuid cookie,
long duration)
Renew the lease that is associated with the given cookie.
|
long |
Landlord.renew(Uuid cookie,
long duration)
Called by the lease when its
renew method is called. |
Modifier and Type | Method and Description |
---|---|
protected abstract long |
AbstractLease.doRenew(long duration)
Renew the lease for a duration relative to now, and return
the duration actually granted.
|
void |
AbstractLease.renew(long duration)
Renew the lease for a duration relative to now.
|
Modifier and Type | Method and Description |
---|---|
long |
OutriggerServerImpl.renew(Uuid cookie,
long extension) |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.