Serialized Form
Package planet.commonapi.exception |
Package planet.chord.message |
info
Message info
limit
NodeHandle limit
id
Id id
handle
NodeHandle handle
succs
java.util.Vector succs
from
Id from
to
Id to
type
int type
times
int times
time
int time
time
int time
timer
IScheduler timer
network
Network network
periodic
java.util.Vector[] periodic
nextAlarm
int nextAlarm
alarms
OrderedList alarms
time
int time
nodes
java.util.HashMap nodes
timer
IScheduler timer
toRemove
java.util.Stack toRemove
stab
int stab
nodeFactory
NodeFactory nodeFactory
idFactory
IdFactory idFactory
appId
java.lang.String appId
node
java.lang.String node
data
java.util.Hashtable data
endPoint
EndPoint endPoint
originNode
java.lang.String originNode
key
java.lang.String key
value
java.lang.String value
vValue
java.util.Vector vValue
type
int type
Package planet.test.broadcast |
store
java.util.Properties store
endPoint
EndPoint endPoint
appId
java.lang.String appId
- Identification of the application instance.
data
java.lang.String data
sourceNodeId
Id sourceNodeId
props
java.util.Properties props
arrayElems
int arrayElems
- number of elements in the array
Id
int[] Id
- the id itself.
MAX
Id MAX
null_pointers
int null_pointers
finger_changes
int finger_changes
- Detect the number of finger changes only on one simulation step.
stabRate
int stabRate
- Number of simulation steps without changes on finger table.
realStabilizationRate
int realStabilizationRate
- Number of simulation steps without changes on finger table, that
represents a real stabilization of this node.
finger
NodeHandle[] finger
start
Id[] start
predecessor
NodeHandle predecessor
succ_list
java.util.Vector succ_list
hasFailed
boolean hasFailed
hasLeaved
boolean hasLeaved
temp
NodeHandle[] temp
auxCAPI
java.util.Vector auxCAPI
- Temporal use in Common API methods.
deux
Id deux
stabilizeSteps
int stabilizeSteps
- Number of steps for statibilization.
fixFingerSteps
int fixFingerSteps
- Number of steps to fix fingers.
succListMax
int succListMax
- Max size for successor list.
id
double id
- Internal value for this Id.
incommingSet
java.util.Set incommingSet
outcommingSet
java.util.Set outcommingSet
succSet
java.util.TreeSet succSet
predSet
java.util.TreeSet predSet
n
double n
newSet
java.util.Set newSet
connectedNodes
java.util.Set connectedNodes
retriesNewLongDistance
int retriesNewLongDistance
curNew
NodeHandle curNew
pendingJoinMsg
java.util.Set pendingJoinMsg
queryJoinState
int queryJoinState
alive
boolean alive
stabilized
boolean stabilized
K
int K
- Maximum number of long distance connections.
F
int F
- Maximum number of members in successor list.
maxRetriesNewLongDistance
int maxRetriesNewLongDistance
- Maximum number of retries
to obtain a connection to the same long distance node.
maxJoinRetries
int maxJoinRetries
- Maximum number of retries
to enter to the network by the same bootstrap.
cnt
int cnt
ini
int ini
MAX
int MAX
next
OrderedList next
prev
OrderedList prev
elem
java.lang.Object elem
value
int value
data
java.lang.Object[] data
- The references to values stored within the queue.
head
int head
- index of the head of queue.
count
int count
- current size of queue
Package planet.util.timer |
tasks
java.util.TreeSet tasks
finished
boolean finished
executed
boolean executed
- Inform if this TimerTask has been executed.
finished
boolean finished
- Inform if it has been cancelled.
periodic
boolean periodic
- Inform if it is a periodic Timertask.
Package planet.scribe.messaging |
id
int id
- The id of this subscribe message
content
ScribeContent content
- the content of this message
visited
java.util.Vector visited
- the list of nodes which we have visited
toVisit
java.util.LinkedList toVisit
- the list of nodes which we are going to visit
content
ScribeContent content
content
ScribeContent content
messageKey
Id messageKey
sourceId
Id sourceId
request
boolean request
replicaSet
java.util.Vector replicaSet
maxRank
int maxRank
source
NodeHandle source
topic
Topic topic
pathToRoot
Id[] pathToRoot
- The contained path to the root
subscriber
NodeHandle subscriber
- The original subscriber
previousParent
Id previousParent
- The previous parent
id
int id
- The id of this message
Package planet.generic.commonapi.factory |
readObject
private void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Makes a first stream.defaultReadObject() invocation to uses
the default read method. And then, builds the constructor for
the loaded Node class.
- Throws:
java.io.IOException
- if occur any error during
default read object, or if there are any error during
building of Node constructor.
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
- Makes nothing special, only invokes to stream.defaultWriteObject().
- Throws:
java.io.IOException
- if any error has ocurred.
readObject
private void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Makes a first stream.defaultReadObject() invocation to uses
the default read method. And then, builds the constructor for
the loaded Node class.
- Throws:
java.io.IOException
- if occur any error during
default read object, or if there are any error during
building of Node constructor.
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
- Makes nothing special, only invokes to stream.defaultWriteObject().
- Throws:
java.io.IOException
- if any error has ocurred.
propertiesFile
java.lang.String propertiesFile
- Properties file name whose read properties.
idClass
java.lang.Class idClass
- Actual instance of Class for new Ids.
topology
java.lang.String topology
- Topology of the actual target network. It is necessary to know how
generate the new Ids of Nodes.
networkSize
int networkSize
- Network size for the target network.
actualValue
Id actualValue
- Id just generated.
chunkValue
Id chunkValue
- Actual value to add to the actualValue to obtain the next Id.
actualBuildsIds
int actualBuildsIds
- Number of Ids generated actually. Its value is important for the
Circular networks.
random
java.util.Random random
- Random generator for random Id's.
readObject
private void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Makes a first stream.defaultReadObject() invocation to uses
the default read method. And then, builds the constructor for
the loaded Node class.
- Throws:
java.io.IOException
- if occur any error during
default read object, or if there are any error during
building of Node constructor.
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
- Makes nothing special, only invokes to stream.defaultWriteObject().
- Throws:
java.io.IOException
- if any error has ocurred.
propertiesFile
java.lang.String propertiesFile
- Properties file name whose read properties.
idFactory
IdFactory idFactory
- Actual instance of IdFactory.
nodeClass
java.lang.Class nodeClass
- Actual instance of Class for new Nodes.
topology
java.lang.String topology
- Topology of the actual target network. It is necessary to know how
generate the new Ids of Nodes.
readObject
private void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Makes a first stream.defaultReadObject() invocation to uses
the default read method. And then, builds the constructor for
the loaded NodeHandle class.
- Throws:
java.io.IOException
- if occur any error during
default read object, or if there are any error during
building of NodeHandle constructor.
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
- Makes nothing special, only invokes to stream.defaultWriteObject().
- Throws:
java.io.IOException
- if any error has ocurred.
nodeHandleClass
java.lang.Class nodeHandleClass
- Actual instance of Class for new Nodes.
topics
java.util.Hashtable topics
- the hashtable of topic -> TopicManager
policy
ScribePolicy policy
- this scribe's policy
endpoint
EndPoint endpoint
- this application's endpoint
handle
NodeHandle handle
- the local node handle
outstanding
java.util.Hashtable outstanding
- the hashtable of outstanding messages
id
int id
- the next unique id
appId
java.lang.String appId
- the next unique id
id
Id id
- The Id to which this topic is mapped
Package planet.symphony.messages |
newNode
NodeHandle newNode
bootStrap
NodeHandle bootStrap
retries
int retries
newNode
NodeHandle newNode
curF
int curF
pendingJoinMsg
java.util.Set pendingJoinMsg
succSet
java.util.Collection succSet
predSet
java.util.Collection predSet
hasSuccSet
boolean hasSuccSet
hasPredSet
boolean hasPredSet
predId
Id predId
sectionSizePred
double sectionSizePred
sectionSizeSucc
double sectionSizeSucc
succId
Id succId
Package planet.generic.commonapi.message |
messageKey
Id messageKey
message
Message message
Package planet.test.timer |
name
java.lang.String name
- Inform name of this TimerTask.
Package planet.generic.commonapi |
node
Node node
app
Application app
readObject
private void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reads a serialized state of
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
- Serialize this instance through the stream. It is
responsible to generate a correct serialized state.
- Throws:
java.io.IOException
- if occurs any problem during serialization.
nodes
java.util.TreeMap nodes
- To contains (Id,Node) pairs for all nodes in the network.
toRemove
java.util.Stack toRemove
- Containts all nodes to remove from the network.
nodeFactory
NodeFactory nodeFactory
- NodeFactory implementation which permits build new nodes.
topology
java.lang.String topology
- Defines the topology of the actual network.
randomGenerator
java.util.Random randomGenerator
- Random generator to use to generate random indexes.
size
int size
- The actual size of the network. The number of contained nodes.
It is required for when there are leaving nodes, for showing
the real size on any time.
stabLevel
int stabLevel
- Shows the level of stabilization of the network.
totalSteps
int totalSteps
- Shows the number of actually simulated steps.
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
id
Id id
processed
int processed
alive
boolean alive
timer
Timer timer
- Timer to process each TimerTask.
nodeHandle
NodeHandle nodeHandle
- NodeHandle for the actual Node.
endpoints
java.util.Hashtable endpoints
- Local EndPoints.
nodeId
Id nodeId
- Node Id.
alive
boolean alive
- true if related Node is alive.
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
id
Id id
processed
int processed
nodeHandle
NodeHandle nodeHandle
- NodeHandle for the actual Node.
timer
java.util.Vector timer
- To contain int[] with [firstTime][period] values for each task.
If period is zero (0), corresponds with a task to execute only once.
tasks
java.util.Vector tasks
- To contain the jobs (TimerTask) to execute at each time.
timerCount
long timerCount
timerNext
long timerNext
endpoints
java.util.Hashtable endpoints
- Local EndPoints.
appId
java.lang.String appId
- The application Id who generates the related data and
will receive on to remote Node.
message
Message message
- Message (data) to be routed
nextHop
NodeHandle nextHop
- Next node to arrive
destination
NodeHandle destination
- Destination Node Id who will receive this message.
source
NodeHandle source
- Source Node Id who sends this message.
type
int type
- Type of this message.
mode
int mode
- Mode of this message.
key
java.lang.String key
- Identification key of this message, necessary to known
relationships between sent messages and new incoming messages.
Package planet.test.simpledht |
store
java.util.Properties store
endPoint
EndPoint endPoint
node
java.lang.String node
appId
java.lang.String appId
- Identification of the application instance.
data
java.lang.String data
- Contents of this message.