class BucketPersistenceAdvisor extends PersistenceAdvisorImpl {

  @VisibleForTesting
  public boolean isRecovering() {
    return recovering;
  }

    BucketPersistenceAdvisor(CacheDistributionAdvisor cacheDistributionAdvisor,
      DistributedLockService distributedLockService, PersistentMemberView storage,
      String regionPath, DiskRegionStats diskStats, PersistentMemberManager memberManager,
      BucketLock bucketLock, ProxyBucketRegion proxyBucketRegion);
  private  BucketPersistenceAdvisor(CacheDistributionAdvisor cacheDistributionAdvisor,
      DistributedLockService distributedLockService, PersistentMemberView storage,
      String regionPath, DiskRegionStats diskStats, PersistentMemberManager memberManager,
      BucketLock bucketLock, ProxyBucketRegion proxyBucketRegion,
      Function<InternalPersistenceAdvisor, MembershipChangeListener> membershipChangeListenerProvider);

}