A B C E G H I J K M N O P R S T V

A

ActiveExecutionObject - Class in org.ow2.carol.cmi.ha
This class implements the data associated with an execution.
ActiveExecutionObject(RequestId, Vector<BeanInfo>, Object) - Constructor for class org.ow2.carol.cmi.ha.ActiveExecutionObject
 
addEntityBean(RequestId, EntityBeanReference) - Method in interface org.ow2.carol.cmi.ha.ReplicationManager
Correlates the changes made on a modified bean with a concrete client request.
addEntityBean(RequestId, EntityBeanReference) - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
Correlates the changes made on a modified bean with a concrete client request.
addModifiedBean(RequestId, SessionId, StatefulBeanReference) - Method in interface org.ow2.carol.cmi.ha.ReplicationManager
Correlates the changes made on a modified bean with a concrete client request.
addModifiedBean(RequestId, SessionId, StatefulBeanReference) - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
Adds a modified EJB to the changes made inside a request.
addResponse(RequestId, Object) - Method in interface org.ow2.carol.cmi.ha.ReplicationManager
Associate a response with a requestId.
addResponse(RequestId, Object) - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
Associate a response with a requestId.

B

BeanInfo - Class in org.ow2.carol.cmi.ha
This class holds the required information to replicate the beans' state.
BeanInfo(SessionId, StatefulBeanReference) - Constructor for class org.ow2.carol.cmi.ha.BeanInfo
Constructor.
block() - Method in class org.ow2.carol.cmi.ha.JGViewManager
 

C

clear() - Method in class org.ow2.carol.cmi.ha.JGMessageManager
 
clear() - Method in interface org.ow2.carol.cmi.ha.MessageManager
Clear the GCS.
clear() - Method in interface org.ow2.carol.cmi.ha.ReplicationManager
Clears/removes the elements used by the concrete implementation.
clear() - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
Closes and stops all the elements used (channel, dispatcher...).
clear() - Method in class org.ow2.carol.cmi.ha.TOHashTable
 
containsKey(Object) - Method in class org.ow2.carol.cmi.ha.TOHashTable
 
containsValue(Object) - Method in class org.ow2.carol.cmi.ha.TOHashTable
 

E

EntityBeanReference - Interface in org.ow2.carol.cmi.ha
This interface implements reference to entity beans.
entrySet() - Method in class org.ow2.carol.cmi.ha.TOHashTable
 
equals(Object) - Method in class org.ow2.carol.cmi.ha.RequestId
Test if two RequestIds are equals

G

get(Object) - Method in class org.ow2.carol.cmi.ha.TOHashTable
 
getAvgSizeofReplicatedMessages() - Method in class org.ow2.carol.cmi.ha.JGMessageManager
Get the average size of the replicated messages sent.
getAvgSizeofReplicatedMessages() - Method in interface org.ow2.carol.cmi.ha.MessageManager
Get the average size of the replicated messages sent.
getavgSizeofReplicatedMessages() - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
Get the average size of the replicated messages sent.
getavgSizeofReplicatedMessages() - Method in interface org.ow2.carol.cmi.ha.ReplicationManagerImplMBean
Get the average size of the replicated messages sent.
getBackupResponse(RequestId) - Method in interface org.ow2.carol.cmi.ha.ReplicationManager
Returns the response associated with the request id.
getBackupResponse(RequestId) - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
Returns the response associated with the request id.
getBean() - Method in class org.ow2.carol.cmi.ha.BeanInfo
Returns the bean.
getBeans() - Method in class org.ow2.carol.cmi.ha.ActiveExecutionObject
 
getBeans() - Method in class org.ow2.carol.cmi.ha.HaMessageData
 
getBId() - Method in class org.ow2.carol.cmi.ha.BeanInfo
 
getdatasourceName() - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
Get the Datasource name required to hold the EB version numbers of the horizontal replication approach.
getdatasourceName() - Method in interface org.ow2.carol.cmi.ha.ReplicationManagerImplMBean
Get the Datasource name required to hold the EB version numbers of the horizontal replication approach.
getEntityBeans() - Method in class org.ow2.carol.cmi.ha.ActiveExecutionObject
 
getHACurrent() - Static method in class org.ow2.carol.cmi.ha.interceptor.HACurrent
 
