/** * Get serialized form of data off the disk * @param id * @since gemfire5.7_hotfix */ public Object getSerializedData(DiskId id) { return getDiskStore().getSerializedData(this, id); }
/** * Record that we have done tombstone garbage collection to disk. * On recovery or compaction, we will discard tombstones less than * the GC RVV. */ public void writeRVVGC(LocalRegion region) { getDiskStore().writeRVVGC(this, region); }
/** * @since prPersistSprint1 */ public void unscheduleAsyncWrite(DiskId did) { getDiskStore().unscheduleAsyncWrite(did); }
/** * @since prPersistSprint1 */ public void unscheduleAsyncWrite(DiskId did) { getDiskStore().unscheduleAsyncWrite(did); }
/** * Returns the value of the key/value pair with the given diskId. Updates all * of the necessary {@linkplain DiskRegionStats statistics} * * @see #getBytesAndBitsWithoutLock(DiskId, boolean, boolean) */ final Object get(DiskId id) { return getDiskStore().get(this, id); }
/** * Initializes the contents of the region that owns this disk region. * Currently the only time this method does any work is when backup is true * and recovery data was discovered when this disk region was created. */ final void initializeOwner(LocalRegion drs, InternalRegionArguments internalRegionArgs) { getDiskStore().initializeOwner(drs, internalRegionArgs); }
/** * force a flush but do it async (don't wait for the flush to complete). */ public void asynchForceFlush() { getDiskStore().asynchForceFlush(); }
/** * returns the active child */ final Oplog testHook_getChild() { return getDiskStore().persistentOplogs.getChild(); }
/** * Record current RVV to disk and update into disk region RVV. */ public void writeRVV(LocalRegion region, Boolean isRVVTrusted) { getDiskStore().writeRVV(this, region, isRVVTrusted); }
/** * Get serialized form of data off the disk * @param id * @since gemfire5.7_hotfix */ public Object getSerializedData(DiskId id) { return getDiskStore().getSerializedData(this, id); }
/** * @since prPersistSprint1 */ public void scheduleAsyncWrite(AsyncDiskEntry ade) { getDiskStore().scheduleAsyncWrite(ade); } /**
/** * @since 3.2.1 */ final byte getBits(DiskId id) { return getDiskStore().getBits(this, id); }
/** * Stops the compactor without taking a write lock. Then it invokes appropriate * methods of super & current class to clear the Oplogs & once done restarts * the compactor. */ void clear(LocalRegion region, RegionVersionVector rvv) { getDiskStore().clear(region, this, rvv); }
/** * Record current RVV to disk and update into disk region RVV. */ public void writeRVV(LocalRegion region, Boolean isRVVTrusted) { if(this.getFlags().contains(DiskRegionFlag.IS_WITH_VERSIONING)) { getDiskStore().writeRVV(this, region, isRVVTrusted); } }
/** * stops the compactor outside the write lock. Once stopped then it proceeds to * close the current * old oplogs */ void close(LocalRegion region, boolean closeDataOnly) { try { getDiskStore().close(region, this, closeDataOnly); } finally { statsClose(region); } }
/** * stops the compactor outside the write lock. Once stopped then it proceeds to * close the current * old oplogs */ void close(LocalRegion region, boolean closeDataOnly) { try { getDiskStore().close(region, this, closeDataOnly); } finally { statsClose(region); } }
/** * stops the compactor outside the write lock. Once stopped then it proceeds to * close the current * old oplogs */ void close(LocalRegion region) { try { getDiskStore().close(region, this, false); } finally { statsClose(region); } }
@Override void beginDestroyRegion(LocalRegion region) { try { getDiskStore().beginDestroyRegion(region, this); } finally { statsClose(region); } }
@Override void beginDestroyRegion(LocalRegion region) { try { getDiskStore().beginDestroyRegion(region, this); } finally { statsClose(region); } }
@Override protected void closeDown() { DiskRegion dr = null; if (region != null) { dr = ((LocalRegion)region).getDiskRegion(); } super.closeDown(); if (dr != null) { dr.getDiskStore().close(); ((LocalRegion) region).getGemFireCache().removeDiskStore(dr.getDiskStore()); } }