com.caucho.quercus.lib
Class ApcModule

java.lang.Object
  extended by com.caucho.quercus.module.AbstractQuercusModule
      extended by com.caucho.quercus.lib.ApcModule
All Implemented Interfaces:
QuercusModule

public class ApcModule
extends AbstractQuercusModule

APC object oriented API facade


Field Summary
 
Fields inherited from class com.caucho.quercus.module.AbstractQuercusModule
PHP_INI_ALL, PHP_INI_PERDIR, PHP_INI_SYSTEM, PHP_INI_USER
 
Constructor Summary
ApcModule()
           
 
Method Summary
 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.
 
Methods inherited from class com.caucho.quercus.module.AbstractQuercusModule
addConstant, addConstant, addConstant, getConstMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApcModule

public ApcModule()
Method Detail

getLoadedExtensions

public java.lang.String[] getLoadedExtensions()
Returns true for the mysql extension.

Specified by:
getLoadedExtensions in interface QuercusModule
Overrides:
getLoadedExtensions in class AbstractQuercusModule

getIniDefinitions

public IniDefinitions getIniDefinitions()
Returns the default php.ini values.

Specified by:
getIniDefinitions in interface QuercusModule
Overrides:
getIniDefinitions in class AbstractQuercusModule

apc_cache_info

public Value apc_cache_info(Env env,
                            java.lang.String type,
                            boolean limited)
Returns cache information.


apc_clear_cache

public boolean apc_clear_cache(Env env,
                               java.lang.String type)
Clears the cache


apc_compile_file

public boolean apc_compile_file(Env env,
                                StringValue name)
Preloads the specified file.


apc_define_constants

public boolean apc_define_constants(Env env,
                                    java.lang.String key,
                                    ArrayValue values,
                                    boolean caseSensitive)
Defines constants


apc_delete

public boolean apc_delete(Env env,
                          java.lang.String key)
Deletes a value.


apc_fetch

public Value apc_fetch(Env env,
                       java.lang.String key,
                       Value isSuccessful)
Returns a value.


apc_load_constants

public boolean apc_load_constants(Env env,
                                  java.lang.String key,
                                  boolean caseSensitive)
Defines constants


apc_sma_info

public Value apc_sma_info(Env env,
                          java.lang.String type)
Returns cache information.


apc_store

public Value apc_store(Env env,
                       java.lang.String key,
                       Value value,
                       int ttl)
Returns a value.