TokyoTyrant
{
const
integer
RDBDEF_PORT
= 1978
;
const
integer
RDBQC_STREQ
= 0
;
const
integer
RDBQC_STRINC
= 1
;
const
integer
RDBQC_STRBW
= 2
;
const
integer
RDBQC_STREW
= 3
;
const
integer
RDBQC_STRAND
= 4
;
const
integer
RDBQC_STROR
= 5
;
const
integer
RDBQC_STROREQ
= 6
;
const
integer
RDBQC_STRRX
= 7
;
const
integer
RDBQC_NUMEQ
= 8
;
const
integer
RDBQC_NUMGT
= 9
;
const
integer
RDBQC_NUMGE
= 10
;
const
integer
RDBQC_NUMLT
= 11
;
const
integer
RDBQC_NUMLE
= 12
;
const
integer
RDBQC_NUMBT
= 13
;
const
integer
RDBQC_NUMOREQ
= 14
;
const
integer
RDBQC_NEGATE
= 16777216
;
const
integer
RDBQC_NOIDX
= 33554432
;
const
integer
RDBQO_STRASC
= 0
;
const
integer
RDBQO_STRDESC
= 1
;
const
integer
RDBQO_NUMASC
= 2
;
const
integer
RDBQO_NUMDESC
= 3
;
const
integer
RDBIT_LEXICAL
= 0
;
const
integer
RDBIT_DECIMAL
= 1
;
const
integer
RDBIT_TOKEN
= 2
;
const
integer
RDBIT_QGRAM
= 3
;
const
integer
RDBIT_OPT
= 9998
;
const
integer
RDBIT_VOID
= 9999
;
const
integer
RDBIT_KEEP
= 16777216
;
const
integer
RDBQCFTS_PH
= 15
;
const
integer
RDBQCFTS_AND
= 16
;
const
integer
RDBQCFTS_OR
= 17
;
const
integer
RDBQCFTS_EX
= 18
;
const
integer
RDBXO_LCKREC
= 1
;
const
integer
RDBXOLCK_GLB
= 2
;
const
integer
RDBREC_INT
= 1
;
const
integer
RDBREC_DBL
= 2
;
const
integer
RDBMS_UNION
= 0
;
const
integer
RDBMS_ISECT
= 1
;
const
integer
RDBMS_DIFF
= 2
;
const
integer
RDBT_RECON
= 1
;
public connect
(
string $host
[,
int $port
= TokyoTyrant::RDBDEF_PORT
[,
array $options
]] ) :
TokyoTyrant
public __construct
([
string $host
[,
int $port
= TokyoTyrant::RDBDEF_PORT
[,
array $options
]]] )
public ext
(
string $name
,
int $options
,
string $key
,
string $value
) :
string
public fwmKeys
(
string $prefix
,
int $max_recs
) :
array
public num
(
void
) :
int
public putShl
(
string $key
,
string $value
,
int $width
) :
mixed
public restore
(
string $log_dir
,
int $timestamp
[,
bool $check_consistency
= TRUE
] ) :
mixed
public setMaster
(
string $host
,
int $port
,
int $timestamp
[,
bool $check_consistency
= TRUE
] ) :
mixed
public size
(
string $key
) :
int
public stat
(
void
) :
array
public tune
(
float $timeout
[,
int $options
= TokyoTyrant::RDBT_RECON
] ) :
TokyoTyrant
}