Package | Description |
---|---|
net.jini.core.event |
The
RemoteEventListener interface and related standard classes. |
net.jini.core.lease |
These are distributed leasing interfaces and classes.
|
net.jini.core.lookup |
These are the lookup service 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.space |
JavaSpaces servers provide a place on the network, a space,
for clients to store and exchange objects.
|
Modifier and Type | Method and Description |
---|---|
Lease |
EventRegistration.getLease()
Returns the Lease object for this registration.
|
Constructor and Description |
---|
EventRegistration(long eventID,
Object source,
Lease lease,
long seqNum)
Constructs an EventRegistration object.
|
Modifier and Type | Field and Description |
---|---|
Map<Lease,Exception> |
LeaseMapException.exceptionMap
A Map from Lease to Exception, containing each lease that failed to
renew or cancel, and the exception that resulted from that lease's
renewal or cancel attempt.
|
Modifier and Type | Method and Description |
---|---|
LeaseMap<? extends Lease,Long> |
Lease.createLeaseMap(long duration)
Creates a Map object that can contain leases whose renewal or
cancellation can be batched, and adds the current lease to that map.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Lease.canBatch(Lease lease)
Returns a boolean indicating whether or not the lease given as a
parameter can be batched (placed in the same LeaseMap) with the
current lease.
|
Constructor and Description |
---|
LeaseMapException(String s,
Map<Lease,Exception> exceptionMap)
Constructs a LeaseMapException for the specified map with a
detail message.
|
Modifier and Type | Method and Description |
---|---|
Lease |
ServiceRegistration.getLease()
Returns the lease that controls the service registration, allowing
the lease to be renewed or cancelled.
|
Modifier and Type | Field and Description |
---|---|
Lease |
Transaction.Created.lease
The lease.
|
Lease |
NestableTransaction.Created.lease
The lease.
|
Constructor and Description |
---|
Created(NestableTransaction transaction,
Lease lease)
Simple constructor.
|
Created(Transaction transaction,
Lease lease)
Simple constructor.
|
Modifier and Type | Field and Description |
---|---|
Lease |
TransactionManager.Created.lease
The lease.
|
Constructor and Description |
---|
Created(long id,
Lease lease)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
Lease |
MatchSet.getLease()
Returns a proxy to the
Lease associated with this
match set, or null if this match set is not
leased. |
Lease |
JavaSpace.write(Entry entry,
Transaction txn,
long lease)
Write a new entry into the space.
|