A B C D E F G H I L M N O P R S T U V W

A

Actor - Class in org.semispace.actor
Implementation of an actor.
Actor() - Constructor for class org.semispace.actor.Actor
 
ActorException - Exception in org.semispace.exception
Problem occurred within the actor framework.
ActorException(String) - Constructor for exception org.semispace.exception.ActorException
 
ActorManifest - Class in org.semispace.actor
The manifest is used when an object is sent without having a clear destination.
ActorManifest(Long, Long) - Constructor for class org.semispace.actor.ActorManifest
 
ActorManifest(long) - Constructor for class org.semispace.actor.ActorManifest
 
ActorMessage - Class in org.semispace.actor
 
ActorMessage() - Constructor for class org.semispace.actor.ActorMessage
 
ActorNotification - Class in org.semispace.actor
Listener of a semispace template.
ActorNotification(Actor, SemiSpaceInterface, Object, boolean) - Constructor for class org.semispace.actor.ActorNotification
 
addHolder(Holder) - Method in class org.semispace.HolderContainer
Protected for the benefit of junit tests.
addHolder(String, long, String, Map<String, String>) - Method in class org.semispace.HolderContainer
 
addHolder(Holder) - Method in class org.semispace.HolderElement
 
amIAdmin - Variable in class org.semispace.admin.IdentifyAdminQuery
 
assumeAdminResponsibility(boolean) - Method in class org.semispace.admin.SemiSpaceAdmin
 

B

block(long) - Method in class org.semispace.SemiBlockingListener
If re-blocking, call reset method first

C

calculateTime() - Method in class org.semispace.admin.SemiSpaceAdmin
 
calculateTime() - Method in interface org.semispace.admin.SemiSpaceAdminInterface
 
cancel() - Method in class org.semispace.ElementLease
 
cancel() - Method in class org.semispace.ListenerLease
 
cancel() - Method in interface org.semispace.SemiLease
Return true if operation was a success
cancelElement(Long, boolean, String) - Method in class org.semispace.SemiSpace
 
cancelListener(ListenerHolder) - Method in class org.semispace.SemiSpace
 
cancelReaper() - Method in class org.semispace.admin.PeriodicHarvest
 
createNewCollection(Holder) - Static method in class org.semispace.HolderElement
 

D

DaemonDelegateFactory - Class in org.semispace.admin
A simple class which just wraps a thread factory in a manner which makes all threads it creates become daemon threads.
DaemonDelegateFactory(ThreadFactory) - Constructor for class org.semispace.admin.DaemonDelegateFactory
 
decreaseBlockingRead() - Method in class org.semispace.SemiSpaceStatistics
 
decreaseBlockingTake() - Method in class org.semispace.SemiSpaceStatistics
 
decreaseNumberOfListeners() - Method in class org.semispace.SemiSpaceStatistics
 
DistributedEvent - Class in org.semispace
Used for distributing event through terracotta.
DistributedEvent(String, SemiEvent, Map<String, String>) - Constructor for class org.semispace.DistributedEvent
 
distributeEvent(DistributedEvent) - Method in class org.semispace.EventDistributor
 

E

ElementLease - Class in org.semispace
Lease for an object in the space
ElementLease(Holder, SemiSpace) - Constructor for class org.semispace.ElementLease
 
EventDistributor - Class in org.semispace
Used for distributing event through terracotta.

F

findAllHolderIds() - Method in class org.semispace.HolderContainer
Return all ids present.
findAllHolderIds() - Method in class org.semispace.SemiSpace
 
findById(long, String) - Method in class org.semispace.HolderContainer
 
findById(long) - Method in class org.semispace.HolderElement
Searching for holder elements with given ID
findOrWaitLeaseForTemplate(Map<String, String>, long, boolean) - Method in class org.semispace.SemiSpace
Public for the benefit of the webservices interface.

G

getActorId() - Method in class org.semispace.actor.Actor
 
