Package | Description |
---|---|
com.sun.jini.landlord |
This is a utility for services implementing leases.
|
com.sun.jini.mahalo |
Provides implementations of the
TransactionManager service.
|
com.sun.jini.mercury |
Provides implementations of the
EventMailbox service.
|
com.sun.jini.norm |
Provides implementations of
LeaseRenewalService . |
com.sun.jini.outrigger |
This is an implementation of a JavaSpaces technology-enabled service.
|
Modifier and Type | Method and Description |
---|---|
protected long |
FixedLeasePeriodPolicy.calculateDuration(LeasedResource resource,
long requestedDuration)
Returns the duration this policy is willing to grant for the
passed resource at this time.
|
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) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
TxnManagerTransaction
TxnManagerTransaction is a class which
captures the internal representation of a transaction
in the TxnManagerImpl server.
|
Modifier and Type | Method and Description |
---|---|
private static boolean |
TxnManagerImpl.ensureCurrent(LeasedResource resource)
Utility method that check for valid resource
|
void |
LeaseManager.register(LeasedResource resource)
Notifies the manager of a new lease being created.
|
void |
LeaseExpirationMgr.register(LeasedResource resource) |
void |
LeaseManager.renewed(LeasedResource resource)
Notifies the manager of a lease being renewed.
|
void |
LeaseExpirationMgr.renewed(LeasedResource resource) |
private void |
LeaseExpirationMgr.schedule(LeasedResource resource)
Schedule a leased resource to be reaped in the future.
|
Constructor and Description |
---|
LeaseExpirationMgr.Canceler(LeasedResource resource)
Create a
Canceler for the passed resource |
Modifier and Type | Class and Description |
---|---|
(package private) class |
ServiceRegistration
The ServiceRegistration class serves as the server-side abstraction
that maintains client registration state information.
|
Modifier and Type | Method and Description |
---|---|
private static boolean |
MailboxImpl.ensureCurrent(LeasedResource resource)
Utility method that check for valid resource
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
LeaseSet
Norm's internal representation of LeaseRenewalSets.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
LeaseExpirationMgr.register(LeasedResource resource)
Notifies the manager of a new lease being created.
|
(package private) void |
LeaseExpirationMgr.reschedule(LeasedResource resource)
Notifies the manager of a lease being renewed.
|
(package private) void |
LeaseExpirationMgr.schedule(LeasedResource resource)
Schedule a leased resource to be reaped in the future.
|
Modifier and Type | Interface and Description |
---|---|
(package private) interface |
EventRegistrationRecord
Common functionally shared between new entry and (re)visibility
events.
|
interface |
StorableResource
Sub-interface of
StorableObject that must be implemented by
objects that represent leased resources and must persist their state. |
Modifier and Type | Class and Description |
---|---|
(package private) class |
AvailabilityRegistrationWatcher
Subclass of
TransitionWatcher for availability event
registrations. |
(package private) class |
EntryRep
An
EntryRep object contains a packaged
Entry object for communication between the client and a
JavaSpace . |
(package private) class |
EventRegistrationWatcher
Subclass of
TransitionWatcher for event
registrations. |
private class |
OutriggerServerImpl.ContentsQuery
Object that keeps the current state of contents queries.
|
(package private) class |
StorableAvailabilityWatcher
Subclass of
AvailabilityRegistrationWatcher for
non-transactional persistent availability/visibility event
registrations. |
(package private) class |
StorableEventWatcher
Subclass of
EventRegistrationWatcher for non-transactional
persistent event registrations. |
(package private) class |
TransactableAvailabilityWatcher
Subclass of
AvailabilityRegistrationWatcher for
transactional availability event registrations. |
(package private) class |
TransactableEventWatcher
Subclass of EventRegistrationWatcher for transactional
event registrations.
|
Modifier and Type | Method and Description |
---|---|
LeasedResource |
LeaseDesc.getLeasedResource()
Return the
LeasedResource object for this resource. |
LeasedResource |
EntryHandle.getLeasedResource() |
(package private) LeasedResource |
EntryHolderSet.getLeasedResource(Uuid cookie) |
Modifier and Type | Method and Description |
---|---|
private LeasePeriodPolicy.Result |
OutriggerServerImpl.grant(LeasedResource resource,
long requestedDuration,
LeasePeriodPolicy policy,
String policyName)
Utility method to calculate the lease duration/expiration for
a new resource and set the resource's expiration.
|
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.