Class NativeCache.CacheJNI
java.lang.Object
org.fusesource.leveldbjni.internal.NativeCache.CacheJNI
- Enclosing class:
NativeCache
@JniClass(name="leveldb::Cache",
flags=CPP)
private static class NativeCache.CacheJNI
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final voiddelete(long self) static final longNewLRUCache(long capacity)
-
Constructor Details
-
CacheJNI
private CacheJNI()
-
-
Method Details
-
NewLRUCache
@JniMethod(cast="leveldb::Cache *", accessor="leveldb::NewLRUCache") public static final long NewLRUCache(@JniArg(cast="size_t") long capacity) -
delete
@JniMethod(flags=CPP_DELETE) public static final void delete(long self)
-