getAddress() - Method in class org.semispace.actor.ActorMessage
The destination actor for the message.
getAdmin() - Method in class org.semispace.SemiSpace
Return admin element
getBlockingRead() - Method in class org.semispace.SemiSpaceStatistics
 
getBlockingTake() - Method in class org.semispace.SemiSpaceStatistics
 
getClassName() - Method in class org.semispace.Holder
 
getDefaultLifeMsOfSpaceObject() - Method in class org.semispace.actor.Actor
 
getEntrySet() - Method in class org.semispace.DistributedEvent
 
getEvent() - Method in class org.semispace.DistributedEvent
 
getException() - Method in class org.semispace.SemiSpace.WrappedInternalWriter
 
getHolderClassName() - Method in class org.semispace.DistributedEvent
 
getHolderId() - Method in class org.semispace.actor.ActorManifest
 
getHolderId() - Method in class org.semispace.ElementLease
 
getHolderId() - Method in class org.semispace.ListenerLease
 
getHolderId() - Method in interface org.semispace.SemiLease
 
getId() - Method in class org.semispace.event.SemiAvailabilityEvent
 
getId() - Method in class org.semispace.event.SemiEvent
The id of the object in the system
getId() - Method in class org.semispace.event.SemiExpirationEvent
 
getId() - Method in class org.semispace.event.SemiRenewalEvent
 
getId() - Method in class org.semispace.event.SemiTakenEvent
 
getId() - Method in class org.semispace.Holder
 
getId() - Method in class org.semispace.ListenerHolder
 
getId() - Method in class org.semispace.SemiEventRegistration
 
getInstance() - Static method in class org.semispace.EventDistributor
 
getLease() - Method in class org.semispace.SemiEventRegistration
 
getLease() - Method in class org.semispace.SemiSpace.WrappedInternalWriter
 
getListener() - Method in class org.semispace.ListenerHolder
 
getLiveUntil() - Method in class org.semispace.event.SemiRenewalEvent
 
getLiveUntil() - Method in class org.semispace.Holder
 
getLiveUntil() - Method in class org.semispace.ListenerHolder
 
getMissedRead() - Method in class org.semispace.SemiSpaceStatistics
 
getMissedTake() - Method in class org.semispace.SemiSpaceStatistics
 
getNumberOfListeners() - Method in class org.semispace.SemiSpaceStatistics
 
getOriginatorId() - Method in class org.semispace.actor.ActorManifest
 
getOriginatorId() - Method in class org.semispace.actor.ActorMessage
Sender of the message.
getPayload() - Method in class org.semispace.actor.ActorMessage
The payload of this message
getRead() - Method in class org.semispace.SemiSpaceStatistics
 
getReadTemplates() - Method in class org.semispace.actor.Actor
Default implementation which renders empty array, ie nothing is tried read.
getSearchMap() - Method in class org.semispace.Holder
 
getSearchMap() - Method in class org.semispace.ListenerHolder
 
getSpace() - Method in class org.semispace.admin.SemiSpaceAdmin
 
getSpaceId() - Method in class org.semispace.admin.SemiSpaceAdmin
Used from junit test.
getStatistics() - Method in class org.semispace.SemiSpace
For the benefit of junit test(s) - defensively copied statistics
getTake() - Method in class org.semispace.SemiSpaceStatistics
 
getTakeTemplates() - Method in class org.semispace.actor.Actor
Default implementation which renders an empty array, ie nothing is tried taken.
getThreadPool() - Method in class org.semispace.admin.SemiSpaceAdmin
 
getThreadPool() - Method in interface org.semispace.admin.SemiSpaceAdminInterface
 
getWrite() - Method in class org.semispace.SemiSpaceStatistics
 
getXml() - Method in class org.semispace.Holder
 
getXStream() - Method in class org.semispace.SemiSpace
Exposing xstream instance in order to allow outside manipulation of aliases and classloader affiliation.

H

harvest() - Method in class org.semispace.SemiSpace
Harvest old elements from diverse listeners.
hasAnswered - Variable in class org.semispace.admin.IdentifyAdminQuery
 
