/** * Write out the values for debugging purposes. * <p> * @return String */ @Override public String toString() { StringBuilder str = new StringBuilder(); str.append( "\nBlockDiskAttributes " ); str.append( "\n DiskPath [" + this.getDiskPath() + "]" ); str.append( "\n MaxKeySize [" + this.getMaxKeySize() + "]" ); str.append( "\n MaxPurgatorySize [" + this.getMaxPurgatorySize() + "]" ); str.append( "\n BlockSizeBytes [" + this.getBlockSizeBytes() + "]" ); str.append( "\n KeyPersistenceIntervalSeconds [" + this.getKeyPersistenceIntervalSeconds() + "]" ); str.append( "\n DiskLimitType [" + this.getDiskLimitType() + "]" ); return str.toString(); } }
/** * Write out the values for debugging purposes. * <p> * @return String */ @Override public String toString() { StringBuilder str = new StringBuilder(); str.append( "\nBlockDiskAttributes " ); str.append( "\n DiskPath [" + this.getDiskPath() + "]" ); str.append( "\n MaxKeySize [" + this.getMaxKeySize() + "]" ); str.append( "\n MaxPurgatorySize [" + this.getMaxPurgatorySize() + "]" ); str.append( "\n BlockSizeBytes [" + this.getBlockSizeBytes() + "]" ); str.append( "\n KeyPersistenceIntervalSeconds [" + this.getKeyPersistenceIntervalSeconds() + "]" ); str.append( "\n DiskLimitType [" + this.getDiskLimitType() + "]" ); return str.toString(); } }
this.logCacheName = "Region [" + this.blockDiskCacheAttributes.getCacheName() + "] "; this.fileName = this.blockDiskCacheAttributes.getCacheName(); this.maxKeySize = cacheAttributes.getMaxKeySize(); this.blockDiskCache = blockDiskCache; this.diskLimitType = cacheAttributes.getDiskLimitType();
this.logCacheName = "Region [" + this.blockDiskCacheAttributes.getCacheName() + "] "; this.fileName = this.blockDiskCacheAttributes.getCacheName(); this.maxKeySize = cacheAttributes.getMaxKeySize(); this.blockDiskCache = blockDiskCache; this.diskLimitType = cacheAttributes.getDiskLimitType();