public class ApcModule extends AbstractQuercusModule
PHP_INI_ALL, PHP_INI_PERDIR, PHP_INI_SYSTEM, PHP_INI_USER
Constructor and Description |
---|
ApcModule() |
Modifier and Type | Method and Description |
---|---|
Value |
apc_add(Env env,
java.lang.String key,
Value value,
int ttl) |
Value |
apc_cache_info(Env env,
java.lang.String type,
boolean limited)
Returns cache information.
|
boolean |
apc_clear_cache(Env env,
java.lang.String type)
Clears the cache
|
boolean |
apc_compile_file(Env env,
StringValue name)
Preloads the specified file.
|
boolean |
apc_define_constants(Env env,
java.lang.String key,
ArrayValue values,
boolean caseSensitive)
Defines constants
|
boolean |
apc_delete(Env env,
java.lang.String key)
Deletes a value.
|
Value |
apc_fetch(Env env,
java.lang.String key,
Value isSuccessful)
Returns a value.
|
boolean |
apc_load_constants(Env env,
java.lang.String key,
boolean caseSensitive)
Defines constants
|
Value |
apc_sma_info(Env env,
java.lang.String type)
Returns cache information.
|
Value |
apc_store(Env env,
java.lang.String key,
Value value,
int ttl)
Returns a value.
|
IniDefinitions |
getIniDefinitions()
Returns the default php.ini values.
|
java.lang.String[] |
getLoadedExtensions()
Returns true for the mysql extension.
|
addConstant, addConstant, addConstant, getConstMap
public java.lang.String[] getLoadedExtensions()
getLoadedExtensions
in interface QuercusModule
getLoadedExtensions
in class AbstractQuercusModule
public IniDefinitions getIniDefinitions()
getIniDefinitions
in interface QuercusModule
getIniDefinitions
in class AbstractQuercusModule
public Value apc_cache_info(Env env, java.lang.String type, boolean limited)
public boolean apc_clear_cache(Env env, java.lang.String type)
public boolean apc_compile_file(Env env, StringValue name)
public boolean apc_define_constants(Env env, java.lang.String key, ArrayValue values, boolean caseSensitive)
public boolean apc_delete(Env env, java.lang.String key)
public Value apc_fetch(Env env, java.lang.String key, Value isSuccessful)
public boolean apc_load_constants(Env env, java.lang.String key, boolean caseSensitive)