hasBeenInitialized() - Method in class org.semispace.admin.SemiSpaceAdmin
 
hasBeenInitialized() - Method in interface org.semispace.admin.SemiSpaceAdminInterface
 
hasBeenNotified() - Method in class org.semispace.SemiBlockingListener
 
Holder - Class in org.semispace
Holder of an entry written into the space.
Holder(String, long, String, long, Map<String, String>) - Constructor for class org.semispace.Holder
 
HolderContainer - Class in org.semispace
Container for holder elements.
HolderElement - Class in org.semispace
 
HolderElement() - Constructor for class org.semispace.HolderElement
 

I

id - Variable in class org.semispace.admin.IdentifyAdminQuery
 
IdentifyAdminQuery - Class in org.semispace.admin
 
IdentifyAdminQuery() - Constructor for class org.semispace.admin.IdentifyAdminQuery
 
increaseBlockingRead() - Method in class org.semispace.SemiSpaceStatistics
 
increaseBlockingTake() - Method in class org.semispace.SemiSpaceStatistics
 
increaseMissedRead() - Method in class org.semispace.SemiSpaceStatistics
 
increaseMissedTake() - Method in class org.semispace.SemiSpaceStatistics
 
increaseNumberOfListeners() - Method in class org.semispace.SemiSpaceStatistics
 
increaseRead() - Method in class org.semispace.SemiSpaceStatistics
 
increaseTake() - Method in class org.semispace.SemiSpaceStatistics
 
increaseWrite() - Method in class org.semispace.SemiSpaceStatistics
 
incrementReturnNextId() - Method in class org.semispace.HolderContainer
 
InternalQuery - Interface in org.semispace.admin
A mixin interface flagging queries which are internal for the semispace.
isCancelled() - Method in class org.semispace.admin.PeriodicHarvest
 
isFinished - Variable in class org.semispace.admin.TimeQuery
 
isMaster() - Method in class org.semispace.admin.SemiSpaceAdmin
 
isMaster() - Method in interface org.semispace.admin.SemiSpaceAdminInterface
 
isOfType(Class<?>) - Method in class org.semispace.actor.ActorMessage
Use this method to figure out if the payload is of a certain type.
isWaiting() - Method in class org.semispace.HolderElement
 
iterator() - Method in class org.semispace.HolderElement
 

L

ListenerHolder - Class in org.semispace
Holds a reference to the listener, including how long it shall live.
ListenerHolder(long, SemiEventListener, long, Map<String, String>) - Constructor for class org.semispace.ListenerHolder
 
ListenerLease - Class in org.semispace
 
ListenerLease(ListenerHolder, SemiSpace) - Constructor for class org.semispace.ListenerLease
 

M

masterId - Variable in class org.semispace.admin.TimeAnswer
 

N

name - Variable in class org.semispace.NameValueQuery
 
NameValueQuery - Class in org.semispace
 
NameValueQuery() - Constructor for class org.semispace.NameValueQuery
 
newThread(Runnable) - Method in class org.semispace.admin.DaemonDelegateFactory
 
next(String) - Method in class org.semispace.HolderContainer
 
notify(SemiAvailabilityEvent) - Method in class org.semispace.actor.ActorNotification
 
notify(SemiAvailabilityEvent) - Method in class org.semispace.SemiBlockingListener
 
notify(E) - Method in interface org.semispace.SemiEventListener
 
notify(Object, SemiEventListener, long) - Method in class org.semispace.SemiSpace
None of the parameters can be null
notify(Map<String, String>, SemiEventListener, long) - Method in class org.semispace.SemiSpace
Basically the same as the notify method demanded by the interface, except that it accepts search properties directly.
notify(Object, SemiEventListener, long) - Method in interface org.semispace.SemiSpaceInterface
Register a listener for a particular template search.
notifyAboutEvent(DistributedEvent) - Method in class org.semispace.admin.SemiSpaceAdmin
 
