Serialized Form


Package org.metastatic.rsync

Class org.metastatic.rsync.Checksum32 implements Serializable

Serialized Fields

char_offset

int char_offset

a

int a
The first half of the checksum.

Since:
1.1

b

int b
The second half of the checksum.

Since:
1.1

k

int k
The place from whence the current checksum has been computed.

Since:
1.1

l

int l
The place to where the current checksum has been computed.

Since:
1.1

block

byte[] block
The block from which the checksum is computed.

Since:
1.1

new_index

int new_index
The index in Checksum32.new_block where the newest byte has been stored.

Since:
1.1

new_block

byte[] new_block
The block that is recieving new input.

Since:
1.1

Class org.metastatic.rsync.ChecksumPair implements Serializable

Serialized Fields

weak

int weak
The weak, rolling checksum.

Since:
1.1

strong

byte[] strong
The strong checksum.

Since:
1.1

offset

long offset
The offset in the original data where this pair was generated.


length

int length
The number of bytes these sums are over.


seq

int seq
The sequence number of these sums.

Class org.metastatic.rsync.Configuration implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Serialized Fields

blockLength

int blockLength
The length of blocks to checksum.


strongSumLength

int strongSumLength
The effective length of the strong sum.


doRunLength

boolean doRunLength
Whether or not to do run-length encoding when making Deltas.


checksumSeed

byte[] checksumSeed
The seed for the checksum, to perturb the strong checksum and help avoid collisions in plain rsync (or in similar applicaitons).


chunkSize

int chunkSize
The maximum size of byte arrays to create, when they are needed. This vale defaults to 32 kilobytes.

Class org.metastatic.rsync.DataBlock implements Serializable

Serialized Fields

data

byte[] data
The block of data to insert.

Since:
1.1

offset

long offset
The offset in the file to start this block.

Since:
1.1

Class org.metastatic.rsync.GeneratorEvent implements Serializable

Class org.metastatic.rsync.JarsyncProvider implements Serializable

Class org.metastatic.rsync.ListenerException implements Serializable

Serialized Fields

next

ListenerException next

cause

Throwable cause

Class org.metastatic.rsync.MatcherEvent implements Serializable

Class org.metastatic.rsync.Offsets implements Serializable

Serialized Fields

oldOffset

long oldOffset
The original offset.

Since:
1.1

newOffset

long newOffset
The new offset.

Since:
1.1

blockLength

int blockLength
The size of the moved block, in bytes.

Since:
1.1

Class org.metastatic.rsync.ParameterException implements Serializable

Class org.metastatic.rsync.RebuilderEvent implements Serializable

Class org.metastatic.rsync.TwoKeyMap implements Serializable

Serialized Fields

tables

TwoKeyMap.SubTable[] tables
The sub-tables whose keys are the larger, stronger keys. The index of this array is the shorter, weaker key.

Since:
1.1

Class org.metastatic.rsync.TwoKeyMap.StrongKey implements Serializable

Serialized Fields

key

byte[] key
The key itself. An array of some number of bytes.

Since:
1.0

Class org.metastatic.rsync.TwoKeyMap.SubTable implements Serializable

Serialized Fields

data

Map data
The sub-table, a Map that is an instance of TreeMap.

Since:
1.1

key

Integer key
The index in the array of sub-tables in which this entry is a member.

Since:
1.1

next

TwoKeyMap.SubTable next
The next sub-table, implements a linked list.

Since:
1.1


Package org.metastatic.rsync.v2

Class org.metastatic.rsync.v2.ProtocolException implements Serializable