A C E G H I L M N R S T U

A

addToSpace(Tuple) - Method in interface net.sf.tuplespace.TupleSpace
Adds tuple to the space.
addToSpace(Tuple) - Method in class net.sf.tuplespace.simple.SimpleTupleSpace
 

C

checkTemplate(Template) - Static method in class net.sf.tuplespace.simple.SimpleTupleSpace
Assert that the Template is non-null.
checkTuple(Tuple) - Static method in class net.sf.tuplespace.simple.SimpleTupleSpace
Assert that the Tuple is non-null.

E

equals(Object) - Method in class net.sf.tuplespace.simple.SimpleTemplate
Templates can be equal to each other if they follow the same template, that is they have the same formal and actual parameters in the same order.
equals(Object) - Method in class net.sf.tuplespace.simple.SimpleTuple
Tuples can be equal to each other if they have the same values in the same positions.
execute(TupleSpace) - Method in interface net.sf.tuplespace.utils.UnitOfWork
Execute one unit of work.
execute(TupleSpace) - Method in class net.sf.tuplespace.utils.UnitOfWorkRunner
Delegate to #unitOfWork.

G

getValueAt(int) - Method in interface net.sf.tuplespace.Tuple
Returns the object held at index index in the tuple.
getValueAt(int) - Method in class net.sf.tuplespace.simple.SimpleTuple
 

H

hashCode() - Method in class net.sf.tuplespace.simple.SimpleTemplate
 
hashCode() - Method in class net.sf.tuplespace.simple.SimpleTuple
 

I

InterruptedWhileWaitingException - exception net.sf.tuplespace.InterruptedWhileWaitingException.
An exception thrown when a Thread waiting on TupleSpace is interrupted.
InterruptedWhileWaitingException(Throwable) - Constructor for class net.sf.tuplespace.InterruptedWhileWaitingException
 
InterruptedWhileWaitingException(String, Throwable) - Constructor for class net.sf.tuplespace.InterruptedWhileWaitingException
 
isDone() - Method in interface net.sf.tuplespace.utils.UnitOfWork
Return true if you are done, false otherwise.
isDone() - Method in class net.sf.tuplespace.utils.UnitOfWorkRunner
Delegate to #unitOfWork.
isTemplateATypeMatch(Object) - Method in class net.sf.tuplespace.simple.SimpleTemplate
Determines if templateValue represents a type match.
isTemplateAValueMatch(Object) - Method in class net.sf.tuplespace.simple.SimpleTemplate
Determines if templateValue represents a value match.
isTemplateAWildcardMatch(Object) - Method in class net.sf.tuplespace.simple.SimpleTemplate
Determines if templateValue is a wildcard match.
isTypeMatch(Object, Object) - Method in class net.sf.tuplespace.simple.SimpleTemplate
Determines if both values match according to a type match.
isValueMatch(Object, Object) - Method in class net.sf.tuplespace.simple.SimpleTemplate
Determines if both values are equal, according to some definition of equal.
isWildcardMatch(Object, Object) - Method in class net.sf.tuplespace.simple.SimpleTemplate
Determines if tupleValue is acceptable as a wildcard value.

L

length() - Method in interface net.sf.tuplespace.Tuple
Returns the length of this tuple.
length() - Method in class net.sf.tuplespace.simple.SimpleTuple
 
logger - Variable in class net.sf.tuplespace.simple.SimpleTemplate
A Log instance that this class and subclasses can use to log their actions.
logger - Variable in class net.sf.tuplespace.simple.SimpleTupleSpace
 

M

matches(Tuple) - Method in interface net.sf.tuplespace.Template
Return true if tuple matches this template.
matches(Tuple) - Method in class net.sf.tuplespace.simple.SimpleTemplate
Attempt to match tuple with this template.

N

net.sf.tuplespace - package net.sf.tuplespace
Abstract specification of a TupleSpace.
net.sf.tuplespace.simple - package net.sf.tuplespace.simple
 
net.sf.tuplespace.utils - package net.sf.tuplespace.utils
Various utilities facilitating work with TupleSpace.

