|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcrystalspace.jbind.impl.csNativeObject
crystalspace.jbind.impl.csutil.scf.csBase
crystalspace.jbind.impl.csutil.cache.csCacheManager
Field Summary |
Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
Constructor Summary | |
csCacheManager(iPointer nPointer)
|
Method Summary | |
boolean |
cacheData(iPointer data,
int size,
java.lang.String type,
java.lang.String scope,
int id)
Cache some data. |
boolean |
clearCache()
Clear items from the cache. |
boolean |
clearCache(java.lang.String type)
Clear items from the cache. |
boolean |
clearCache(java.lang.String type,
java.lang.String scope)
Clear items from the cache. |
boolean |
clearCache(java.lang.String type,
java.lang.String scope,
int id)
Clear items from the cache. |
java.lang.String |
getCurrentScope()
Get current scope or 0 if none set. |
java.lang.String |
getCurrentType()
Get current type or 0 if none set. |
static java.lang.Class |
getInterfaceClass()
|
static java.lang.String |
getInterfaceName()
|
static int |
getInterfaceVersion()
|
java.lang.String |
getName()
Return the name of the interface |
int |
getVersion()
Return the version of the interface |
static void |
initSCF()
|
protected boolean |
isNativePointerValidSafe(long pointer)
|
iDataBuffer |
readCache(java.lang.String type,
java.lang.String scope,
int id)
Retrieve some data from the cache. |
void |
setCurrentScope(java.lang.String scope)
Set current scope. |
void |
setCurrentType(java.lang.String type)
Set current type. |
Methods inherited from class crystalspace.jbind.impl.csutil.scf.csBase |
decRef, equals, finalize, getRefCount, incRef, nDelete, queryInterface, queryInterfaceSafe |
Methods inherited from class crystalspace.jbind.impl.csNativeObject |
changePointer, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, newNativeObject, setMemoryOwner, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getRefCount, incRef, queryInterface, queryInterfaceSafe |
Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
Constructor Detail |
public csCacheManager(iPointer nPointer)
nPointer
- Method Detail |
public int getVersion()
iBase
getVersion
in interface iBase
getVersion
in class csBase
public java.lang.String getName()
iBase
getName
in interface iBase
getName
in class csBase
public static void initSCF()
public static int getInterfaceVersion()
public static java.lang.String getInterfaceName()
public static java.lang.Class getInterfaceClass()
protected boolean isNativePointerValidSafe(long pointer)
isNativePointerValidSafe
in class csNativeObject
csNativeObject.isNativePointerValidSafe(long)
public boolean cacheData(iPointer data, int size, java.lang.String type, java.lang.String scope, int id)
iCacheManager
cacheData
in interface iCacheManager
data
- size
- type
- scope
- id
-
iCacheManager.cacheData(crystalspace.jbind.interfaces.iPointer, int, java.lang.String, java.lang.String, int)
public boolean clearCache()
iCacheManager
clearCache
in interface iCacheManager
iCacheManager.clearCache()
public boolean clearCache(java.lang.String type)
iCacheManager
clearCache
in interface iCacheManager
type
-
iCacheManager.clearCache(java.lang.String)
public boolean clearCache(java.lang.String type, java.lang.String scope)
iCacheManager
clearCache
in interface iCacheManager
type
- scope
-
iCacheManager.clearCache(java.lang.String, java.lang.String)
public boolean clearCache(java.lang.String type, java.lang.String scope, int id)
iCacheManager
clearCache
in interface iCacheManager
type
- scope
- id
-
iCacheManager.clearCache(java.lang.String, java.lang.String, int)
public java.lang.String getCurrentScope()
iCacheManager
getCurrentScope
in interface iCacheManager
iCacheManager.getCurrentScope()
public java.lang.String getCurrentType()
iCacheManager
getCurrentType
in interface iCacheManager
iCacheManager.getCurrentType()
public iDataBuffer readCache(java.lang.String type, java.lang.String scope, int id)
iCacheManager
readCache
in interface iCacheManager
type
- scope
- id
-
iCacheManager.readCache(java.lang.String, java.lang.String, int)
public void setCurrentScope(java.lang.String scope)
iCacheManager
setCurrentScope
in interface iCacheManager
scope
- iCacheManager.setCurrentScope(java.lang.String)
public void setCurrentType(java.lang.String type)
iCacheManager
setCurrentType
in interface iCacheManager
type
- iCacheManager.setCurrentType(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |