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

A

activateCache() - Method in interface bunshin.Bunshin
 
activateCache() - Method in class bunshin.BunshinImpl
 
activateDebug() - Method in interface bunshin.Bunshin
 
activateDebug() - Method in class bunshin.BunshinImpl
 
add(String, Bucket) - Method in class bunshin.storage.DiskStorage
 
add(String, Bucket) - Method in class bunshin.storage.MemStorage
 
add(String, Bucket) - Method in interface bunshin.storage.StorageManager
 
add(String, Bucket) - Method in class bunshin.storage.XMLStorage
 
add(Bucket) - Method in class bunshin.util.Bucket
 
add(Object, Set) - Method in class bunshin.util.ResultSortedQueue
 
applicationId - Static variable in class bunshin.BunshinImpl
Identification of the application.

B

bootaddress - Variable in class bunshin.BunshinConnection
 
bootNode() - Method in class bunshin.BunshinConnection
This method boots node previously created
BOOTSTRAP_HOST - Static variable in class bunshin.BunshinConnection
 
BOOTSTRAP_PORT - Static variable in class bunshin.BunshinConnection
 
Bucket - Class in bunshin.util
The bucket, a chunk of hashtable, to belongs to specific key's rank
Bucket() - Constructor for class bunshin.util.Bucket
 
bunshin - package bunshin
 
Bunshin - Interface in bunshin
This interface is exported by all instances of Bunshin DHT.
bunshin.listeners - package bunshin.listeners
 
bunshin.messaging - package bunshin.messaging
 
bunshin.storage - package bunshin.storage
 
bunshin.util - package bunshin.util
 
BUNSHIN_MESSAGE - Static variable in interface bunshin.messaging.MessageType
 
bunshinApp - Variable in class bunshin.BunshinConnection
 
BunshinConnection - Class in bunshin
This class wraps a connection to Bunshin substrate and is used by the application as its main DHT substrate.
BunshinConnection(String, int) - Constructor for class bunshin.BunshinConnection
Creates a node and stablishs the connection with the network
BunshinConnection(Properties) - Constructor for class bunshin.BunshinConnection
Creates a node and stablishs the connection with the network
BunshinConnection(String) - Constructor for class bunshin.BunshinConnection
Creates a node and stablishs the connection with the network
BunshinDeserialize - Class in bunshin.messaging
 
BunshinDeserialize() - Constructor for class bunshin.messaging.BunshinDeserialize
 
BunshinGetClient - Interface in bunshin.listeners
This interface represents a client using the Bunshin DHT system.
BunshinImpl - Class in bunshin
The provided implementation of Bunshin DHT.
BunshinImpl() - Constructor for class bunshin.BunshinImpl
Constructor
BunshinImpl(String, BunshinDeserialize) - Constructor for class bunshin.BunshinImpl
 
BunshinMergeClient - Interface in bunshin.listeners
This interface represents a client using the Bunshin DHT system.
BunshinMessage - Class in bunshin.messaging
The bunshin message is the main message and the father of the other messages.
BunshinMessage() - Constructor for class bunshin.messaging.BunshinMessage
 
BunshinPutClient - Interface in bunshin.listeners
This interface represents a client using the Bunshin DHT system.
BunshinRemoveClient - Interface in bunshin.listeners
This interface represents a client using the Bunshin DHT system.
BunshinSearch - Class in bunshin
This class provides an extended methods of the DHT layer, making an owner keyword-search engine over Bunshin layer.
BunshinSearch(String) - Constructor for class bunshin.BunshinSearch
Creates a node and stablishs the connection with the network
BunshinSearch(Properties) - Constructor for class bunshin.BunshinSearch
Creates a node and stablishs the connection with the network
BunshinSearch(String, int) - Constructor for class bunshin.BunshinSearch
Creates a node and stablishs the connection with the network

C

CACHE - Static variable in class bunshin.Context
 
Cache - Class in bunshin.util
 
Cache(int, int) - Constructor for class bunshin.util.Cache
 
CACHE_MESSAGE - Static variable in interface bunshin.messaging.MessageType
 
CacheMessage - Class in bunshin.messaging
The cache message.
CacheMessage(Id, Serializable) - Constructor for class bunshin.messaging.CacheMessage
 
CacheMessage(InputBuffer) - Constructor for class bunshin.messaging.CacheMessage
 
clear() - Method in class bunshin.util.PriorityList
 
contains(String, Id) - Method in class bunshin.util.Cache
 
content - Variable in class bunshin.messaging.LeaveMessage
 
