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

A

addResponsibilityListener(ResponsibilityListener) - Method in class net.tomp2p.replication.IndirectReplication
 
addResponsibilityListener(ResponsibilityListener) - Method in class net.tomp2p.replication.Replication
Add responsibility listener.
AutoReplication - Class in net.tomp2p.replication
AutomaticReplication class observes the local network conditions and predicts the next departure count based on previous and current peer churn behaviors.
AutoReplication(Peer) - Constructor for class net.tomp2p.replication.AutoReplication
Constructor.
autoReplication(boolean) - Method in class net.tomp2p.replication.IndirectReplication
 
autoReplication() - Method in class net.tomp2p.replication.IndirectReplication
 

B

bestSmoothingFactor(ArrayList<Integer>, ArrayList<Double>) - Static method in class net.tomp2p.replication.AutoReplication
The interval length which results in maximum value of R squared is considered to be the best solution for the smoothing factor.
blockSize(int) - Method in class net.tomp2p.replication.IndirectReplication
 
blockSize() - Method in class net.tomp2p.replication.IndirectReplication
 

C

Checksum - Class in net.tomp2p.synchronization
Class that holds the checksum, a weak rolling checksum and a strong checksum.
Checksum(int, byte[]) - Constructor for class net.tomp2p.synchronization.Checksum
 
checksums(byte[], int) - Static method in class net.tomp2p.synchronization.RSync
It returns an array of weak and strong checksums for the value.
choose(int, int) - Static method in class net.tomp2p.replication.AutoReplication
nCR (ohne Zurücklegen, ohne Beachtung der Reihenfolge) http://stackoverflow.com/questions/1678690/what-is-a-good-way-to- implement-choose-notation-in-java

D

dataCopy() - Method in class net.tomp2p.synchronization.SyncStat
 
dataInserted(Number160) - Method in class net.tomp2p.replication.Replication
Update responsibilities.
dataMap(DataMap) - Method in class net.tomp2p.synchronization.SyncBuilder
 
dataMap() - Method in class net.tomp2p.synchronization.SyncBuilder
 
dataMapHash() - Method in class net.tomp2p.synchronization.SyncBuilder
 
dataOrig() - Method in class net.tomp2p.synchronization.SyncStat
 
dataRemoved(Number160) - Method in class net.tomp2p.replication.Replication
 
decodeChecksums(ByteBuf) - Static method in class net.tomp2p.synchronization.SyncUtils
 
decodeHeader(ByteBuf) - Static method in class net.tomp2p.synchronization.SyncUtils
 
decodeInstructions(ByteBuf) - Static method in class net.tomp2p.synchronization.SyncUtils
 
delayMillis(int) - Method in class net.tomp2p.replication.IndirectReplication
 
delayMillis() - Method in class net.tomp2p.replication.IndirectReplication
 

E

ema(ArrayList<Integer>, ArrayList<Double>) - Static method in class net.tomp2p.replication.AutoReplication
Exponential Moving Average with Dynamic Smoothing Factor
encodeChecksum(List<Checksum>, Number160, Number160, ByteBuf) - Static method in class net.tomp2p.synchronization.SyncUtils
 
encodeInstructions(List<Instruction>, Number160, Number160, AlternativeCompositeByteBuf) - Static method in class net.tomp2p.synchronization.SyncUtils
 
equals(Object) - Method in class net.tomp2p.synchronization.Checksum
 
equals(Object) - Method in class net.tomp2p.synchronization.Instruction
 

G

getVersionKeysFromMap(Map<Number640, Data>) - Static method in class net.tomp2p.replication.IndirectReplication
 

H

handleResponse(Message, PeerConnection, boolean, Responder) - Method in class net.tomp2p.synchronization.SyncRPC
 
hashCode() - Method in class net.tomp2p.synchronization.Checksum
 
hashCode() - Method in class net.tomp2p.synchronization.Instruction
 

I

IndirectReplication - Class in net.tomp2p.replication
This implements the default indirect replication.
IndirectReplication(PeerDHT) - Constructor for class net.tomp2p.replication.IndirectReplication
 
