public class MahaloTxnBasicLease extends com.sun.jini.landlord.LandlordLease implements ITransactionLease
expiration, serialFormat| Constructor and Description |
|---|
MahaloTxnBasicLease(net.jini.id.Uuid cookie,
com.sun.jini.landlord.Landlord landlord,
net.jini.id.Uuid landlordUuid,
long expiration) |
| Modifier and Type | Method and Description |
|---|---|
Transaction |
getCreatedTransaction() |
void |
renew(long duration)
Renew the lease for a duration relative to now.
|
void |
setCreatedTransaction(Transaction tx) |
canBatch, cancel, createLeaseMap, doRenew, equals, getReferentUuid, hashCode, setLandlord, toStringgetExpiration, getSerialFormat, setSerialFormatclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanBatch, cancel, createLeaseMap, getExpiration, getSerialFormat, setSerialFormatpublic MahaloTxnBasicLease(net.jini.id.Uuid cookie,
com.sun.jini.landlord.Landlord landlord,
net.jini.id.Uuid landlordUuid,
long expiration)
public Transaction getCreatedTransaction()
public void setCreatedTransaction(Transaction tx)
setCreatedTransaction in interface ITransactionLeasepublic void renew(long duration)
throws UnknownLeaseException,
LeaseDeniedException,
RemoteException
renew in interface Leaserenew in class AbstractLeaseduration - the requested duration in millisecondsUnknownLeaseException - the lease being renewed is unknown
to the lease grantorLeaseDeniedException - the lease grantor is unable or
unwilling to renew the leaseRemoteExceptionCopyright © GigaSpaces.