Module Expr Str Expr Str Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Assign NameStore Call AttributeLoad Str attr ListComp BoolOpOr BoolOpAnd CompareEq Call NameLoad Call NameLoad Call NameLoad NameLoad Num Call NameLoad NameLoad Str comprehension NameStore Call NameLoad Num FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore Num Assign NameStore Str While NameLoad body Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Slice NameLoad SubscriptLoad NameLoad Slice NameLoad Assign NameStore Call AttributeLoad Str attr ListComp BinOpMod Str Call NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore BinOpMod Str TupleLoad NameLoad BinOpMult NameLoad Num NameLoad NameLoad AugAssignAdd NameStore NameLoad Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults NameLoad body FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad NameLoad While BoolOpAnd UnaryOpNot NameLoad CompareLt Call AttributeLoad NameLoad attr NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad name NameStore body If BoolOpAnd UnaryOpNot NameLoad Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Raise If CompareEq Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Num body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpMult NameLoad NameLoad If CompareGt BinOpAdd Call AttributeLoad NameLoad attr NameLoad NameLoad body Raise AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Call NameLoad NameLoad Return NameLoad decorator_list Return NameLoad decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr If CompareEq Call NameLoad NameLoad Num body Raise Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotIn NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr body Raise Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Str TupleLoad Str Str Call NameLoad keyword NameLoad Call NameLoad Str Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Str Call NameLoad keyword NameLoad Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list Call AttributeLoad NameLoad attr Str Str Call NameLoad keyword NameLoad Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list Call AttributeLoad NameLoad attr Str Str Call NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list Call AttributeLoad NameLoad attr Str Str Call NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Str Str Call NameLoad Call NameLoad Str Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list Call NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Str Str Call NameLoad Call NameLoad Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list Call AttributeLoad NameLoad attr Str Str Str Call NameLoad keyword NameLoad Call NameLoad Str Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list Call AttributeLoad NameLoad attr Str Str Call NameLoad keyword NameLoad Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Str TupleLoad Str NameLoad Call NameLoad Call NameLoad Str Str FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Str Call NameLoad Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list Call AttributeLoad NameLoad attr Str Str Call NameLoad Call NameLoad Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Str Str Str Str TupleLoad Str Num Call NameLoad keyword NameLoad Call NameLoad Str Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list Call AttributeLoad NameLoad attr Str Str Str Str Str TupleLoad Str Num Call NameLoad keyword NameLoad Call NameLoad Str Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list Call AttributeLoad NameLoad attr Str Str Str Str Str TupleLoad Str Num Call NameLoad keyword NameLoad Call NameLoad Str Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Str TupleLoad Str Num Call NameLoad keyword NameLoad Call NameLoad Str Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Str Str Str Call NameLoad Call NameLoad Str Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Str Str Call NameLoad Call NameLoad Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Str Str Call NameLoad Call NameLoad Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad While BoolOpAnd CompareIs AttributeLoad NameLoad attr NameLoad CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr TryExcept body If CompareIsNot AttributeLoad NameLoad attr NameLoad body If BoolOpAnd CompareNotEq AttributeLoad NameLoad attr NameLoad UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Assign NameStore NameLoad If CompareEq NameLoad Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad NameLoad body If CompareGt NameLoad Num body Assign NameStore BinOpMult NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num NameLoad With AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Break handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Raise Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list decorator_list
N/A N/A 
Copyright (2010-2014) INCUBAID BVBA

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
 N/A 