INFO_COMMAND - Static variable in class net.tomp2p.synchronization.SyncRPC
 
infoMessage(PeerAddress, SyncBuilder, ChannelCreator) - Method in class net.tomp2p.synchronization.SyncRPC
Sends info message that asks whether the data is present at replica peer or not.
Instruction - Class in net.tomp2p.synchronization
Class that holds the instructions what to do with the differences.
Instruction(int) - Constructor for class net.tomp2p.synchronization.Instruction
 
Instruction(DataBuffer) - Constructor for class net.tomp2p.synchronization.Instruction
 
instructions(byte[], List<Checksum>, int) - Static method in class net.tomp2p.synchronization.RSync
It returns the sequence of instructions each of which contains either reference to a block or literal data.
instructions() - Method in class net.tomp2p.synchronization.SyncBuilder
 
intervalMillis(int) - Method in class net.tomp2p.replication.IndirectReplication
 
intervalMillis() - Method in class net.tomp2p.replication.IndirectReplication
 
is0RootReplication() - Method in class net.tomp2p.replication.Replication
 
isAutoReplication() - Method in class net.tomp2p.replication.IndirectReplication
 
isKeepingData() - Method in class net.tomp2p.replication.IndirectReplication
 
isKeepingData() - Method in class net.tomp2p.replication.Replication
 
isNRoot() - Method in class net.tomp2p.replication.IndirectReplication
 
isNRootReplication() - Method in class net.tomp2p.replication.Replication
 
isReplication() - Method in class net.tomp2p.replication.Replication
Checks if the user enabled replication.
isRsync() - Method in class net.tomp2p.replication.IndirectReplication
 
isSyncFromOldVersion() - Method in class net.tomp2p.synchronization.SyncBuilder
 

K

keepData(boolean) - Method in class net.tomp2p.replication.IndirectReplication
 
keepData() - Method in class net.tomp2p.replication.IndirectReplication
Replicated and stored data will be not deleted after loss of replication responsibility.
keepData(boolean) - Method in class net.tomp2p.replication.Replication
 
key() - Method in class net.tomp2p.synchronization.SyncBuilder
 
key(Number640) - Method in class net.tomp2p.synchronization.SyncBuilder
 
keys() - Method in class net.tomp2p.synchronization.SyncBuilder
 
keys(Set<Number640>) - Method in class net.tomp2p.synchronization.SyncBuilder
 

L

length() - Method in class net.tomp2p.synchronization.Checksum
 
length() - Method in class net.tomp2p.synchronization.Instruction
 
linearRegression(ArrayList<Integer>, ArrayList<Double>, int) - Static method in class net.tomp2p.replication.AutoReplication
LinearRegression, adapted from: http://introcs.cs.princeton.edu/java/97data/LinearRegression.java.html
literal() - Method in class net.tomp2p.synchronization.Instruction
 

M

maxReplicationFactor(int) - Method in class net.tomp2p.replication.AutoReplication
 
maxReplicationFactor() - Method in class net.tomp2p.replication.AutoReplication
 
meResponsible(Number160) - Method in class net.tomp2p.replication.IndirectReplication
 
meResponsible(Number160, PeerAddress) - Method in class net.tomp2p.replication.IndirectReplication
 
minReplicationFactor(int) - Method in class net.tomp2p.replication.AutoReplication
 
minReplicationFactor() - Method in class net.tomp2p.replication.AutoReplication
 

N

net.tomp2p.replication - package net.tomp2p.replication
 
net.tomp2p.synchronization - package net.tomp2p.synchronization
 
nRoot(boolean) - Method in class net.tomp2p.replication.IndirectReplication
 
nRoot() - Method in class net.tomp2p.replication.IndirectReplication
 
nRootReplication(boolean) - Method in class net.tomp2p.replication.Replication
 

O

observationLength(int) - Method in class net.tomp2p.replication.AutoReplication
 
observationLength() - Method in class net.tomp2p.replication.AutoReplication
 