Context - Class in bunshin
This interface represents a naming context, which consists of a set of name-to-object bindings These constants will be used for connecting to different DHT services.
Context() - Constructor for class bunshin.Context
 
context - Variable in class bunshin.messaging.BunshinMessage
 
convert(NodeHandleSet) - Static method in class bunshin.util.Utilities
 
createContext(String, BunshinMergeClient) - Method in interface bunshin.Bunshin
Activates the information of a specific context
createContext(String, BunshinMergeClient) - Method in class bunshin.BunshinImpl
Load the information of a specific context
createNode(String, int) - Method in class bunshin.BunshinConnection
This method creates a new node which will serve as the underlying p2p layer

D

DEBUG - Static variable in class bunshin.Context
 
DEFAULT_CONTEXT - Static variable in class bunshin.Context
 
DEFAULT_FIELD - Static variable in class bunshin.Context
 
DELAY - Static variable in class bunshin.Context
Default delay for synchronous calls
delete(Object) - Method in class bunshin.util.ResultSortedQueue
 
deliver(Id, Message) - Method in class bunshin.BunshinImpl
This method is called on the application at the destination node for the given id.
deserialize(InputBuffer, short, int, NodeHandle) - Method in class bunshin.messaging.BunshinDeserialize
 
deserialize(InputBuffer) - Method in class bunshin.messaging.BunshinMessage
 
DiskStorage - Class in bunshin.storage
 
DiskStorage() - Constructor for class bunshin.storage.DiskStorage
 
DiskStorage(String) - Constructor for class bunshin.storage.DiskStorage
 
DiskStorage(String, long) - Constructor for class bunshin.storage.DiskStorage
 
DiskStorage(long) - Constructor for class bunshin.storage.DiskStorage
 

E

endPoint - Variable in class bunshin.BunshinConnection
 
env - Static variable in class bunshin.BunshinConnection
 
eventArrived(Object, boolean) - Method in interface bunshin.RemoteListener
This method is the standard callback provided for remote events.
exists(String, Id) - Method in class bunshin.storage.DiskStorage
 
exists(String, Id) - Method in class bunshin.storage.MemStorage
 
exists(String, Id) - Method in interface bunshin.storage.StorageManager
 
exists(String, Id) - Method in class bunshin.storage.XMLStorage
 
extract(String, Id) - Method in class bunshin.storage.DiskStorage
 
extract(String, Id) - Method in class bunshin.storage.MemStorage
 
extract(String, Id) - Method in interface bunshin.storage.StorageManager
 
extract(String, Id) - Method in class bunshin.storage.XMLStorage
 
extract(Id) - Method in class bunshin.util.Bucket
 

F

FACTORY - Static variable in class bunshin.Context
 
FALSE - Static variable in class bunshin.Context
 
forward(RouteMessage) - Method in class bunshin.BunshinImpl
This method is invoked on applications when the underlying node is about to forward the given message with the provided target to the specified next hop.

G

generateHash(String) - Static method in class bunshin.util.Utilities
 
generateHash(byte[]) - Static method in class bunshin.util.Utilities
 
generateHash(Hashtable) - Static method in class bunshin.util.Utilities
Generates a hash for the keys contained in the hashtable
get(Id, BunshinGetClient) - Method in interface bunshin.Bunshin
Returns the value of the specific key using the Client application
get(String, Id, BunshinGetClient) - Method in interface bunshin.Bunshin
Returns the values of the specific key and sets the Client application
get(Id, BunshinGetClient) - Method in class bunshin.BunshinImpl
Returns the value of the specific key using the Client application
get(String, Id, BunshinGetClient) - Method in class bunshin.BunshinImpl
Returns the values of the specific key and sets the Client application
get(Serializable) - Method in interface bunshin.listeners.BunshinGetClient
This method is invoked when a get request is delivered for a key this client is interested in.
get(String, Id) - Method in class bunshin.util.Cache
 
get(String, Id) - Method in class bunshin.util.ReplicaTable
 
GET_MESSAGE - Static variable in interface bunshin.messaging.MessageType
 
getAllMatches() - Method in class bunshin.util.ResultSortedQueue.Item
Returns the set of matches (set of strings)
getBucket(String) - Method in class bunshin.storage.DiskStorage
 
getBucket(String) - Method in class bunshin.storage.MemStorage
 
getBucket(String) - Method in interface bunshin.storage.StorageManager
 
getBucket(String) - Method in class bunshin.storage.XMLStorage
 
getBuckets() - Method in class bunshin.storage.DiskStorage
 
