Back to index

nordugrid-arc-nox  1.1.0~rc6
Classes | Variables
storage.ahash.replicatedahash Namespace Reference

Classes

class  ReplicatedAHash
class  ReplicationStore
class  ReplicationManager

Variables

tuple log = Logger(arc.Logger(arc.Logger_getRootLogger(), 'Storage.ReplicatedAHash'))
 eid = db.DB_EID_BROADCAST
dictionary hostMap = {}
int NEWSITE_MESSAGE = 1
int REP_MESSAGE = 2
int HEARTBEAT_MESSAGE = 3
int MASTER_MESSAGE = 4
int ELECTION_MESSAGE = 5

Detailed Description

Replicated A-Hash
----

Replicated prototype implementation of the A-Hash service.
This service builds on the centralized A-Hash and 
Berkeley DB High Availability.

Methods:
    - get
    - change
    - sendMessage
    - processMessage
Sample configuration:

<Service name="pythonservice" id="ahash">
    <ClassName>storage.ahash.ahash.AHashService</ClassName>
    <AHashClass>storage.ahash.replicatedahash.ReplicatedAHash</AHashClass>
    <LocalDir>ahash_data</LocalDir>
    <MyURL>http://localhost:60000/RepAHash</MyURL>
    <OtherURL>http://otherhost:60000/RepAHash</OtherURL>
</Service>

Variable Documentation

storage.ahash.replicatedahash.eid = db.DB_EID_BROADCAST

Definition at line 54 of file replicatedahash.py.

Definition at line 346 of file replicatedahash.py.

Definition at line 344 of file replicatedahash.py.

Definition at line 340 of file replicatedahash.py.

Definition at line 41 of file replicatedahash.py.

Definition at line 345 of file replicatedahash.py.

Definition at line 342 of file replicatedahash.py.

Definition at line 343 of file replicatedahash.py.