public void syncToVolatileMemory(long offset, int length) { if (offset < 0 || length < 0 || offset + length > this.m_size) { throw new OutOfBoundsException("The requested offset and length are out of bounds for this buffer: length = " + length + " , offset = " + offset); } m_dchunk.getAllocator().syncToVolatileMemory(m_dchunk.get() + m_offset + offset, length, false); }
@Override public void registerAutoReclaim(ReclaimContext arg0) { m_holder_00EAAD.registerAutoReclaim(arg0); if (null != m_value_40BC76) { m_value_40BC76.registerAutoReclaim(arg0); } if (null != m_key_7AEF3C) { m_key_7AEF3C.registerAutoReclaim(arg0); } m_autoreclaim_76D4CF = true; m_reclaimcontext_746C46 = arg0; }
@Override public void registerAutoReclaim(ReclaimContext arg0) { m_holder_5BC267.registerAutoReclaim(arg0); if (null != m_str_A55313) { m_str_A55313.registerAutoReclaim(arg0); } m_autoreclaim_8F4B75 = true; m_reclaimcontext_998750 = arg0; }
@Override public void cancelAutoReclaim() { m_holder_5BC267.cancelAutoReclaim(); if (null != m_str_A55313) { m_str_A55313.cancelAutoReclaim(); } m_autoreclaim_8F4B75 = false; }
public void syncToNonVolatileMemory(long offset, int length) { if (offset < 0 || length < 0 || offset + length > this.m_size) { throw new OutOfBoundsException("The requested offset and length are out of bounds for this buffer: length = " + length + " , offset = " + offset); } if (m_dchunk.getAllocator() instanceof NonVolatileMemAllocator) { NonVolatileMemAllocator alloc = (NonVolatileMemAllocator) m_dchunk.getAllocator(); alloc.syncToNonVolatileMemory(m_dchunk.get() + m_offset + offset, length, false); } else { throw new UnsupportedOperationException("The ChunkBuffer does not backed by a non-volatile allocator"); } }
public void syncToLocal(long offset, int length) { if (offset < 0 || length < 0 || offset + length > this.m_size) { throw new OutOfBoundsException("The requested offset and length are out of bounds for this buffer: length = " + length + " , offset = " + offset); } if (m_dchunk.getAllocator() instanceof NonVolatileMemAllocator) { NonVolatileMemAllocator alloc = (NonVolatileMemAllocator) m_dchunk.getAllocator(); alloc.syncToLocal(m_dchunk.get() + m_offset + offset, length, false); } else { throw new UnsupportedOperationException("The ChunkBuffer does not backed by a non-volatile allocator"); } }
@Override public void cancelAutoReclaim() { m_holder_00EAAD.cancelAutoReclaim(); if (null != m_value_40BC76) { m_value_40BC76.cancelAutoReclaim(); } if (null != m_key_7AEF3C) { m_key_7AEF3C.cancelAutoReclaim(); } m_autoreclaim_76D4CF = false; }
/** * set key field in the node * * @param key * the key to be set * * @param destroy * true if want to destroy exist one * */ @DurableSetter public abstract void setKey(K key, boolean destroy);
@Override public void registerAutoReclaim(ReclaimContext rctx) { holder.registerAutoReclaim(rctx); autoReclaim = true; reclaimcontext = rctx; }
/** * sync. this object */ @Override public void syncToVolatileMemory() { m_allocator.syncToVolatileMemory(this); }
@Override public void registerAutoReclaim(ReclaimContext arg0) { m_holder_3CE8C3.registerAutoReclaim(arg0); if (null != m_name_1B779B) { m_name_1B779B.registerAutoReclaim(arg0); } m_autoreclaim_071A8E = true; m_reclaimcontext_9C2BE7 = arg0; }
@Override public void cancelAutoReclaim() { m_holder_3CE8C3.cancelAutoReclaim(); if (null != m_name_1B779B) { m_name_1B779B.cancelAutoReclaim(); } m_autoreclaim_071A8E = false; }
/** * set value field in the node * * @param value * the value to be set * * @param destroy * true if want to destroy the exist node */ @DurableSetter public abstract void setValue(V value, boolean destroy);
@Override public void registerAutoReclaim(ReclaimContext arg0) { m_holder_68BA57.registerAutoReclaim(arg0); if (null != m_name_9807CF) { m_name_9807CF.registerAutoReclaim(arg0); } m_autoreclaim_7E4A25 = true; m_reclaimcontext_B5B531 = arg0; }
@Override public void cancelAutoReclaim() { m_holder_68BA57.cancelAutoReclaim(); if (null != m_name_9807CF) { m_name_9807CF.cancelAutoReclaim(); } m_autoreclaim_7E4A25 = false; }
/** * set a value to this node item * * @param value * the value to be set * * @param destroy * true if want to destroy exist one * */ @DurableSetter public abstract void setItem(E value, boolean destroy);