getBuckets() - Method in class bunshin.storage.MemStorage
 
getBuckets() - Method in interface bunshin.storage.StorageManager
 
getBuckets() - Method in class bunshin.storage.XMLStorage
 
getBunshinApp() - Method in class bunshin.BunshinConnection
Obtains the Bunshin's application reference.
getContent() - Method in class bunshin.messaging.LeaveMessage
 
getContext() - Method in class bunshin.messaging.BunshinMessage
 
getContexts() - Method in class bunshin.storage.DiskStorage
 
getContexts() - Method in class bunshin.storage.MemStorage
 
getContexts() - Method in interface bunshin.storage.StorageManager
 
getContexts() - Method in class bunshin.storage.XMLStorage
 
getContextSize(String) - Method in class bunshin.storage.DiskStorage
 
getContextSize(String) - Method in class bunshin.storage.MemStorage
 
getContextSize(String) - Method in interface bunshin.storage.StorageManager
 
getContextSize(String) - Method in class bunshin.storage.XMLStorage
 
getException() - Method in exception bunshin.storage.StorageException
Return the Exception produces in the notification service.
getId() - Method in class bunshin.BunshinImpl
Gets the identification of the Application
getItems() - Method in class bunshin.util.ResultSortedQueue
Return specific iterator for the ResultSortedQueue.
getKey() - Method in class bunshin.messaging.CacheMessage
 
getKey() - Method in class bunshin.messaging.GetMessage
 
getKey() - Method in class bunshin.messaging.PutAckMessage
 
getKey() - Method in class bunshin.messaging.PutMessage
 
getKey() - Method in class bunshin.messaging.RemoveAckMessage
 
getKey() - Method in class bunshin.messaging.RemoveMessage
 
getKey() - Method in class bunshin.messaging.RemoveReplicaMessage
 
getKey() - Method in class bunshin.messaging.ReplicaAckMessage
 
getKey() - Method in class bunshin.messaging.ReplicaMessage
 
getKey() - Method in class bunshin.util.Pair
 
getLocal(Id) - Method in interface bunshin.Bunshin
Returns the value of the specific key if the values is stored in the local node
getLocal(String, Id) - Method in interface bunshin.Bunshin
Returns the value of the specific key if the values is stored in the local node
getLocal(Id) - Method in class bunshin.BunshinImpl
Returns the value of the specific key if the values is stored in the local node
getLocal(String, Id) - Method in class bunshin.BunshinImpl
Returns the value of the specific key if the values is stored in the local node
getMax() - Method in class bunshin.util.PriorityList
 
GetMessage - Class in bunshin.messaging
The get message.
GetMessage(Id, NodeHandle) - Constructor for class bunshin.messaging.GetMessage
 
GetMessage(Id, Serializable) - Constructor for class bunshin.messaging.GetMessage
 
GetMessage(InputBuffer) - Constructor for class bunshin.messaging.GetMessage
 
getNH() - Method in class bunshin.messaging.GetMessage
 
getNH() - Method in class bunshin.messaging.LeaveMessage
 
getNH() - Method in class bunshin.messaging.PutMessage
 
getNH() - Method in class bunshin.messaging.RemoveMessage
 
getNH() - Method in class bunshin.messaging.RemoveReplicaMessage
 
getNH() - Method in class bunshin.messaging.ReplicaAckMessage
 
getNH() - Method in class bunshin.messaging.ReplicaMessage
 
getNumberOfMatches() - Method in class bunshin.util.ResultSortedQueue.Item
Returns the number of matches of this item, into the search string.
getPhase() - Method in class bunshin.messaging.GetMessage
 
getPreviousNH() - Method in class bunshin.messaging.GetMessage
 
getPriority() - Method in class bunshin.messaging.CacheMessage
 
getPriority() - Method in class bunshin.messaging.GetMessage
 
getPriority() - Method in class bunshin.messaging.LeaveMessage
 
getPriority() - Method in class bunshin.messaging.PingMessage
 
getPriority() - Method in class bunshin.messaging.PutAckMessage
 
getPriority() - Method in class bunshin.messaging.PutMessage
 
getPriority() - Method in class bunshin.messaging.RemoveAckMessage
 
getPriority() - Method in class bunshin.messaging.RemoveMessage
 
getPriority() - Method in class bunshin.messaging.RemoveReplicaMessage
 
getPriority() - Method in class bunshin.messaging.ReplicaAckMessage
 
getPriority() - Method in class bunshin.messaging.ReplicaMessage
 
getReplicaInfo() - Method in interface bunshin.Bunshin
 
getReplicaInfo() - Method in class bunshin.BunshinImpl
StorageInfo = (NodeNH, ContextInfo) ContextInfo = (Context, Bucket) Bucket = (Key, Values) Values = (Field, Object)
getReplicationFactor() - Method in interface bunshin.Bunshin
Returns the number of replicas used
getReplicationFactor() - Method in class bunshin.BunshinImpl
Returns the number of replicas used
getSource() - Method in class bunshin.messaging.PingMessage
 
getSource() - Method in class bunshin.messaging.PutAckMessage
 
getStorageInfo() - Method in interface bunshin.Bunshin
 
getStorageInfo() - Method in class bunshin.BunshinImpl
ContextInfo = (Context, Bucket) Bucket = (Key, Values) Values = (Field, Object)
getStorageManager() - Method in interface bunshin.Bunshin
 
getStorageManager() - Method in class bunshin.BunshinImpl
 
getSuccessful() - Method in class bunshin.messaging.PutAckMessage
 
getSuccessful() - Method in class bunshin.messaging.RemoveAckMessage
 
getType() - Method in class bunshin.messaging.CacheMessage
 
getType() - Method in class bunshin.messaging.GetMessage
 
getType() - Method in class bunshin.messaging.LeaveMessage
 
getType() - Method in class bunshin.messaging.PingMessage
 
getType() - Method in class bunshin.messaging.PutAckMessage
 
getType() - Method in class bunshin.messaging.PutMessage
 
getType() - Method in class bunshin.messaging.RemoveAckMessage
 
getType() - Method in class bunshin.messaging.RemoveMessage
 
getType() - Method in class bunshin.messaging.RemoveReplicaMessage
 
getType() - Method in class bunshin.messaging.ReplicaAckMessage
 
getType() - Method in class bunshin.messaging.ReplicaMessage
 
getValue() - Method in class bunshin.messaging.GetMessage
 
getValue() - Method in class bunshin.messaging.PutMessage
 
getValue() - Method in class bunshin.util.ResultSortedQueue.Item
Returns the related value of this item.
getValues() - Method in class bunshin.messaging.CacheMessage
 
getValues() - Method in class bunshin.messaging.ReplicaMessage
 
getValues() - Method in class bunshin.util.Pair
 
getValues() - Method in class bunshin.util.ReplicaTable
 

H

hasNext() - Method in class bunshin.util.ResultSortedQueue.ResultIterator
Return true if has more items on results.
HOST - Static variable in class bunshin.Context
 

I

ID_APPLICATION - Static variable in class bunshin.Context
 
incTime() - Method in class bunshin.util.Cache
 
init(String, StorageManager, int, boolean, boolean) - Method in class bunshin.BunshinConnection
Initializes the Bunshin layer.
init(String, StorageManager, int, int, boolean, boolean) - Method in class bunshin.BunshinConnection
Initializes the Bunshin layer.
init(Properties) - Method in class bunshin.BunshinConnection
Initializes the Bunshin layer.
init(String) - Method in class bunshin.BunshinConnection
Initializes the Bunshin layer.
init(Properties) - Method in class bunshin.storage.DiskStorage
 
init(Properties) - Method in class bunshin.storage.MemStorage
 
init(Properties) - Method in interface bunshin.storage.StorageManager
 
init(Properties) - Method in class bunshin.storage.XMLStorage
 
insert(String, Serializable) - Method in class bunshin.BunshinSearch
Generate the key for one serializable value and inserts in the network.
insert(String, Id, Serializable) - Method in class bunshin.BunshinSearch
Inserts others keywords to improve search work, example : insert("java api", value1) --> java.properties = {IdValue1=(java,api)} --> api.properties = {IdValue1=(api,java)} insert("java languaje", value2) --> java.properties = {IdValue1=(java,api); IdValue2=(java,language)} --> languages.properties = {IdValue2=(languages, java)}
insert(Object, int) - Method in class bunshin.util.PriorityList
 
isAck() - Method in class bunshin.messaging.PingMessage
 
isContent() - Method in class bunshin.messaging.LeaveMessage
 
isFull() - Method in class bunshin.storage.DiskStorage
 
isFull() - Method in class bunshin.storage.MemStorage
 
isFull() - Method in interface bunshin.storage.StorageManager
 
isFull() - Method in class bunshin.storage.XMLStorage
 
isOwner(Id) - Method in class bunshin.BunshinImpl
Returns whether or not is the owner for the given key
iterator() - Method in class bunshin.util.ResultSortedQueue
 