getinfoTimeout() - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
Get the SFSB info timeout to clean certain information stored in memory.
getinfoTimeout() - Method in interface org.ow2.carol.cmi.ha.ReplicationManagerImplMBean
Get the SFSB info timeout to clean certain information stored in memory.
getjgroupsConfFileName() - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
Get the JGroups configuration file name.
getjgroupsConfFileName() - Method in interface org.ow2.carol.cmi.ha.ReplicationManagerImplMBean
Get the JGroups configuration file name.
getName() - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
 
getName() - Method in interface org.ow2.carol.cmi.ha.ReplicationManagerImplMBean
 
getNumberofReplicatedMessages() - Method in class org.ow2.carol.cmi.ha.JGMessageManager
Get the number of replicated messages sent.
getNumberofReplicatedMessages() - Method in interface org.ow2.carol.cmi.ha.MessageManager
Get the number of replicated messages sent.
getnumberofReplicatedMessages() - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
Get the number of replicated messages sent.
getnumberofReplicatedMessages() - Method in interface org.ow2.carol.cmi.ha.ReplicationManagerImplMBean
Get the number of replicated messages sent.
getObjectId() - Method in class org.ow2.carol.cmi.ha.RequestId
Get the objectId
getobjectName() - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
 
getobjectName() - Method in interface org.ow2.carol.cmi.ha.ReplicationManagerImplMBean
 
getOtherMessages() - Method in class org.ow2.carol.cmi.ha.HaMessageData
 
getPrimaryKey() - Method in interface org.ow2.carol.cmi.ha.EntityBeanReference
Returns the entity bean primary key.
getReqId() - Method in class org.ow2.carol.cmi.ha.ActiveExecutionObject
 
getRequestId() - Method in class org.ow2.carol.cmi.ha.HaMessageData
 
getRequestNo() - Method in class org.ow2.carol.cmi.ha.RequestId
Get the request number
getRequests() - Method in class org.ow2.carol.cmi.ha.interceptor.HAContext
Get the requests
getRequests() - Method in class org.ow2.carol.cmi.ha.interceptor.HACurrent
Get the request stack
getResponse() - Method in class org.ow2.carol.cmi.ha.ActiveExecutionObject
 
getResponse() - Method in class org.ow2.carol.cmi.ha.HaMessageData
 
getState() - Method in class org.ow2.carol.cmi.ha.BeanInfo
 
getState() - Method in interface org.ow2.carol.cmi.ha.StatefulBeanReference
Gets the state of the associated bean.
getTimeout() - Method in class org.ow2.carol.cmi.ha.TOHashTable
 
getTotSizeofReplicatedMessages() - Method in class org.ow2.carol.cmi.ha.JGMessageManager
Get the total size of the replicated messages sent.
getTotSizeofReplicatedMessages() - Method in interface org.ow2.carol.cmi.ha.MessageManager
Get the total size of the replicated messages sent.
gettotSizeofReplicatedMessages() - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
Get the total size of the replicated messages sent.
gettotSizeofReplicatedMessages() - Method in interface org.ow2.carol.cmi.ha.ReplicationManagerImplMBean
Get the total size of the replicated messages sent.
getType() - Method in class org.ow2.carol.cmi.ha.HaMessageData
 

H

HAContext - Class in org.ow2.carol.cmi.ha.interceptor
This is the class stored in the Thread local variable of HACurrent class and represents the thread associated HA context
HAContext() - Constructor for class org.ow2.carol.cmi.ha.interceptor.HAContext
Constructor
HACurrent - Class in org.ow2.carol.cmi.ha.interceptor
Class enabling to get the current context.
HaMessageData - Class in org.ow2.carol.cmi.ha
Holds the required information for the replication protocol.
HaMessageData.HaMessageKind - Enum in org.ow2.carol.cmi.ha
Kind of messages.
handle(Message) - Method in class org.ow2.carol.cmi.ha.JGMessageManager
Processes the replication messages received.
hasBackupResponse(RequestId) - Method in interface org.ow2.carol.cmi.ha.ReplicationManager
Returns true if the request id have an associated response, false in other case.
hasBackupResponse(RequestId) - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
Returns true if the request id has an associated response, false in other case.
hashCode() - Method in class org.ow2.carol.cmi.ha.RequestId
Compute hashcode

I

injectState(byte[]) - Method in interface org.ow2.carol.cmi.ha.StatefulBeanReference
Inject the state in the bean.
isEmpty() - Method in class org.ow2.carol.cmi.ha.TOHashTable
 