Arakoon client module
 N/A sys N/A time N/A random N/A threading ArakoonProtocol * ArakoonProtocol _packBool ArakoonExceptions * ArakoonClientConnection * ArakoonValidators SignatureValidator ArakoonProtocol ArakoonClientConfig functools wraps N/A utils N/A FILTER N/A N/A join N/A N/A N/A N/A N/A len N/A repr N/A chr x 3 N/A chr x . N/A x N/A range 256 dump N/A N/A src length N/A 8 N/A N/A N 0 N/A result N/A src N/A N/A N/A s src N/A N/A src N/A length N/A src N/A length N/A hexa N/A N/A join N/A N/A %02X N/A ord x N/A x s N/A s N/A N/A s translate FILTER N/A result N/A %04X   %-*s   %s
 N/A N N/A length 3 hexa s N/A N length N/A result N/A N/A N/A N/A random seed N/A N/A time time retryDuringMasterReelection N/A N/A is_read_only N/A False N/A wrap N/A N/A f N/A N/A retrying_f N/A N/A self N/A args kwargs N/A N/A start N/A N/A time time N/A tryCount 0.0 N/A backoffPeriod 0.2 N/A callSucceeded False N/A retryPeriod N/A N/A ArakoonClientConfig getNoMasterRetryPeriod N/A deadline N/A start retryPeriod N/A N/A N/A callSucceeded N/A N/A N/A time time deadline N/A N/A N/A N/A retVal N/A f self args kwargs N/A callSucceeded True N/A N/A N/A N/A ArakoonNoMaster ArakoonNodeNotMaster ArakoonSocketException ArakoonNotConnected ArakoonGoingDown N/A ex N/A N/A N/A N/A is_read_only N/A isinstance ex N/A ArakoonSocketException ArakoonGoingDown N/A N/A N/A N/A N/A len N/A N/A N/A N/A N/A self _config getNodes keys 0 N/A N/A N/A ArakoonInvalidConfig Empty client configuration N/A N/A self _masterId None N/A N/A N/A self dropConnections N/A sleepPeriod N/A backoffPeriod tryCount N/A N/A N/A N/A N/A time time sleepPeriod deadline N/A N/A N/A tryCount 1.0 N/A N/A N/A ArakoonClientLogger logWarning N/A Master not found (%s). Retrying in %0.2f sec. N/A ex sleepPeriod N/A N/A N/A time sleep sleepPeriod N/A retVal N/A N/A wraps f N/A retrying_f N/A N/A wrap N/A ArakoonClient N/A N/A __init__ N/A N/A self config N/A None N/A N/A 
        Constructor of an Arakoon client object.

        It takes one optional paramater 'config'.
        This parameter contains info on the arakoon server nodes.
        See the constructor of L{ArakoonClientConfig} for more details.

        @type config: L{ArakoonClientConfig}
        @param config: The L{ArakoonClientConfig} object to be used by the client. Defaults to None in which
            case a default L{ArakoonClientConfig} object will be created.
         N/A N/A config None N/A N/A config N/A ArakoonClientConfig N/A N/A N/A self _initialize config N/A N/A self __lock N/A N/A threading RLock N/A N/A self _masterId None N/A N/A self _connections N/A dict N/A N/A self _consistency N/A Consistent N/A nodeList N/A N/A N/A N/A N/A self _config getNodes keys N/A N/A N/A len nodeList 0 N/A N/A N/A ArakoonInvalidConfig Node list empty. N/A N/A self _dirtyReadNode N/A N/A random choice nodeList N/A allowDirtyReads N/A N/A self N/A N/A N/A 
        Allow the client to read values from a potential slave.

        Enabling this can give back outdated values!
         N/A N/A self _consistency N/A NoGuarantee N/A disallowDirtyReads N/A N/A self N/A N/A N/A 
        Disallow the client to read values from a potential slave.

        Enabling dirty reads can give back outdated values!
         N/A N/A self _consistency N/A Consistent N/A setConsistency N/A N/A self c N/A N/A N/A 
        Either Consistent or NoGuarantees or AtLeast. Allows fine grained consistency constraints on subsequent reads
        @type c: Consistency
         N/A N/A self _consistency c N/A _initialize N/A N/A self config N/A N/A N/A N/A self _config config N/A __send__ N/A N/A self msg N/A N/A N/A N/A N/A N/A self _consistency isDirty N/A N/A conn N/A N/A self _sendMessage N/A self _dirtyReadNode msg N/A N/A conn N/A N/A self _sendToMaster msg N/A conn N/A setDirtyReadNode N/A N/A self node N/A N/A N/A 
        Set the node that will be used for dirty read operations

        @type node : string
        @param node : the node identifier
        @rtype: void
         N/A N/A node N/A N/A N/A N/A N/A self _config getNodes keys N/A N/A N/A ArakoonUnknownNode node N/A N/A self _dirtyReadNode node N/A N/A N/A utils update_argspec self node getKeyCount N/A N/A self N/A N/A N/A 
        Retrieve the number of keys in the database on the master

        @rtype: int
         N/A encoded N/A N/A ArakoonProtocol encodeGetKeyCount N/A conn N/A N/A self _sendToMaster encoded N/A N/A N/A conn decodeInt64Result N/A N/A N/A utils update_argspec self N/A retryDuringMasterReelection is_read_only True getDirtyReadNode N/A N/A self N/A N/A N/A 
        Retrieve the node that will be used for dirty read operations

        @rtype: string
        @return : the node identifier
         N/A N/A self _dirtyReadNode N/A hello N/A N/A self clientId clusterId N/A arakoon N/A N/A 
        send a hello message to the node with your id and the cluster id.


        Will return the server node identifier and the version of arakoon it is running

        @type clientId  : string
        @type clusterId : string
        @param clusterId : must match the cluster_id of the node
        @rtype: string
        @return: The master identifier and its version in a single string
         N/A encoded N/A N/A ArakoonProtocol encodePing clientId clusterId N/A conn N/A N/A self _sendToMaster encoded N/A N/A N/A conn decodeStringResult N/A N/A N/A utils update_argspec self clientId N/A clusterId arakoon N/A retryDuringMasterReelection is_read_only True N/A SignatureValidator string string getVersion N/A N/A self nodeId N/A None N/A N/A 
        will return a tuple containing major, minor and patch level versions of the server side
        @type nodeId : String
        @param nodeId : id of the node you want to query (None if you want to query the master)
        @rtype : (int,int,int,string)
        @return : (major, minor, patch, info)
         N/A msg N/A N/A ArakoonProtocol encodeGetVersion N/A conn None N/A N/A nodeId None N/A N/A conn N/A N/A self _sendToMaster msg N/A N/A conn N/A N/A self _sendMessage nodeId msg N/A result N/A N/A conn decodeVersionResult N/A result N/A getCurrentState N/A N/A self nodeId N/A None N/A N/A 
        will return a string denoting the current state of the node.
        @type nodeId : String
        @return : String
         N/A msg N/A N/A ArakoonProtocol encodeGetCurrentState N/A conn None N/A N/A nodeId None N/A N/A conn N/A N/A self _sendToMaster msg N/A N/A conn N/A N/A self _sendMessage nodeId msg N/A result N/A N/A conn decodeStringResult N/A result N/A exists N/A N/A self key N/A N/A N/A 
        @type key : string
        @param key : key
        @return : True if there is a value for that key, False otherwise
         N/A msg N/A N/A ArakoonProtocol encodeExists key N/A self _consistency N/A conn N/A N/A self __send__ msg N/A N/A N/A conn decodeBoolResult N/A N/A N/A utils update_argspec self key N/A retryDuringMasterReelection is_read_only True N/A SignatureValidator string get N/A N/A self key N/A N/A N/A 
        Retrieve a single value from the store.

        Retrieve the value associated with the given key

        @type key: string
        @param key: The key whose value you are interested in
        @rtype: string
        @return: The value associated with the given key
         N/A msg N/A N/A ArakoonProtocol encodeGet key N/A self _consistency N/A conn N/A N/A self __send__ msg N/A result N/A N/A conn decodeStringResult N/A result N/A N/A N/A utils update_argspec self key N/A retryDuringMasterReelection is_read_only True N/A SignatureValidator string multiGet N/A N/A self keys N/A N/A N/A 
        Retrieve the values for the keys in the given list.
        if for a particular key, there is no value, an ArakoonNotFound exception is thrown
        @type key: string list
        @rtype: string list
        @return: the values associated with the respective keys
         N/A msg N/A N/A ArakoonProtocol encodeMultiGet keys N/A self _consistency N/A conn N/A N/A self __send__ msg N/A result N/A N/A conn decodeStringListResult N/A result N/A N/A N/A utils update_argspec self keys N/A retryDuringMasterReelection is_read_only True multiGetOption N/A N/A self keys N/A N/A N/A 
        Retrieve the values for the keys in the given list.
        if there is no value for a particular key, a None is returned for that key.

        @type key: string list
        @rtype: string (option) list
        @return: the values associated with the respective keys
         N/A msg N/A N/A ArakoonProtocol encodeMultiGetOption keys N/A self _consistency N/A conn N/A N/A self __send__ msg N/A result N/A N/A conn decodeStringOptionArrayResult N/A result N/A N/A N/A utils update_argspec self keys N/A retryDuringMasterReelection is_read_only True set N/A N/A self key value N/A N/A N/A 
        Update the value associated with the given key.

        If the key does not yet have a value associated with it, a new key value pair will be created.
        If the key does have a value associated with it, it is overwritten.
        For conditional value updates see L{testAndSet}

        @type key: string
        @type value: string
        @param key: The key whose associated value you want to update
        @param value: The value you want to store with the associated key

        @rtype: void
         N/A conn N/A N/A self _sendToMaster N/A N/A ArakoonProtocol encodeSet key value N/A N/A N/A conn decodeVoidResult N/A N/A N/A utils update_argspec self key value N/A retryDuringMasterReelection N/A SignatureValidator string string nop N/A N/A self N/A N/A N/A 
        does a paxos nop (reaches consensus)
         N/A conn N/A N/A self _sendToMaster N/A N/A ArakoonProtocol encodeNOP N/A N/A N/A conn decodeVoidResult N/A N/A retryDuringMasterReelection get_txid N/A N/A self N/A N/A N/A 
        returns the current transaction id for later usage
         N/A conn N/A N/A self _sendToMaster N/A N/A ArakoonProtocol encodeGetTxid N/A result N/A N/A conn decodeGetTxidResult N/A result N/A N/A retryDuringMasterReelection confirm N/A N/A self key value N/A N/A N/A 
        Do nothing if the value associated with the given key is this value;
        otherwise, behave as set(key,value)
        @rtype: void
         N/A msg N/A N/A ArakoonProtocol encodeConfirm key value N/A conn N/A N/A self _sendToMaster msg N/A N/A N/A conn decodeVoidResult N/A N/A N/A utils update_argspec self key value N/A retryDuringMasterReelection N/A SignatureValidator string string aSSert N/A N/A self key vo N/A N/A N/A 
        verifies the value for key to match vo
        @type key: string
        @type vo: string_option
        @param key: the key to be verified
        @param vo: what the value should be (can be None)
        @rtype: void
         N/A msg N/A N/A ArakoonProtocol encodeAssert key vo N/A self _consistency N/A conn N/A N/A self __send__ msg N/A result N/A N/A conn decodeVoidResult N/A result N/A N/A N/A utils update_argspec self key vo N/A retryDuringMasterReelection is_read_only True N/A SignatureValidator string string_option aSSert_exists N/A N/A self key N/A N/A N/A 
        verifies the value for key
        @type key: string
        @param key: the key to be verified
        @rtype: void
         N/A msg N/A N/A ArakoonProtocol encodeAssertExists key N/A self _consistency N/A conn N/A N/A self __send__ msg N/A result N/A N/A conn decodeVoidResult N/A result N/A N/A N/A utils update_argspec self key N/A retryDuringMasterReelection is_read_only True N/A SignatureValidator string sequence N/A N/A self seq sync N/A False N/A N/A 
        Try to execute a sequence of updates.
        if sync is true then the filesystem on
        server side will get synchronised right after the update.

        It's all-or-nothing: either all updates succeed, or they all fail.
        @type seq: Sequence
         N/A encoded N/A N/A ArakoonProtocol encodeSequence seq sync N/A conn N/A N/A self _sendToMaster encoded N/A N/A N/A conn decodeVoidResult N/A N/A N/A utils update_argspec self seq N/A sync False N/A retryDuringMasterReelection N/A SignatureValidator sequence bool makeSequence N/A N/A self N/A N/A N/A 
        Factory method for sequences
         N/A N/A Sequence N/A delete N/A N/A self key N/A N/A N/A 
        Remove a key-value pair from the store.

        @type key: string
        @param key: Remove this key and its associated value from the store

        @rtype: void
         N/A conn N/A N/A self _sendToMaster N/A N/A ArakoonProtocol encodeDelete key N/A N/A N/A conn decodeVoidResult N/A N/A N/A utils update_argspec self key N/A retryDuringMasterReelection N/A SignatureValidator string deletePrefix N/A N/A self prefix N/A N/A N/A 
        Remove ALL key-value pairs from the store for which the key matches the prefix
        returns the number of pairs deleted

        @type prefix: string
        @rtype: integer
         N/A msg N/A N/A ArakoonProtocol encodeDeletePrefix prefix N/A conn N/A N/A self _sendToMaster msg N/A result N/A N/A conn decodeIntResult N/A result N/A N/A N/A utils update_argspec self prefix N/A retryDuringMasterReelection N/A SignatureValidator string N/A __setitem__ set N/A __getitem__ get N/A __delitem__ delete N/A __contains__ exists range N/A N/A self beginKey beginKeyIncluded endKey endKeyIncluded maxElements N/A 1000 N/A N/A 
        Perform a range query on the store, retrieving the set of matching keys

        Retrieve a set of keys that lexographically fall between the beginKey and the endKey
        You can specify whether the beginKey and endKey need to be included in the result set
        Additionaly you can limit the size of the result set to maxElements. Default is to return all matching keys.

        @type beginKey: string option
        @type beginKeyIncluded: boolean
        @type endKey :string option
        @type endKeyIncluded: boolean
        @type maxElements: integer
        @param beginKey: Lower boundary of the requested range
        @param beginKeyIncluded: Indicates if the lower boundary should be part of the result set
        @param endKey: Upper boundary of the requested range
        @param endKeyIncluded: Indicates if the upper boundary should be part of the result set
        @param maxElements: The maximum number of keys to return. Negative means no maximum, all matches will be returned. Defaults to 1000.

        @rtype: list of strings
        @return: Returns a list containing all matching keys
         N/A msg N/A N/A ArakoonProtocol encodeRange beginKey beginKeyIncluded endKey endKeyIncluded maxElements N/A self _consistency N/A conn N/A N/A self __send__ msg N/A N/A N/A conn decodeStringListResult N/A N/A N/A utils update_argspec self beginKey beginKeyIncluded endKey endKeyIncluded N/A maxElements 1000 N/A retryDuringMasterReelection is_read_only True N/A SignatureValidator string_option bool string_option bool int range_entries N/A N/A self beginKey beginKeyIncluded endKey endKeyIncluded maxElements N/A 1000 N/A N/A 
        Perform a range query on the store, retrieving the set of matching key-value pairs

        Retrieve a set of keys that lexographically fall between the beginKey and the endKey
        You can specify whether the beginKey and endKey need to be included in the result set
        Additionaly you can limit the size of the result set to maxElements. Default is to return all matching keys.

        @type beginKey: string option
        @type beginKeyIncluded: boolean
        @type endKey :string option
        @type endKeyIncluded: boolean
        @type maxElements: integer
        @param beginKey: Lower boundary of the requested range
        @param beginKeyIncluded: Indicates if the lower boundary should be part of the result set
        @param endKey: Upper boundary of the requested range
        @param endKeyIncluded: Indicates if the upper boundary should be part of the result set
        @param maxElements: The maximum number of key-value pairs to return. Negative means no maximum, all matches will be returned. Defaults to 1000.

        @rtype: list of (string,string)
        @return: Returns a list containing all matching key-value pairs
         N/A msg N/A N/A ArakoonProtocol encodeRangeEntries beginKey beginKeyIncluded endKey endKeyIncluded maxElements N/A self _consistency N/A conn N/A N/A self __send__ msg N/A result N/A N/A conn decodeStringPairListResult N/A result N/A N/A N/A utils update_argspec self beginKey beginKeyIncluded endKey endKeyIncluded N/A maxElements 1000 N/A retryDuringMasterReelection is_read_only True N/A SignatureValidator string_option bool string_option bool int rev_range_entries N/A N/A self beginKey beginKeyIncluded endKey endKeyIncluded maxElements N/A 1000 N/A N/A 
        Performs a reverse range query on the store, returning a sorted (in reverse order) list of key value pairs.
        @type beginKey: string option
        @type endKey :string option
        @type beginKeyIncluded: boolean
        @type endKeyIncluded: boolean
        @type maxElements: integer
        @param beginKey: higher boundary of the requested range
        @param endKey: lower boundary of the requested range
        @param maxElements: maximum number of key-value pairs to return. Negative means 'all'. Defaults to 1000.
        @rtype : list of (string,string)
         N/A msg N/A N/A ArakoonProtocol encodeReverseRangeEntries beginKey beginKeyIncluded endKey endKeyIncluded maxElements N/A self _consistency N/A conn N/A N/A self __send__ msg N/A result N/A N/A conn decodeStringPairListResult N/A result N/A N/A N/A utils update_argspec self beginKey beginKeyIncluded endKey endKeyIncluded N/A maxElements 1000 N/A retryDuringMasterReelection is_read_only True N/A SignatureValidator string_option bool string_option bool int prefix N/A N/A self keyPrefix maxElements N/A 1000 N/A N/A 
        Retrieve a set of keys that match with the provided prefix.

        You can indicate whether the prefix should be included in the result set if there is a key that matches exactly
        Additionaly you can limit the size of the result set to maxElements

        @type keyPrefix: string
        @type maxElements: integer
        @param keyPrefix: The prefix that will be used when pattern matching the keys in the store
        @param maxElements: The maximum number of keys to return. Negative means no maximum, all matches will be returned. Defaults to 1000.

        @rtype: list of strings
        @return: Returns a list of keys matching the provided prefix
         N/A msg N/A N/A ArakoonProtocol encodePrefixKeys keyPrefix maxElements N/A self _consistency N/A conn N/A N/A self __send__ msg N/A N/A N/A conn decodeStringListResult N/A N/A N/A utils update_argspec self keyPrefix N/A maxElements 1000 N/A retryDuringMasterReelection is_read_only True N/A SignatureValidator string int whoMaster N/A N/A self N/A N/A N/A N/A N/A self _determineMaster N/A N/A self _masterId N/A expectProgressPossible N/A N/A self N/A N/A N/A 
        @return: true if the master thinks progress is possible, false otherwise
         N/A msg N/A N/A ArakoonProtocol encodeExpectProgressPossible N/A N/A N/A conn N/A N/A self _sendToMaster msg N/A N/A N/A conn decodeBoolResult N/A N/A N/A ArakoonNoMaster N/A N/A False N/A statistics N/A N/A self N/A N/A N/A 
        @return a dictionary with some statistics about the master
         N/A msg N/A N/A ArakoonProtocol encodeStatistics N/A conn N/A N/A self _sendToMaster msg N/A N/A N/A conn decodeStatistics N/A testAndSet N/A N/A self key oldValue newValue N/A N/A N/A 
        Conditionaly update the value associcated with the provided key.

        The value associated with key will be updated to newValue if the current value in the store equals oldValue
        If the current value is different from oldValue, this is a no-op.
        Returns the value that was associated with key in the store prior to this operation. This way you can check if the update was executed or not.

        @type key: string
        @type oldValue: string option
        @type newValue: string
        @param key: The key whose value you want to updated
        @param oldValue: The expected current value associated with the key.
        @param newValue: The desired new value to be stored.

        @rtype: string
        @return: The value that was associated with the key prior to this operation
         N/A msg N/A N/A ArakoonProtocol encodeTestAndSet key oldValue newValue N/A conn N/A N/A self _sendToMaster msg N/A N/A N/A conn decodeStringOptionResult N/A N/A N/A utils update_argspec self key oldValue newValue N/A retryDuringMasterReelection N/A SignatureValidator string string_option string_option replace N/A N/A self key wanted N/A N/A N/A 
        assigns the wanted value to the key, and returns the previous
        assignment (if any) for that key.
        If wanted is None, the binding is deleted.
        @type key: string
        @type wanted: string option
        @rtype: string option
        @return: the previous binding (if any)
         N/A msg N/A N/A ArakoonProtocol encodeReplace key wanted N/A conn N/A N/A self _sendToMaster msg N/A N/A N/A conn decodeStringOptionResult N/A N/A N/A utils update_argspec self key wanted N/A retryDuringMasterReelection N/A SignatureValidator string string_option userFunction N/A N/A self name argument N/A N/A N/A Call a user-defined function on the server
        @param name: Name of user function
        @type name: string
        @param argument: Optional function argument
        @type argument: string option

        @return: Function result
        @rtype: string option
         N/A msg N/A N/A ArakoonProtocol encodeUserFunction name argument N/A conn N/A N/A self _sendToMaster msg N/A N/A N/A conn decodeStringOptionResult N/A N/A N/A utils update_argspec self name argument N/A retryDuringMasterReelection N/A SignatureValidator string string_option getNurseryConfig N/A N/A self N/A N/A N/A msg N/A N/A ArakoonProtocol encodeGetNurseryCfg N/A con N/A N/A self _sendToMaster msg N/A N/A N/A con decodeNurseryCfgResult N/A N/A N/A utils update_argspec self N/A retryDuringMasterReelection is_read_only True dropConnections N/A N/A self N/A N/A N/A Drop all connections to the Arakoon servers N/A keysToRemove N/A N/A N/A self _connections keys N/A key keysToRemove N/A N/A N/A N/A N/A N/A self _connections N/A key close N/A N/A N/A self _connections N/A key N/A _determineMaster N/A N/A self N/A N/A N/A nodeIds N/A N/A N/A N/A self _masterId None N/A N/A nodeIds N/A N/A N/A N/A N/A self _config getNodes keys N/A N/A N/A random shuffle nodeIds N/A N/A N/A N/A self _masterId None N/A N/A len nodeIds 0 N/A N/A node N/A N/A nodeIds pop N/A N/A N/A N/A self _masterId N/A N/A self _getMasterIdFromNode node N/A tmpMaster N/A self _masterId N/A N/A N/A N/A N/A self _masterId None N/A N/A N/A N/A N/A self _masterId node N/A N/A N/A self _validateMasterId N/A self _masterId N/A N/A N/A self _masterId None N/A N/A N/A N/A ArakoonClientLogger logWarning Node '%s' does not know who the master is node N/A N/A N/A Exception N/A ex N/A N/A N/A N/A ArakoonClientLogger logWarning Could not validate master on node '%s' tmpMaster N/A N/A N/A ArakoonClientLogger logDebug N/A %s: %s N/A N/A N/A ex __class__ __name__ ex N/A N/A self _masterId None N/A N/A N/A Exception N/A ex N/A N/A N/A N/A ArakoonClientLogger logWarning Could not query node '%s' to see who is master node N/A N/A N/A ArakoonClientLogger logDebug N/A %s: %s N/A N/A N/A ex __class__ __name__ ex N/A N/A N/A self _masterId None N/A N/A N/A N/A ArakoonClientLogger logError Could not determine master. N/A N/A ArakoonNoMaster N/A _sendToMaster N/A N/A self msg N/A N/A N/A N/A N/A self _determineMaster N/A retVal N/A N/A self _sendMessage N/A self _masterId msg N/A N/A retVal None N/A N/A N/A ArakoonNoMasterResult N/A retVal N/A _validateMasterId N/A N/A self masterId N/A N/A N/A N/A masterId None N/A N/A False N/A otherMasterId N/A N/A self _getMasterIdFromNode masterId N/A N/A masterId otherMasterId N/A _getMasterIdFromNode N/A N/A self nodeId N/A N/A N/A conn N/A N/A self _sendMessage nodeId N/A N/A ArakoonProtocol encodeWhoMaster N/A masterId N/A N/A conn decodeStringOptionResult N/A masterId N/A _sleep N/A N/A self timeout N/A N/A N/A N/A N/A time sleep timeout N/A _sendMessage N/A N/A self nodeId msgBuffer tryCount N/A -1 N/A N/A result None N/A N/A tryCount -1 N/A N/A tryCount N/A N/A N/A self _config getTryCount N/A i N/A range tryCount N/A N/A N/A i 0 N/A N/A maxSleep N/A i N/A N/A ArakoonClientConfig getBackoffInterval N/A N/A N/A self _sleep N/A N/A random randint 0 maxSleep N/A N/A self __lock N/A N/A N/A N/A connection N/A N/A self _getConnection nodeId N/A N/A N/A connection send msgBuffer N/A result connection N/A N/A N/A N/A Exception N/A ex N/A N/A fmt Attempt %d to exchange message with node %s failed with error (%s: '%s'). N/A N/A N/A ArakoonClientLogger logWarning fmt i nodeId N/A N/A ex __class__ __name__ ex N/A N/A N/A N/A N/A self _connections N/A nodeId close N/A N/A N/A self _connections N/A nodeId N/A N/A self _masterId None N/A N/A result None N/A N/A N/A result N/A _getConnection N/A N/A self nodeId N/A N/A N/A connection None N/A N/A N/A N/A self _connections has_key nodeId N/A N/A connection N/A N/A self _connections N/A nodeId N/A N/A connection None N/A N/A nodeLocations N/A N/A N/A self _config getNodeLocations nodeId N/A clusterId N/A N/A N/A self _config getClusterId N/A connection N/A ArakoonClientConnection nodeLocations clusterId N/A self _config N/A N/A N/A self _connections N/A nodeId connection N/A connection N/A N/A