L

leave() - Method in interface bunshin.Bunshin
Before leaving the network, the application must call to this method
leave() - Method in class bunshin.BunshinConnection
Leaves the bunshin layer
leave() - Method in class bunshin.BunshinImpl
Sends to the first node of the replicaSet a special message to check if that have the replicated keys.
LEAVE_MESSAGE - Static variable in interface bunshin.messaging.MessageType
 
LeaveMessage - Class in bunshin.messaging
The leave message.
LeaveMessage(NodeHandle) - Constructor for class bunshin.messaging.LeaveMessage
 
LeaveMessage(NodeHandle, Object) - Constructor for class bunshin.messaging.LeaveMessage
 
LeaveMessage(InputBuffer) - Constructor for class bunshin.messaging.LeaveMessage
 
loadContext(String) - Method in class bunshin.storage.DiskStorage
 
loadContext(String) - Method in class bunshin.storage.MemStorage
 
loadContext(String) - Method in interface bunshin.storage.StorageManager
 
loadContext(String) - Method in class bunshin.storage.XMLStorage
 
loadProp(String) - Static method in class bunshin.util.Utilities
 

M

MemStorage - Class in bunshin.storage
 
MemStorage() - Constructor for class bunshin.storage.MemStorage
 
merge(Object, Object) - Method in interface bunshin.listeners.BunshinMergeClient
This method is invoked when a put arrived
MessageType - Interface in bunshin.messaging
 

N

next() - Method in class bunshin.util.ResultSortedQueue.ResultIterator
Return a new Item with the next value.

O

overwrite(Id, Serializable) - Method in class bunshin.util.Bucket
 

P

Pair - Class in bunshin.util
Pair Key/Values
Pair(Id, Serializable) - Constructor for class bunshin.util.Pair
 
peak() - Method in class bunshin.util.PriorityList
 
PING_MESSAGE - Static variable in interface bunshin.messaging.MessageType
 
PingMessage - Class in bunshin.messaging
The get message.
PingMessage(NodeHandle, boolean) - Constructor for class bunshin.messaging.PingMessage
 
PingMessage(InputBuffer) - Constructor for class bunshin.messaging.PingMessage
 
PORT - Static variable in class bunshin.BunshinConnection
 
PORT - Static variable in class bunshin.Context
 
PriorityList - Class in bunshin.util
 
PriorityList() - Constructor for class bunshin.util.PriorityList
 
PROTOCOL - Static variable in class bunshin.Context
 
put(Id, Serializable) - Method in interface bunshin.Bunshin
Stores the (key,value) pair in the Bunshin DHT in the default context and with default field
put(String, Id, Serializable) - Method in interface bunshin.Bunshin
Stores the (context,key,value) in the Bunshin DHT with default field
put(Id, Serializable, BunshinPutClient) - Method in interface bunshin.Bunshin
Stores the (key,value) pair in the Bunshin DHT in a default field
put(String, Id, Serializable, BunshinPutClient) - Method in interface bunshin.Bunshin
Stores the (context,key,value) in the Bunshin DHT with result listener
put(Id, Serializable) - Method in class bunshin.BunshinImpl
Stores the (key,value) pair in the Bunshin DHT in the default context and with default field
put(String, Id, Serializable) - Method in class bunshin.BunshinImpl
Stores the (context,key,value) in the Bunshin DHT with default field
put(Id, Serializable, BunshinPutClient) - Method in class bunshin.BunshinImpl
Stores the (key,value) pair in the Bunshin DHT in a default field
put(String, Id, Serializable, BunshinPutClient) - Method in class bunshin.BunshinImpl
Stores the (context,key,value) in the Bunshin DHT with result listener
put(boolean, NodeHandle) - Method in interface bunshin.listeners.BunshinPutClient
This method is invoked when a put ack arrived
put(String, Bucket) - Method in class bunshin.storage.DiskStorage
 
put(String, Bucket) - Method in class bunshin.storage.MemStorage
 
put(String, Bucket) - Method in interface bunshin.storage.StorageManager
 
put(String, Bucket) - Method in class bunshin.storage.XMLStorage
 
put(String, Id, Serializable) - Method in class bunshin.util.Cache
 
put(String, Id, Collection<NodeHandle>) - Method in class bunshin.util.ReplicaTable
 
PUT_ACK_MESSAGE - Static variable in interface bunshin.messaging.MessageType
 
PUT_MESSAGE - Static variable in interface bunshin.messaging.MessageType
 
