use of org.teiid.common.buffer.Serializer in project teiid by teiid.
the class TestBufferFrontedFileStoreCache method get.
private static CacheEntry get(BufferFrontedFileStoreCache cache, Long oid, Serializer<Integer> s) throws TeiidComponentException {
PhysicalInfo o = cache.lockForLoad(oid, s);
CacheEntry ce = cache.get(o, oid, new WeakReference<Serializer<?>>(s));
cache.unlockForLoad(o);
return ce;
}
Aggregations