isModified() - Method in interface org.ow2.carol.cmi.ha.EntityBeanReference
Returns true if the bean is modified.
isModified() - Method in interface org.ow2.carol.cmi.ha.StatefulBeanReference
Returns true if the bean is modified.
isOnFailover() - Method in class org.ow2.carol.cmi.ha.interceptor.HAContext
 
isOnFailover() - Method in class org.ow2.carol.cmi.ha.interceptor.HACurrent
Gets the onFailover variable
isReadOnly() - Method in class org.ow2.carol.cmi.ha.HaMessageData
 

J

JGMessageManager - Class in org.ow2.carol.cmi.ha
This class processes the HA messages received through JGroups.
JGMessageManager(String, String, ReplicationManager) - Constructor for class org.ow2.carol.cmi.ha.JGMessageManager
Constructor.
jgroupsConfFileName() - Method in class org.ow2.carol.cmi.ha.JGMessageManager
Get the JGroups configuration file name.
jgroupsConfFileName() - Method in interface org.ow2.carol.cmi.ha.MessageManager
Get the JGroups configuration file name.
JGViewManager - Class in org.ow2.carol.cmi.ha
This class processes the JGroups' membership messages.
JGViewManager() - Constructor for class org.ow2.carol.cmi.ha.JGViewManager
 

K

keySet() - Method in class org.ow2.carol.cmi.ha.TOHashTable
 

M

MessageManager - Interface in org.ow2.carol.cmi.ha
 

N

newAbortMessage(RequestId, Object) - Static method in class org.ow2.carol.cmi.ha.HaMessageData
Creates a new abort message.
newCommitMessage(RequestId) - Static method in class org.ow2.carol.cmi.ha.HaMessageData
Creates a new commit message.
newCommittingMessage(RequestId, Object, Vector<BeanInfo>, boolean, Vector<HaMessageData>) - Static method in class org.ow2.carol.cmi.ha.HaMessageData
Creates a new committing message.

O

obtainBeanState() - Method in class org.ow2.carol.cmi.ha.BeanInfo
Obtains the state from the bean and store it in state.
org.ow2.carol.cmi.ha - package org.ow2.carol.cmi.ha
 
org.ow2.carol.cmi.ha.interceptor - package org.ow2.carol.cmi.ha.interceptor
 

P

processMessage(HaMessageData) - Method in interface org.ow2.carol.cmi.ha.ReplicationManager
Processes a message data.
processMessage(HaMessageData) - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
Processes a message data.
put(K, V) - Method in class org.ow2.carol.cmi.ha.TOHashTable
 
putAll(Map<? extends K, ? extends V>) - Method in class org.ow2.carol.cmi.ha.TOHashTable
 
putNextReq(RequestId) - Method in class org.ow2.carol.cmi.ha.interceptor.HAContext
Put the request as the last request
putNextReq(RequestId) - Method in class org.ow2.carol.cmi.ha.interceptor.HACurrent
Put the request in the request stack

R

remove(Object) - Method in class org.ow2.carol.cmi.ha.TOHashTable
 
replicate(RequestId) - Method in interface org.ow2.carol.cmi.ha.ReplicationManager
Replicates the changes made on beans inside a concrete request context.
replicate(RequestId) - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
Replicates the EJB changes kept on the requestChanges structure for a concrete reqId.
replicateCommit(RequestId, boolean) - Method in interface org.ow2.carol.cmi.ha.ReplicationManager
Replicates the commit/abort message associate with a request.
replicateCommit(RequestId, boolean) - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
 
ReplicationException - Exception in org.ow2.carol.cmi.ha
Thrown when a replication error is detected.
ReplicationException() - Constructor for exception org.ow2.carol.cmi.ha.ReplicationException
 
ReplicationException(String) - Constructor for exception org.ow2.carol.cmi.ha.ReplicationException
 
ReplicationException(String, Throwable) - Constructor for exception org.ow2.carol.cmi.ha.ReplicationException
 
ReplicationException(Throwable) - Constructor for exception org.ow2.carol.cmi.ha.ReplicationException
 
ReplicationManager - Interface in org.ow2.carol.cmi.ha
Interface with the replication functionality.
ReplicationManagerImpl - Class in org.ow2.carol.cmi.ha
This class implements the main replication functionality.
ReplicationManagerImpl(int, String, String, String) - Constructor for class org.ow2.carol.cmi.ha.ReplicationManagerImpl
 
