Constants Developer K2hQueue Class

K2hash Class

K2hash class provides methods to operation for K2HASH.
See each method pages for details.

Class overview

K2hash {
    public addAttr ( string $key , string $attrkey , string $attrval ) : bool
    public addAttrCryptPass ( string $encpass [, bool $is_default_encrypt ] ) : bool
    public addAttrPluginLib ( string $libfile ) : bool
    public addSubkey ( string $key , string $subkey ) : bool
    public addSubkeys ( string $key , array $subkeys ) : bool
    public cleanCommonAttribute ( void ) : bool
    public close ([ int $waitms ] ) : bool
    public static create ( string $filepath [, int $maskbitcnt [, int $cmaskbitcnt [, int $maxelementcnt [, int $pagesize ]]]] ) : bool
    public disableTransaction ( void ) : bool
    public dumpElementtable ([ mixed $output ] ) : bool
    public dumpFull ([ mixed $output ] ) : bool
    public dumpFullKeytable ([ mixed $output ] ) : bool
    public dumpHead ([ mixed $output ] ) : bool
    public dumpKeytable ([ mixed $output ] ) : bool
    public enableTransaction ([ string $transfile [, string $prefix [, string $param [, int $expire ]]]] ) : bool
    public getAttrInfos ([ mixed $output ] ) : bool
    public arrayfalsegetAttrs ( string $key )
    public stringfalsegetAttrValue ( string $key , string $attrkey )
    public getAttrVersionInfos ([ mixed $output ] ) : bool
    public getIterator ( string $key ) : mixed
    public getKeyQueue ([ bool $is_filo [, string $prefix ]] ) : mixed
    public getQueue ([ bool $is_filo [, string $prefix ]] ) : mixed
    public getStream ( string $key , string $mode ) : mixed
    public arrayfalsegetSubkeys ( string $key [, bool $attrcheck ] )
    public static getTransactionThreadPool ( void ) : int
    public stringfalsegetValue ( string $key [, string $subkey [, bool $attrcheck [, string $pass ]]] )
    public loadArchive ( string $filepath [, bool $errskip ] ) : bool
    public open ( string $filepath , bool $readonly [, bool $removefile [, bool $fullmap [, int $maskbitcnt [, int $cmaskbitcnt [, int $maxelementcnt [, int $pagesize ]]]]]] ) : bool
    public openMem ([ int $maskbitcnt [, int $cmaskbitcnt [, int $maxelementcnt [, int $pagesize ]]]] ) : bool
    public openRO ( string $filepath [, bool $fullmap [, int $maskbitcnt [, int $cmaskbitcnt [, int $maxelementcnt [, int $pagesize ]]]]] ) : bool
    public openRW ( string $filepath [, bool $fullmap [, int $maskbitcnt [, int $cmaskbitcnt [, int $maxelementcnt [, int $pagesize ]]]]] ) : bool
    public openTempfile ( string $filepath [, bool $fullmap [, int $maskbitcnt [, int $cmaskbitcnt [, int $maxelementcnt [, int $pagesize ]]]]] ) : bool
    public printState ([ mixed $output ] ) : bool
    public static printVersion ([ mixed $output ] ) : bool
    public putArchive ( string $filepath [, bool $errskip ] ) : bool
    public remove ( string $key [, string $subkey ] ) : bool
    public removeAll ( string $key ) : bool
    public rename ( string $key , string $newkey ) : bool
    public setCommonAttribute ([ int $is_mtime [, int $is_history [, int $is_encrypt [, string $passfile [, int $is_expire [, int $expire ]]]]]] ) : bool
    public static setTransactionThreadPool ( int $count ) : bool
    public setValue ( string $key , string $value [, string $subkey [, string $pass [, int $expire ]]] ) : bool
    public transaction ( bool $enable [, string $transfile [, string $prefix [, string $param [, int $expire ]]]] ) : bool
    public static unsetTransactionThreadPool ( void ) : bool
}

Method list

Constants Developer K2hQueue Class