RegionVersionHolder implements Cloneable, DataSerializable { public synchronized boolean setRegionSynchronizeScheduledOrDoneIfNot() { if (!isRegionSynchronizeScheduledOrDone()) { regionSynchronizeScheduledOrDone = true; return true; } return false; } RegionVersionHolder(long ver);  RegionVersionHolder(T id);  RegionVersionHolder(DataInput in); synchronized long getVersion(); long getBitSetVersionForTesting(); BitSet getBitSetForTesting(); synchronized List<RVVException> getExceptionForTest(); synchronized int getExceptionCount(); synchronized String exceptionsToString(); @Override synchronized RegionVersionHolder<T> clone(); @Override synchronized String toString(); synchronized void initializeFrom(RegionVersionHolder<T> source); boolean dominates(RegionVersionHolder<T> other); boolean isSpecialException(RVVException e, RegionVersionHolder holder); synchronized boolean isNewerThanOrCanFillExceptionsFor(RegionVersionHolder<T> source); @Override synchronized void toData(DataOutput out); @Override void fromData(DataInput in); synchronized int hashCode(); synchronized boolean sameAs(RegionVersionHolder<T> other); @Override boolean equals(Object obj); synchronized void setRegionSynchronizeScheduled(); synchronized boolean setRegionSynchronizeScheduledOrDoneIfNot(); @MutableForTesting
  static int BIT_SET_WIDTH; }
@Test public void setRegionSynchronizeScheduledOrDoneIfNotReturnsTrueIfSyncScheduledNotSet() { DiskStoreID server = new DiskStoreID(0, 0); RegionVersionHolder holder = new RegionVersionHolder(server); assertThat(holder.setRegionSynchronizeScheduledOrDoneIfNot()).isTrue(); assertThat(holder.setRegionSynchronizeScheduledOrDoneIfNot()).isFalse(); }