PutAckMessage - Class in bunshin.messaging
The put ack message.
PutAckMessage(Id, boolean, NodeHandle) - Constructor for class bunshin.messaging.PutAckMessage
 
PutAckMessage(InputBuffer) - Constructor for class bunshin.messaging.PutAckMessage
 
PutMessage - Class in bunshin.messaging
The put message.
PutMessage(Id, Serializable, NodeHandle) - Constructor for class bunshin.messaging.PutMessage
 
PutMessage(InputBuffer) - Constructor for class bunshin.messaging.PutMessage
 

Q

query(String) - Method in class bunshin.BunshinSearch
Merges all properties, example for (query_key = java api) java.properties = {IdValue1=(api,docs); IdValue2=(languaje)} api.properties = {IdValue1=(java,docs)} merge(java,api) = {IdValue1=(java,api,docs),IdValue2=(java,language)}

R

REFRESH_TIME - Static variable in class bunshin.Context
 
REGISTRY_CHILDREN - Static variable in class bunshin.Context
REGISTRY_CHILDREN refers to the name of the field containing children objects for any object
REGISTRY_NAMING - Static variable in class bunshin.Context
REGISTRY_NAMING represents the naming distributed object location and routing facility
REGISTRY_PARENT - Static variable in class bunshin.Context
REGISTRY_PARENT refers to the parent of an object (in the naming hierarchy)
REGISTRY_UNIQUE_URI - Static variable in class bunshin.Context
REGISTRY_UNIQUE_URI represents the object URI identifier associated to an object
RemoteListener - Interface in bunshin
Interface for subscribing to remote events
remove(Id) - Method in interface bunshin.Bunshin
Removes the key/value of the Bunshin DHT
remove(String, Id) - Method in interface bunshin.Bunshin
Removes the (context,key)/value of the Bunshin DHT
remove(Id, BunshinRemoveClient) - Method in interface bunshin.Bunshin
Removes the key/value of the Bunshin DHT
remove(String, Id, BunshinRemoveClient) - Method in interface bunshin.Bunshin
Removes the (context,key)/value of the Bunshin DHT
remove(Id) - Method in class bunshin.BunshinImpl
Removes the key/value of the Bunshin DHT
remove(String, Id) - Method in class bunshin.BunshinImpl
Removes the (context,key)/value of the Bunshin DHT
remove(Id, BunshinRemoveClient) - Method in class bunshin.BunshinImpl
Removes the key/value of the Bunshin DHT
remove(String, Id, BunshinRemoveClient) - Method in class bunshin.BunshinImpl
Removes the (context,key)/value of the Bunshin DHT
remove(String, Id) - Method in class bunshin.BunshinSearch
Removes the value of the specific key and their keyword indexes
remove(boolean) - Method in interface bunshin.listeners.BunshinRemoveClient
This method is invoked when a remove ack arrived
remove(String, Id) - Method in class bunshin.storage.DiskStorage
 
remove(String, Id) - Method in class bunshin.storage.MemStorage
 
remove(String, Id) - Method in interface bunshin.storage.StorageManager
 
remove(String, Id) - Method in class bunshin.storage.XMLStorage
 
remove(Id) - Method in class bunshin.util.Bucket
 
remove(String, Id) - Method in class bunshin.util.ReplicaTable
 
REMOVE_ACK_MESSAGE - Static variable in interface bunshin.messaging.MessageType
 
REMOVE_MESSAGE - Static variable in interface bunshin.messaging.MessageType
 
REMOVE_REPLICA_MESSAGE - Static variable in interface bunshin.messaging.MessageType
 
RemoveAckMessage - Class in bunshin.messaging
The remove ack message.
RemoveAckMessage(Id, boolean) - Constructor for class bunshin.messaging.RemoveAckMessage
 
RemoveAckMessage(InputBuffer) - Constructor for class bunshin.messaging.RemoveAckMessage
 
removeBucket(String) - Method in class bunshin.storage.DiskStorage
 
removeBucket(String) - Method in class bunshin.storage.MemStorage
 
removeBucket(String) - Method in interface bunshin.storage.StorageManager
 
removeBucket(String) - Method in class bunshin.storage.XMLStorage
 
RemoveMessage - Class in bunshin.messaging
The remove message.
RemoveMessage(Id, String, NodeHandle) - Constructor for class bunshin.messaging.RemoveMessage
 
RemoveMessage(Id, NodeHandle) - Constructor for class bunshin.messaging.RemoveMessage
 
RemoveMessage(InputBuffer) - Constructor for class bunshin.messaging.RemoveMessage
 