notifyAboutEvent(DistributedEvent) - Method in interface org.semispace.admin.SemiSpaceAdminInterface
Administrator should get notified about all events.
notifyListeners(DistributedEvent) - Method in class org.semispace.SemiSpace
Distributed notification method.
numberOfBlockingRead() - Method in class org.semispace.SemiSpace
Need present statistics here due to spring JMX configuration.
numberOfBlockingTake() - Method in class org.semispace.SemiSpace
Need present statistics here due to spring JMX configuration.
numberOfMissedRead() - Method in class org.semispace.SemiSpace
Need present statistics here due to spring JMX configuration.
numberOfMissedTake() - Method in class org.semispace.SemiSpace
Need present statistics here due to spring JMX configuration.
numberOfNumberOfListeners() - Method in class org.semispace.SemiSpace
Need present statistics here due to spring JMX configuration.
numberOfRead() - Method in class org.semispace.SemiSpace
Need present statistics here due to spring JMX configuration.
numberOfSpaceElements() - Method in class org.semispace.SemiSpace
Return the number of elements in the space.
numberOfTake() - Method in class org.semispace.SemiSpace
Need present statistics here due to spring JMX configuration.
numberOfWrite() - Method in class org.semispace.SemiSpace
Need present statistics here due to spring JMX configuration.

O

ONE_DAY - Static variable in class org.semispace.SemiSpace
 
org.semispace - package org.semispace
 
org.semispace.actor - package org.semispace.actor
 
org.semispace.admin - package org.semispace.admin
 
org.semispace.event - package org.semispace.event
 
org.semispace.exception - package org.semispace.exception
 

P

performInitialization() - Method in class org.semispace.admin.SemiSpaceAdmin
 
performInitialization() - Method in interface org.semispace.admin.SemiSpaceAdminInterface
 
PeriodicHarvest - Class in org.semispace.admin
Harvest objects periodically if this instance of semispace is the master object.
PeriodicHarvest(SemiSpaceAdmin) - Constructor for class org.semispace.admin.PeriodicHarvest
 
populateListOfAllSpaces(List<IdentifyAdminQuery>) - Method in class org.semispace.admin.SemiSpaceAdmin
Protected as it is used every once in a while from periodic object reaper
processTemplate(Object) - Method in class org.semispace.SemiSpace
Create a pre-processed template object that can be used to reduce the amount of work required to match templates during a take.

R

read(T, long) - Method in class org.semispace.SemiSpace
 
read(T, long) - Method in interface org.semispace.SemiSpaceInterface
Read an object from the space, which has matching fields (or getters) with the template
readHolderById(long) - Method in class org.semispace.SemiSpace
Used for retrieving element with basis in id
readHolderWithId(long) - Method in class org.semispace.HolderContainer
 
readIfExists(T) - Method in class org.semispace.SemiSpace
 
readIfExists(T) - Method in interface org.semispace.SemiSpaceInterface
Same as read, with duration 0
receive(ActorMessage) - Method in class org.semispace.actor.Actor
Receive a message which either matches the template, or that is addressed to this actor in particular (which implies that you need to check the type for each message).
register(SemiSpaceInterface) - Method in class org.semispace.actor.Actor
Register with the space with a very long long actor life.
register(SemiSpaceInterface, long) - Method in class org.semispace.actor.Actor
You must register with a space in order to activate the actor.
rejectedExecution(Runnable, ThreadPoolExecutor) - Method in class org.semispace.admin.SemiSpaceRejectedExecutionHandler
 
removeHolderById(long, String) - Method in class org.semispace.HolderContainer
 
removeHolderById(long) - Method in class org.semispace.HolderElement
 
removeShutDownHook() - Method in class org.semispace.admin.SemiSpaceAdmin
Remove shutdown hook which otherwise is run when the space is shut down.
renew(long) - Method in class org.semispace.ElementLease
 
renew(long) - Method in class org.semispace.ListenerLease
 
renew(long) - Method in interface org.semispace.SemiLease
Return true if operation was a success
renewElement(Holder, long) - Method in class org.semispace.SemiSpace
 
