프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$client_count_key | string | shared memory ipc key | |
$shm | resource | holds shared memory resource | |
$size | integer | memory size |
메소드 | 설명 | |
---|---|---|
__construct ( integer $size = 33554432, string $file = __FILE__ ) | ||
__wakeup ( ) | init when wakeup | |
attach ( string $file = __FILE__ ) | connect shared memory | |
delete ( $key ) : boolean | delete var | |
dettach ( ) : boolean | ||
get ( $key, null $default = null ) : boolean | mixed | get var | |
has ( $key ) : boolean | has var ? | |
remove ( ) : boolean | remove shared memory. | |
set ( $key, $value ) : boolean | set var | |
shm_key ( $val ) : mixed | generate shm key |
public __construct ( integer $size = 33554432, string $file = __FILE__ ) | ||
$size | integer | memory size |
$file | string |