public CacheContributingObjectReader(ClientTransaction transaction, IClientSlotCache slotCache, ByteArrayBuffer reader) { _reader = reader; _transaction = transaction; _slotCache = slotCache; }
private void InitalizeClientSlotCache() { ConfigImpl.PrefetchSettingsChanged += new System.EventHandler<EventArgs>(new _IEventListener4_145 (this).OnEvent); if (ConfigImpl.PrefetchSlotCacheSize() > 0) { _clientSlotCache = new ClientSlotCacheImpl(this); return; } _clientSlotCache = new NullClientSlotCache(); }
public virtual IFixedSizeIntIterator4 Unmarshall(ClientTransaction transaction, IClientSlotCache slotCache, ByteArrayBuffer reader) { int size = reader.ReadInt(); return new _IFixedSizeIntIterator4_34(size, reader); }
public virtual IFixedSizeIntIterator4 Unmarshall(ClientTransaction transaction, IClientSlotCache slotCache, ByteArrayBuffer reader) { return new CacheContributingObjectReader(transaction, slotCache, reader).Iterator (); }