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.discovery |
These are utility classes and interfaces that conform to the discovery and join
protocol defined in the Jini Discovery and Join Specification.
|
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,Throwable> |
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,Throwable> 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 |
LookupDiscoveryRegistration.getLease()
Returns the Lease object that controls a client's registration with
the lookup discovery service.
|
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.