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

A

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() - Constructor for class net.tomp2p.replication.AutoReplication
Constructor.

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.

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
 
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
 
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
 
direct(Builder, int, int) - Method in class net.tomp2p.replication.DirectReplication
 
direct(Builder, int, int, AutomaticFuture) - Method in class net.tomp2p.replication.DirectReplication
 
DirectReplication - Class in net.tomp2p.replication
 
DirectReplication(Peer) - Constructor for class net.tomp2p.replication.DirectReplication
 
DirectReplication(Peer, int) - Constructor for class net.tomp2p.replication.DirectReplication
 
DirectReplication(Peer, int, ThreadFactory) - Constructor for class net.tomp2p.replication.DirectReplication
 

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
 

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

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.
init(Peer) - Method in class net.tomp2p.replication.AutoReplication
 
init(Peer) - Method in class net.tomp2p.synchronization.ReplicationSync
 
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
 
isSyncFromOldVersion() - Method in class net.tomp2p.synchronization.SyncBuilder
 

K

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
 
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
 

O

observationLength(int) - Method in class net.tomp2p.replication.AutoReplication
 
observationLength() - Method in class net.tomp2p.replication.AutoReplication
 

P

peer() - Method in class net.tomp2p.synchronization.PeerSync
 
peerInserted(PeerAddress, boolean) - Method in class net.tomp2p.replication.AutoReplication
 
peerMapSize() - Method in class net.tomp2p.replication.AutoReplication
 
peerRemoved(PeerAddress, PeerStatatistic) - Method in class net.tomp2p.replication.AutoReplication
 
PeerSync - Class in net.tomp2p.synchronization
 
PeerSync(Peer, int) - Constructor for class net.tomp2p.synchronization.PeerSync
Create a PeerSync class and register the RPC.
peerSync() - Method in class net.tomp2p.synchronization.ReplicationSync
 
peerUpdated(PeerAddress, PeerStatatistic) - Method in class net.tomp2p.replication.AutoReplication
 
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
 
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.
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.
ReplicationSync - Class in net.tomp2p.synchronization
 
ReplicationSync() - Constructor for class net.tomp2p.synchronization.ReplicationSync
 
ReplicationSync(int) - Constructor for class net.tomp2p.synchronization.ReplicationSync
 
reset() - Method in class net.tomp2p.synchronization.RSync.RollingChecksum
Resets the checksum to its initial state 1.
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
 

S

sendDirect(PeerAddress, Number160, Map<Number640, Data>) - Method in class net.tomp2p.synchronization.ReplicationSync
 
setDomainKey(Number160) - Method in class net.tomp2p.synchronization.SyncBuilder
 
shutdown() - Method in class net.tomp2p.replication.DirectReplication
 
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.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) - 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 H I K L M N O P R S T U V W 

Copyright © 2014. All rights reserved.