removeObject(String) - Method in class bunshin.BunshinConnection
Remove method
removeObject(String, String) - Method in class bunshin.BunshinConnection
Remove method
removeObject(Id) - Method in class bunshin.BunshinConnection
Remove method
removeObject(String, Id) - Method in class bunshin.BunshinConnection
Remove method
RemoveReplicaMessage - Class in bunshin.messaging
The replica remove message.
RemoveReplicaMessage(NodeHandle, Id) - Constructor for class bunshin.messaging.RemoveReplicaMessage
 
RemoveReplicaMessage(InputBuffer) - Constructor for class bunshin.messaging.RemoveReplicaMessage
 
REPLICA_ACK_MESSAGE - Static variable in interface bunshin.messaging.MessageType
 
REPLICA_FACTOR - Static variable in class bunshin.Context
 
REPLICA_MESSAGE - Static variable in interface bunshin.messaging.MessageType
 
ReplicaAckMessage - Class in bunshin.messaging
The replica ack message.
ReplicaAckMessage(Id, NodeHandle) - Constructor for class bunshin.messaging.ReplicaAckMessage
 
ReplicaAckMessage(InputBuffer) - Constructor for class bunshin.messaging.ReplicaAckMessage
 
ReplicaMessage - Class in bunshin.messaging
The replica message.
ReplicaMessage(Id, Serializable, NodeHandle) - Constructor for class bunshin.messaging.ReplicaMessage
 
ReplicaMessage(InputBuffer) - Constructor for class bunshin.messaging.ReplicaMessage
 
ReplicaTable - Class in bunshin.util
 
ReplicaTable() - Constructor for class bunshin.util.ReplicaTable
 
ResultSortedQueue - Class in bunshin.util
Queue by the number of matches of the elems
ResultSortedQueue(Set) - Constructor for class bunshin.util.ResultSortedQueue
 
ResultSortedQueue.Item - Class in bunshin.util
Element within the ResultSortedQueue.
ResultSortedQueue.Item(int) - Constructor for class bunshin.util.ResultSortedQueue.Item
Builds an element with all required information of an element within the ResultSortedQueue.
ResultSortedQueue.ResultIterator - Class in bunshin.util
Return a specific iterator for the ResultSortedQueue.
ResultSortedQueue.ResultIterator() - Constructor for class bunshin.util.ResultSortedQueue.ResultIterator
Builds a new iterator for the actual
RETRANSMISSIONS - Static variable in class bunshin.Context
Number of event retransmissions in case all timeouts have been consumed
retrieveObject(String, Id, BunshinGetClient) - Method in class bunshin.BunshinConnection
Asynchronous get method
retrieveObject(Id) - Method in class bunshin.BunshinConnection
 
retrieveObject(String, Id) - Method in class bunshin.BunshinConnection
Synchronous get method

S

serialize(OutputBuffer, Hashtable<String, Serializable>) - Method in class bunshin.messaging.BunshinMessage
 
serialize(OutputBuffer) - Method in class bunshin.messaging.CacheMessage
 
serialize(OutputBuffer) - Method in class bunshin.messaging.GetMessage
 
serialize(OutputBuffer) - Method in class bunshin.messaging.LeaveMessage
 
serialize(OutputBuffer) - Method in class bunshin.messaging.PingMessage
 
serialize(OutputBuffer) - Method in class bunshin.messaging.PutAckMessage
 
serialize(OutputBuffer) - Method in class bunshin.messaging.PutMessage
 
serialize(OutputBuffer) - Method in class bunshin.messaging.RemoveAckMessage
 
serialize(OutputBuffer) - Method in class bunshin.messaging.RemoveMessage
 
serialize(OutputBuffer) - Method in class bunshin.messaging.RemoveReplicaMessage
 
serialize(OutputBuffer) - Method in class bunshin.messaging.ReplicaAckMessage
 
serialize(OutputBuffer) - Method in class bunshin.messaging.ReplicaMessage
 
setContext(String) - Method in class bunshin.messaging.BunshinMessage
 
setEndPoint(Endpoint) - Method in interface bunshin.Bunshin
 
setEndPoint(Endpoint) - Method in class bunshin.BunshinImpl
 
setId(String) - Method in class bunshin.BunshinImpl
 
setPath(String, String) - Method in class bunshin.storage.DiskStorage
 
setPath(String, String) - Method in class bunshin.storage.XMLStorage
 
setPreviousNH(NodeHandle) - Method in class bunshin.messaging.GetMessage
 
setRefreshTime(int) - Method in interface bunshin.Bunshin
 
