Package | Description |
---|---|
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.
|
org.apache.river.outrigger |
This is an implementation of a JavaSpaces technology-enabled service.
|
Modifier and Type | Class and Description |
---|---|
class |
CannotAbortException
Exception thrown when a transaction cannot abort because it has already
already decided to commit.
|
class |
CannotCommitException
Exception thrown when a transaction cannot commit because it has already
aborted or must now be aborted.
|
class |
CannotJoinException
Exception thrown when a transaction cannot be joined because it is no
longer active.
|
class |
CannotNestException
Exception thrown when an object does not support nested transactions.
|
class |
TimeoutExpiredException
Exception thrown when a transaction timeout has expired.
|
class |
UnknownTransactionException
Exception thrown when a transaction is not recognized as a valid
or known transaction.
|
Modifier and Type | Class and Description |
---|---|
class |
CrashCountException
Exception thrown when a transaction cannot be joined because the
participant's current crash count is different from the crash
count the manager received in a previous join by that participant.
|
Modifier and Type | Method and Description |
---|---|
MatchSet |
JavaSpace05.contents(Collection tmpls,
Transaction txn,
long leaseDuration,
long maxEntries)
Creates a match set that can be used to
exhaustively read through all of the matching entries in
the space that are visible to the passed
Transaction and remain visible for the lifetime of the
match set. |
EventRegistration |
JavaSpace.notify(Entry tmpl,
Transaction txn,
RemoteEventListener listener,
long lease,
MarshalledObject handback)
When entries are written that match this template notify the
given
listener with a RemoteEvent that
includes the handback object. |
Entry |
JavaSpace.read(Entry tmpl,
Transaction txn,
long timeout)
Read any matching entry from the space, blocking until one exists.
|
Entry |
JavaSpace.readIfExists(Entry tmpl,
Transaction txn,
long timeout)
Read any matching entry from the space, returning
null if there is currently is none. |
EventRegistration |
JavaSpace05.registerForAvailabilityEvent(Collection tmpls,
Transaction txn,
boolean visibilityOnly,
RemoteEventListener listener,
long leaseDuration,
MarshalledObject handback)
Register for events triggered when a matching
Entry
transitions from unavailable to available. |
Collection |
JavaSpace05.take(Collection tmpls,
Transaction txn,
long timeout,
long maxEntries)
This method provides an overload of the
JavaSpace.take method that attempts to
remove, optionally under a Transaction , and return
one or more entries from the space. |
Entry |
JavaSpace.take(Entry tmpl,
Transaction txn,
long timeout)
Take a matching entry from the space, waiting until one exists.
|
Entry |
JavaSpace.takeIfExists(Entry tmpl,
Transaction txn,
long timeout)
Take a matching entry from the space, returning
null if there is currently is none. |
Lease |
JavaSpace.write(Entry entry,
Transaction txn,
long lease)
Write a new entry into the space.
|
List |
JavaSpace05.write(List entries,
Transaction txn,
List leaseDurations)
This method provides an overload of the
JavaSpace.write method that allows new
copies of multiple Entry instances to be stored in
the space using a single call. |
Modifier and Type | Method and Description |
---|---|
org.apache.river.outrigger.MatchSetData |
OutriggerServerImpl.contents(org.apache.river.outrigger.EntryRep[] tmpls,
Transaction tr,
long leaseTime,
long limit) |
Uuid |
OutriggerServerImpl.contents(org.apache.river.outrigger.EntryRep tmpl,
Transaction tr) |
AdminIterator |
JavaSpaceAdmin.contents(Entry tmpl,
Transaction txn)
Deprecated.
Return an
AdminIterator that will iterate over all
the entries in the space that match the given template and are
visible under the given transaction. |
AdminIterator |
ConstrainableJavaSpaceAdmin.contents(Entry tmpl,
Transaction txn)
Deprecated.
Return an
AdminIterator that will iterate over all
the entries in the space that match the given template and are
visible under the given transaction. |
AdminIterator |
JavaSpaceAdmin.contents(Entry tmpl,
Transaction txn,
int fetchSize)
Deprecated.
Return an
AdminIterator that will iterate over all
the entries in the space that match the given template and are
visible under the given transaction. |
AdminIterator |
ConstrainableJavaSpaceAdmin.contents(Entry tmpl,
Transaction txn,
int fetchSize)
Deprecated.
Return an
AdminIterator that will iterate over all
the entries in the space that match the given template and are
visible under the given transaction. |
AdminIterator |
ConstrainableJavaSpaceAdmin.contents(Entry tmpl,
Transaction txn,
int fetchSize,
MethodConstraints constrains)
Deprecated.
Return an
AdminIterator that will iterate over all
the entries in the space that match the given template and are
visible under the given transaction. |
EventRegistration |
OutriggerServerImpl.notify(org.apache.river.outrigger.EntryRep tmpl,
Transaction tr,
RemoteEventListener listener,
long leaseTime,
MarshalledObject handback) |
Object |
OutriggerServerImpl.read(org.apache.river.outrigger.EntryRep tmpl,
Transaction txn,
long timeout,
OutriggerServer.QueryCookie cookie) |
Object |
OutriggerServerImpl.readIfExists(org.apache.river.outrigger.EntryRep tmpl,
Transaction txn,
long timeout,
OutriggerServer.QueryCookie cookie) |
EventRegistration |
OutriggerServerImpl.registerForAvailabilityEvent(org.apache.river.outrigger.EntryRep[] tmpls,
Transaction tr,
boolean visibilityOnly,
RemoteEventListener listener,
long leaseTime,
MarshalledObject handback) |
Object |
OutriggerServerImpl.take(org.apache.river.outrigger.EntryRep[] tmpls,
Transaction tr,
long timeout,
int limit,
OutriggerServer.QueryCookie queryCookieFromClient) |
Object |
OutriggerServerImpl.take(org.apache.river.outrigger.EntryRep tmpl,
Transaction txn,
long timeout,
OutriggerServer.QueryCookie cookie) |
Object |
OutriggerServerImpl.takeIfExists(org.apache.river.outrigger.EntryRep tmpl,
Transaction txn,
long timeout,
OutriggerServer.QueryCookie cookie) |
long[] |
OutriggerServerImpl.write(org.apache.river.outrigger.EntryRep[] entries,
Transaction tr,
long[] leaseTimes) |
long[] |
OutriggerServerImpl.write(org.apache.river.outrigger.EntryRep rep,
Transaction tr,
long lease) |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.