R

readAndRemove(Template) - Method in interface net.sf.tuplespace.TupleSpace
Blocks until a Tuple matching Template is available.
readAndRemove(Template) - Method in class net.sf.tuplespace.simple.SimpleTupleSpace
 
readAndRemoveWithTimeout(Template, long) - Method in interface net.sf.tuplespace.TupleSpace
Blocks for a maximum of timeout milliseconds, until a Tuple matching Template is available.
readAndRemoveWithTimeout(Template, long) - Method in class net.sf.tuplespace.simple.SimpleTupleSpace
 
run() - Method in class net.sf.tuplespace.utils.UnitOfWorkRunner
Repeatedly call execute(), until either an exception is thrown, or UnitOfWorkRunner.isDone() is true.

S

SimpleTemplate - class net.sf.tuplespace.simple.SimpleTemplate.
An implementation of Template which considers null as matching anything, and Class matching objects of the specified class.
SimpleTemplate(Object) - Constructor for class net.sf.tuplespace.simple.SimpleTemplate
Instantiate a template with a single parameter.
SimpleTemplate(Object, Object) - Constructor for class net.sf.tuplespace.simple.SimpleTemplate
Instantiate a template with two parameters.
SimpleTemplate(Object, Object, Object) - Constructor for class net.sf.tuplespace.simple.SimpleTemplate
Instantiate a template with three parameters.
SimpleTemplate(Object[]) - Constructor for class net.sf.tuplespace.simple.SimpleTemplate
The general constructor–instantiate a template with a variable number of parameters.
SimpleTuple - class net.sf.tuplespace.simple.SimpleTuple.
A simple implementation of Tuple which stores the objects in an array.
SimpleTuple(Object) - Constructor for class net.sf.tuplespace.simple.SimpleTuple
 
SimpleTuple(Object, Object) - Constructor for class net.sf.tuplespace.simple.SimpleTuple
 
SimpleTuple(Object, Object, Object) - Constructor for class net.sf.tuplespace.simple.SimpleTuple
 
SimpleTuple(Object[]) - Constructor for class net.sf.tuplespace.simple.SimpleTuple
 
SimpleTupleSpace - class net.sf.tuplespace.simple.SimpleTupleSpace.
Implements an unbounded TupleSpace.
SimpleTupleSpace() - Constructor for class net.sf.tuplespace.simple.SimpleTupleSpace
 
setAbortOnException(boolean) - Method in class net.sf.tuplespace.utils.UnitOfWorkRunner
Determine what to do when exceptions occur.
setTupleSpace(TupleSpace) - Method in class net.sf.tuplespace.utils.UnitOfWorkRunner
Sets the TupleSpace to use.
setUnitOfWork(UnitOfWork) - Method in class net.sf.tuplespace.utils.UnitOfWorkRunner
Sets the unit of work to execute.

T

Template - interface net.sf.tuplespace.Template.
Simple interface that TupleSpace expects to determine if a tuple matches.
Tuple - interface net.sf.tuplespace.Tuple.
Tuples are objects that hold other objects.
TupleSpace - interface net.sf.tuplespace.TupleSpace.
Describes a tuple space.
toString() - Method in class net.sf.tuplespace.simple.SimpleTemplate
 
toString() - Method in class net.sf.tuplespace.simple.SimpleTuple
 

U

UnitOfWork - interface net.sf.tuplespace.utils.UnitOfWork.
Represents a single unit of work.
UnitOfWorkRunner - class net.sf.tuplespace.utils.UnitOfWorkRunner.
A class that repeateadly executes a unit of work, always using the same TupleSpace.
UnitOfWorkRunner() - Constructor for class net.sf.tuplespace.utils.UnitOfWorkRunner
Instantiate a new unit of work, with default values.
UnitOfWorkRunner(UnitOfWork, TupleSpace) - Constructor for class net.sf.tuplespace.utils.UnitOfWorkRunner
Instantiate a new unit of work.

A C E G H I L M N R S T U