setRefreshTime(int) - Method in class bunshin.BunshinImpl
 
setReplicationFactor(int) - Method in interface bunshin.Bunshin
Sets the number of replicas
setReplicationFactor(int) - Method in class bunshin.BunshinImpl
Sets the number of replicas
setStorageManager(StorageManager) - Method in interface bunshin.Bunshin
Sets the storage manager
setStorageManager(StorageManager) - Method in class bunshin.BunshinImpl
 
setValue(Object) - Method in class bunshin.util.ResultSortedQueue.Item
Sets/Updates the reference to the value of this item.
STORAGE_MANAGER - Static variable in class bunshin.Context
 
StorageException - Exception in bunshin.storage
Wrapper Exception class to different Exceptions It simply stores the incoming Exception and provides a method for obtaining the *real* exception.
StorageException(Exception) - Constructor for exception bunshin.storage.StorageException
 
StorageManager - Interface in bunshin.storage
 
storeObject(Id, Serializable) - Method in class bunshin.BunshinConnection
Puts the pair (key,value)
storeObject(String, Id, Serializable) - Method in class bunshin.BunshinConnection
Puts the pair (key,value)
storeObject(String, Serializable) - Method in class bunshin.BunshinConnection
Puts the pair (key,value), when key = value

T

TIMEOUT - Static variable in class bunshin.Context
Timeout constant.
toString() - Method in class bunshin.messaging.CacheMessage
 
toString() - Method in class bunshin.messaging.GetMessage
 
toString() - Method in class bunshin.messaging.LeaveMessage
 
toString() - Method in class bunshin.messaging.PingMessage
 
toString() - Method in class bunshin.messaging.PutAckMessage
 
toString() - Method in class bunshin.messaging.PutMessage
 
toString() - Method in class bunshin.messaging.RemoveAckMessage
 
toString() - Method in class bunshin.messaging.RemoveMessage
 
toString() - Method in class bunshin.messaging.RemoveReplicaMessage
 
toString() - Method in class bunshin.messaging.ReplicaAckMessage
 
toString() - Method in class bunshin.messaging.ReplicaMessage
 
toString() - Method in class bunshin.util.Bucket
 
toString() - Method in class bunshin.util.ResultSortedQueue
 
TRUE - Static variable in class bunshin.Context
 
TYPE - Static variable in class bunshin.messaging.BunshinMessage
 
TYPE - Static variable in class bunshin.messaging.CacheMessage
Raw Serialization
TYPE - Static variable in class bunshin.messaging.GetMessage
Raw Serialization
TYPE - Static variable in class bunshin.messaging.LeaveMessage
Raw Serialization
TYPE - Static variable in class bunshin.messaging.PingMessage
Raw Serialization
TYPE - Static variable in class bunshin.messaging.PutAckMessage
Raw Serialization
TYPE - Static variable in class bunshin.messaging.PutMessage
Raw Serialization
TYPE - Static variable in class bunshin.messaging.RemoveAckMessage
Raw Serialization
TYPE - Static variable in class bunshin.messaging.RemoveMessage
Raw Serialization
TYPE - Static variable in class bunshin.messaging.RemoveReplicaMessage
Raw Serialization
TYPE - Static variable in class bunshin.messaging.ReplicaAckMessage
Raw Serialization
TYPE - Static variable in class bunshin.messaging.ReplicaMessage
Raw Serialization

U

update(NodeHandle, boolean) - Method in class bunshin.BunshinImpl
This method is invoked to inform the application that the given node has either joined or left the neighbor set of the local node, as the set would be returned by the neighborSet call.
update(Object) - Method in class bunshin.util.PriorityList
 
Utilities - Class in bunshin.util
Util methods used in the bunshin classes
Utilities() - Constructor for class bunshin.util.Utilities
 

W

write(String, Id, Serializable) - Method in class bunshin.storage.DiskStorage
 
write(String, Id, Serializable) - Method in class bunshin.storage.MemStorage
 
write(String, Id, Serializable) - Method in interface bunshin.storage.StorageManager
 
write(String, Id, Serializable) - Method in class bunshin.storage.XMLStorage
 

X

XMLStorage - Class in bunshin.storage
 
XMLStorage() - Constructor for class bunshin.storage.XMLStorage
 
XMLStorage(String) - Constructor for class bunshin.storage.XMLStorage
 
XMLStorage(String, long) - Constructor for class bunshin.storage.XMLStorage
 
XMLStorage(long) - Constructor for class bunshin.storage.XMLStorage
 

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