otherResponsible(Number160, PeerAddress) - Method in class net.tomp2p.replication.IndirectReplication
 

P

peerDHT() - Method in class net.tomp2p.synchronization.PeerSync
 
peerInserted(PeerAddress, boolean) - Method in class net.tomp2p.replication.AutoReplication
 
peerInserted(PeerAddress, boolean) - Method in class net.tomp2p.replication.Replication
 
peerMapSize() - Method in class net.tomp2p.replication.AutoReplication
 
peerRemoved(PeerAddress, PeerStatistic) - Method in class net.tomp2p.replication.AutoReplication
 
peerRemoved(PeerAddress, PeerStatistic) - Method in class net.tomp2p.replication.Replication
 
PeerSync - Class in net.tomp2p.synchronization
 
PeerSync(PeerDHT) - Constructor for class net.tomp2p.synchronization.PeerSync
 
PeerSync(PeerDHT, int) - Constructor for class net.tomp2p.synchronization.PeerSync
 
PeerSync(PeerDHT, ReplicationListener, int) - Constructor for class net.tomp2p.synchronization.PeerSync
Create a PeerSync class and register the RPC.
peerUpdated(PeerAddress, PeerStatistic) - Method in class net.tomp2p.replication.AutoReplication
 
peerUpdated(PeerAddress, PeerStatistic) - Method in class net.tomp2p.replication.Replication
 
predictedValue(ArrayList<Integer>, double) - Static method in class net.tomp2p.replication.AutoReplication
Exponential Moving Average with Dynamic Smoothing Factor plus Deviation

R

reconstruct(byte[], List<Instruction>, int) - Static method in class net.tomp2p.synchronization.RSync
It reconstructs the copy of responsible peer's value using instructions and the replica's value.
reference() - Method in class net.tomp2p.synchronization.Instruction
 
reliability(double) - Method in class net.tomp2p.replication.AutoReplication
 
reliability() - Method in class net.tomp2p.replication.AutoReplication
 
removeResponsibilityListener(ResponsibilityListener) - Method in class net.tomp2p.replication.IndirectReplication
 
removeResponsibilityListener(ResponsibilityListener) - Method in class net.tomp2p.replication.Replication
Remove a responsibility listener.
Replication - Class in net.tomp2p.replication
This class has 3 methods that are called from outside eventes: check, peerInsert, peerRemoved.
Replication(StorageLayer, PeerAddress, PeerMap, int, boolean, boolean) - Constructor for class net.tomp2p.replication.Replication
Constructor.
replicationFactor() - Method in class net.tomp2p.replication.AutoReplication
 
replicationFactor(int, int, double, int, int) - Static method in class net.tomp2p.replication.AutoReplication
Calculate the replication factor given the reliability within a churn interval and the (predicted) number of peers that left the system.
replicationFactor(ReplicationFactor) - Method in class net.tomp2p.replication.IndirectReplication
 
replicationFactor(int) - Method in class net.tomp2p.replication.IndirectReplication
 
replicationFactor() - Method in class net.tomp2p.replication.IndirectReplication
 
replicationFactor(int) - Method in class net.tomp2p.replication.Replication
 
replicationFactor() - Method in class net.tomp2p.replication.Replication
 
ReplicationFactor - Interface in net.tomp2p.replication
 
replicationFactor() - Method in interface net.tomp2p.replication.ReplicationFactor
 
replicationFactor2(int, int, double, int, int) - Static method in class net.tomp2p.replication.AutoReplication
Calculate the replication factor given the reliability within a churn interval and the (predicted) number of peers that left the system.
ReplicationSender - Interface in net.tomp2p.replication
 
reset() - Method in class net.tomp2p.synchronization.RSync.RollingChecksum
Resets the checksum to its initial state 1.
rsync(boolean) - Method in class net.tomp2p.replication.IndirectReplication
 
rsync() - Method in class net.tomp2p.replication.IndirectReplication
 
RSync - Class in net.tomp2p.synchronization
Synchronization class is responsible for efficient and optimal synchronization of data resources between responsible peer and replica peers.
RSync() - Constructor for class net.tomp2p.synchronization.RSync
 
