@EqualityReference public final class KUnitQuadCache extends com.io7m.jcache.LRUCacheAbstract<com.io7m.jfunctional.Unit,KUnitQuadUsableType,KUnitQuad,RException> implements KUnitQuadCacheType
Modifier and Type | Method and Description |
---|---|
static <G extends com.io7m.jcanephora.api.JCGLArrayBuffersType & com.io7m.jcanephora.api.JCGLIndexBuffersType> |
newCache(G g,
com.io7m.jlog.LogUsableType log)
Construct a trivial cache that shares a single
KUnitQuad instance
with all consumers, using
KUnitQuad.newCacheLoader(JCGLArrayBuffersType, LogUsableType) . |
static KUnitQuadCacheType |
wrap(com.io7m.jcache.LRUCacheType<com.io7m.jfunctional.Unit,KUnitQuadUsableType,KUnitQuad,RException> c)
Wrap the given cache and expose a
KUnitQuadCacheType interface. |
cacheDelete, cacheEventsSubscribe, cacheEventsUnsubscribe, cacheGetConfiguration, cacheGetLU, cacheIsCached, cacheItemCount, cacheSetConfiguration, cacheSize, finalize
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static <G extends com.io7m.jcanephora.api.JCGLArrayBuffersType & com.io7m.jcanephora.api.JCGLIndexBuffersType> KUnitQuadCacheType newCache(G g, com.io7m.jlog.LogUsableType log)
KUnitQuad
instance
with all consumers, using
KUnitQuad.newCacheLoader(JCGLArrayBuffersType, LogUsableType)
.G
- The precise type of OpenGL interfaceg
- The OpenGL implementationlog
- A log interfacepublic static KUnitQuadCacheType wrap(com.io7m.jcache.LRUCacheType<com.io7m.jfunctional.Unit,KUnitQuadUsableType,KUnitQuad,RException> c)
KUnitQuadCacheType
interface.c
- The cacheCopyright © 2015 <code@io7m.com> http://io7m.com