renewListener(ListenerHolder, long) - Method in class org.semispace.SemiSpace
 
reset() - Method in class org.semispace.SemiBlockingListener
Resetting notified state - necessary for re-blocking
retrieveContainer() - Static method in class org.semispace.HolderContainer
 
retrieveGroupNames() - Method in class org.semispace.HolderContainer
 
retrievePropertiesFromObject(Object) - Method in class org.semispace.SemiSpace
Protected for the benefit of junit test(s)
retrieveSpace() - Static method in class org.semispace.SemiSpace
 
run() - Method in class org.semispace.admin.ScheduledSemiSpaceHarvester
 
run() - Method in class org.semispace.SemiSpace.WrappedInternalWriter
 

S

ScheduledSemiSpaceHarvester - Class in org.semispace.admin
Timed instance which will periodically call semispace harvest method.
ScheduledSemiSpaceHarvester(SemiSpaceAdmin) - Constructor for class org.semispace.admin.ScheduledSemiSpaceHarvester
 
SemiAvailabilityEvent - Class in org.semispace.event
An object has become available.
SemiAvailabilityEvent(long) - Constructor for class org.semispace.event.SemiAvailabilityEvent
Interim object.
SemiBlockingListener - Class in org.semispace
Block until notification or timeout.
SemiBlockingListener() - Constructor for class org.semispace.SemiBlockingListener
 
SemiEvent - Class in org.semispace.event
An event on an element in the semispace.
SemiEvent() - Constructor for class org.semispace.event.SemiEvent
 
SemiEventListener<E extends SemiEvent> - Interface in org.semispace
Event listener interface
SemiEventRegistration - Class in org.semispace
Registration object for an event.
SemiEventRegistration(long, SemiLease) - Constructor for class org.semispace.SemiEventRegistration
 
SemiExpirationEvent - Class in org.semispace.event
Given element has been removed due to expiration.
SemiExpirationEvent(long) - Constructor for class org.semispace.event.SemiExpirationEvent
 
SemiLease - Interface in org.semispace
Lease which can be used to either cancel or renew the held object, if possible.
SemiRenewalEvent - Class in org.semispace.event
Object with id has been renewed, and now has a different expiration date, which may be shorter...
SemiRenewalEvent(long, long) - Constructor for class org.semispace.event.SemiRenewalEvent
 
SemiSpace - Class in org.semispace
A tuple space implementation which can be distributed with terracotta.
SemiSpace.WrappedInternalWriter - Class in org.semispace
Need to wrap write in own thread in order to make terracotta pick it up.
SemiSpace.WrappedInternalWriter(Object, long) - Constructor for class org.semispace.SemiSpace.WrappedInternalWriter
 
SemiSpaceAdmin - Class in org.semispace.admin
 
SemiSpaceAdmin(SemiSpaceInterface) - Constructor for class org.semispace.admin.SemiSpaceAdmin
 
SemiSpaceAdminInterface - Interface in org.semispace.admin
 
SemiSpaceException - Exception in org.semispace.exception
Exception thrown by SemiSpace
SemiSpaceException(String) - Constructor for exception org.semispace.exception.SemiSpaceException
 
SemiSpaceException(String, Throwable) - Constructor for exception org.semispace.exception.SemiSpaceException
 
SemiSpaceInterface - Interface in org.semispace
Operations possible to perform on space, inspired by the JavaSpace interface.
SemiSpaceInternalException - Exception in org.semispace.exception
Internal logical error.
SemiSpaceInternalException(String) - Constructor for exception org.semispace.exception.SemiSpaceInternalException
 
SemiSpaceObjectException - Exception in org.semispace.exception
Something is wrong with the object which was tried written or read from the space.
SemiSpaceObjectException(String, Throwable) - Constructor for exception org.semispace.exception.SemiSpaceObjectException
 
SemiSpaceObjectException(String) - Constructor for exception org.semispace.exception.SemiSpaceObjectException
 