ReplicationManagerImplMBean - Interface in org.ow2.carol.cmi.ha
MBean Interface for HAService.
RequestId - Class in org.ow2.carol.cmi.ha
This class is the key to identify the client requests in HA tables.
RequestId(SessionId, int) - Constructor for class org.ow2.carol.cmi.ha.RequestId
Constructor
restoreBeanChanges(SessionId, StatefulBeanReference) - Method in interface org.ow2.carol.cmi.ha.ReplicationManager
Restores the state for a bean through its remote interface.
restoreBeanChanges(SessionId, StatefulBeanReference) - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
Applies the changes kept in BeanChanges.

S

sendMessage(HaMessageData) - Method in class org.ow2.carol.cmi.ha.JGMessageManager
 
sendMessage(HaMessageData) - Method in interface org.ow2.carol.cmi.ha.MessageManager
Sends a message.
setBeans(Vector<BeanInfo>) - Method in class org.ow2.carol.cmi.ha.ActiveExecutionObject
 
setBId(SessionId) - Method in class org.ow2.carol.cmi.ha.BeanInfo
 
setdatasourceName(String) - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
Set the Datasource name required to hold the EB version numbers of the horizontal replication approach.
setdatasourceName(String) - Method in interface org.ow2.carol.cmi.ha.ReplicationManagerImplMBean
Set the Datasource name required to hold the EB version numbers of the horizontal replication approach.
setEntityBeans(Vector<EntityBeanReference>) - Method in class org.ow2.carol.cmi.ha.ActiveExecutionObject
 
setinfoTimeout(long) - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
Set the SFSB info timeout.
setinfoTimeout(long) - Method in interface org.ow2.carol.cmi.ha.ReplicationManagerImplMBean
Set the SFSB info timeout.
setObjectId(SessionId) - Method in class org.ow2.carol.cmi.ha.RequestId
Set the objectId
setobjectName(ObjectName) - Method in class org.ow2.carol.cmi.ha.ReplicationManagerImpl
Sets the object name of this MBean.
setOnFailover(boolean) - Method in class org.ow2.carol.cmi.ha.interceptor.HAContext
 
setOnFailover(boolean) - Method in class org.ow2.carol.cmi.ha.interceptor.HACurrent
Sets the onFailover variable
setReqId(RequestId) - Method in class org.ow2.carol.cmi.ha.ActiveExecutionObject
 
setRequestNo(int) - Method in class org.ow2.carol.cmi.ha.RequestId
Set the request number
setRequests(Stack<RequestId>) - Method in class org.ow2.carol.cmi.ha.interceptor.HAContext
Set the requests
setRequests(Stack<RequestId>) - Method in class org.ow2.carol.cmi.ha.interceptor.HACurrent
Set the requests stack in the current context
setResponse(Object) - Method in class org.ow2.carol.cmi.ha.ActiveExecutionObject
 
setState(byte[]) - Method in class org.ow2.carol.cmi.ha.BeanInfo
 
setTimeout(int) - Method in class org.ow2.carol.cmi.ha.TOHashTable
 
size() - Method in class org.ow2.carol.cmi.ha.TOHashTable
 
StatefulBeanReference - Interface in org.ow2.carol.cmi.ha
This interface implements reference to stateful beans.
suspect(Address) - Method in class org.ow2.carol.cmi.ha.JGViewManager
 

T

TOHashTable<K,V> - Class in org.ow2.carol.cmi.ha
 
TOHashTable(int) - Constructor for class org.ow2.carol.cmi.ha.TOHashTable
 
toString() - Method in class org.ow2.carol.cmi.ha.BeanInfo
 
toString() - Method in class org.ow2.carol.cmi.ha.HaMessageData
 
toString() - Method in class org.ow2.carol.cmi.ha.RequestId
 

V

valueOf(String) - Static method in enum org.ow2.carol.cmi.ha.HaMessageData.HaMessageKind
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.ow2.carol.cmi.ha.HaMessageData.HaMessageKind
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Method in class org.ow2.carol.cmi.ha.TOHashTable
 
viewAccepted(View) - Method in class org.ow2.carol.cmi.ha.JGViewManager
 

A B C E G H I J K M N O P R S T V

Copyright © 2007 OW2 Consortium. All Rights Reserved.