RSync.RollingChecksum - Class in net.tomp2p.synchronization
Variation of Adler as used in Rsync.
RSync.RollingChecksum() - Constructor for class net.tomp2p.synchronization.RSync.RollingChecksum
 
run() - Method in class net.tomp2p.replication.IndirectReplication
 

S

send(Number160, Map<Number640, Data>) - Method in class net.tomp2p.replication.IndirectReplication
If my peer is responsible, I'll issue a put if absent to make sure all replicas are stored.
sendDirect(PeerAddress, Number160, Map<Number640, Data>) - Method in interface net.tomp2p.replication.ReplicationSender
 
sendDirect(PeerAddress, Number160, Map<Number640, Data>) - Method in class net.tomp2p.synchronization.PeerSync
 
shutdown() - Method in class net.tomp2p.replication.AutoReplication
 
shutdown() - Method in class net.tomp2p.replication.IndirectReplication
 
standardDeviation(ArrayList<Integer>, double) - Static method in class net.tomp2p.replication.AutoReplication
Calculation of sample standard deviation for a set of values.
start() - Method in class net.tomp2p.replication.AutoReplication
 
start() - Method in class net.tomp2p.replication.IndirectReplication
 
start() - Method in class net.tomp2p.synchronization.SyncBuilder
 
strongChecksum() - Method in class net.tomp2p.synchronization.Checksum
 
SYNC_COMMAND - Static variable in class net.tomp2p.synchronization.SyncRPC
 
SyncBuilder - Class in net.tomp2p.synchronization
The builder for the synchronization.
SyncBuilder(PeerSync, PeerAddress) - Constructor for class net.tomp2p.synchronization.SyncBuilder
 
SyncBuilder(PeerSync, PeerAddress, int) - Constructor for class net.tomp2p.synchronization.SyncBuilder
Constructor.
syncFromOldVersion() - Method in class net.tomp2p.synchronization.SyncBuilder
 
syncFromOldVersion(boolean) - Method in class net.tomp2p.synchronization.SyncBuilder
 
synchronize(PeerAddress) - Method in class net.tomp2p.synchronization.PeerSync
 
syncMessage(PeerAddress, SyncBuilder, ChannelCreator) - Method in class net.tomp2p.synchronization.SyncRPC
Sends sync message that transfers the changed parts of data to a replica peer.
syncRPC() - Method in class net.tomp2p.synchronization.PeerSync
 
SyncRPC - Class in net.tomp2p.synchronization
This Synchronization RPC is used to synchronize data between peers by transferring only changes.
SyncRPC(PeerBean, ConnectionBean, int, StorageLayer, ReplicationListener) - Constructor for class net.tomp2p.synchronization.SyncRPC
Constructor that registers this RPC with the message handler.
SyncStat - Class in net.tomp2p.synchronization
 
SyncStat(Number160, Number160, int, int) - Constructor for class net.tomp2p.synchronization.SyncStat
 
SyncUtils - Class in net.tomp2p.synchronization
 
SyncUtils() - Constructor for class net.tomp2p.synchronization.SyncUtils
 

T

toString() - Method in class net.tomp2p.synchronization.Checksum
 
toString() - Method in class net.tomp2p.synchronization.Instruction
 
toString() - Method in class net.tomp2p.synchronization.SyncStat
 

U

update(byte[], int, int) - Method in class net.tomp2p.synchronization.RSync.RollingChecksum
Iterates over the array and calculates a variation of Adler.
updateRolling(byte[]) - Method in class net.tomp2p.synchronization.RSync.RollingChecksum
Slide the window of the array by 1.

V

value() - Method in class net.tomp2p.synchronization.RSync.RollingChecksum
 
value(int) - Method in class net.tomp2p.synchronization.RSync.RollingChecksum
Sets the checksum to this value.

W

weakChecksum() - Method in class net.tomp2p.synchronization.Checksum
 
A B C D E G H I K L M N O P R S T U V W 

Copyright © 2014. All rights reserved.