SemiSpaceRejectedExecutionHandler - Class in org.semispace.admin
 
SemiSpaceRejectedExecutionHandler(RejectedExecutionHandler) - Constructor for class org.semispace.admin.SemiSpaceRejectedExecutionHandler
 
SemiSpaceStatistics - Class in org.semispace
Holder for statistical elements
SemiSpaceStatistics() - Constructor for class org.semispace.SemiSpaceStatistics
 
SemiSpaceUsageException - Exception in org.semispace.exception
Probable usage error.
SemiSpaceUsageException(String) - Constructor for exception org.semispace.exception.SemiSpaceUsageException
 
SemiTakenEvent - Class in org.semispace.event
Signifies that an object has been taken out of the space
SemiTakenEvent(long) - Constructor for class org.semispace.event.SemiTakenEvent
 
send(Object) - Method in class org.semispace.actor.Actor
Send two message to the space.
send(Long, Object) - Method in class org.semispace.actor.Actor
This is the regular method for sending a message to an actor.
setAddress(Long) - Method in class org.semispace.actor.ActorMessage
 
setAdmin(SemiSpaceAdminInterface) - Method in class org.semispace.SemiSpace
Preparing for future injection of admin.
setDefaultLifeMsOfSpaceObject(long) - Method in class org.semispace.actor.Actor
How long a message will live in the space when it is sent.
setLiveUntil(long) - Method in class org.semispace.Holder
 
setLiveUntil(long) - Method in class org.semispace.ListenerHolder
 
setOriginatorId(Long) - Method in class org.semispace.actor.ActorMessage
 
setPayload(Object) - Method in class org.semispace.actor.ActorMessage
 
shutdownAndAwaitTermination() - Method in class org.semispace.admin.SemiSpaceAdmin
The cached thread pool has a timeout of a minute, so a shutdown is not immediate.
size() - Method in class org.semispace.HolderContainer
Method presumed called on first object, which is the holder object.
size() - Method in class org.semispace.HolderElement
 
startReaper() - Method in class org.semispace.admin.PeriodicHarvest
 
SwingActor - Annotation Type in org.semispace.actor
This annotation indicates that the actor in question is a swing action, which means that the messages sent to this actor are sent on the swing thread and not via an internal pool.

T

take(T, long) - Method in class org.semispace.SemiSpace
 
take(T, long) - Method in interface org.semispace.SemiSpaceInterface
Same as read, except that the object is removed from the space.
takeIfExists(T) - Method in class org.semispace.SemiSpace
 
takeIfExists(T) - Method in interface org.semispace.SemiSpaceInterface
Same as take, with a duration of 0
TimeAnswer - Class in org.semispace.admin
Internally used by admin.
TimeAnswer() - Constructor for class org.semispace.admin.TimeAnswer
 
timeFromMaster - Variable in class org.semispace.admin.TimeAnswer
 
TimeQuery - Class in org.semispace.admin
 
TimeQuery() - Constructor for class org.semispace.admin.TimeQuery
 
toArray() - Method in class org.semispace.HolderElement
 
toString() - Method in class org.semispace.SemiSpaceStatistics
 

U

unregister() - Method in class org.semispace.actor.Actor
Removing the connection(s) from the space rendering the actor, for all practical purposes, dead.

V

value - Variable in class org.semispace.NameValueQuery
 

W

waitHolder(String, long) - Method in class org.semispace.HolderContainer
 
waitHolder(long) - Method in class org.semispace.HolderElement
 
write(Object, long) - Method in class org.semispace.SemiSpace
Notice that the lease time is the time in milliseconds the element is wants to live, not the system time plus the time to live.
write(Object, long) - Method in interface org.semispace.SemiSpaceInterface
Write object into tuple space, with a life time given in ms.
writeToElements(String, long, String, Map<String, String>) - Method in class org.semispace.SemiSpace
This method is public for the benefit of the web services, which shortcuts the writing process.

A B C D E F G H I L M N O P R S T U V W

Copyright © 2008-2012. All Rights Reserved.