@Override public final boolean isHDFSRegion() { return this.getHDFSStoreName() != null; }
@Override public final boolean isHDFSRegion() { return this.getHDFSStoreName() != null; }
/**Destroy all data in HDFS, if this region is using HDFS persistence.*/ private void destroyHDFSData() { if(getHDFSStoreName() == null) { return; } try { hdfsManager.destroyData(); } catch (IOException e) { logger.warn(LocalizedStrings.HOPLOG_UNABLE_TO_DELETE_HDFS_DATA, e); } }
@Override protected StringBuilder getStringBuilder() { return super.getStringBuilder() .append("; prId=").append(this.partitionedRegionId) .append("; isDestroyed=").append(this.isDestroyed) .append("; isClosed=").append(this.isClosed) .append("; retryTimeout=").append(this.retryTimeout) .append("; serialNumber=").append(getSerialNumber()) .append("; hdfsStoreName=").append(getHDFSStoreName()) .append("; hdfsWriteOnly=").append(getHDFSWriteOnly()) .append("; partition attributes=").append(getPartitionAttributes()) .append("; on VM ").append(getMyId()); }
@Override public String toString() { return new StringBuffer() .append("Partitioned Region ") .append("@").append(Integer.toHexString(hashCode())) .append(" [") .append("path='").append(getFullPath()) .append("'; dataPolicy=").append(this.dataPolicy) .append("; prId=").append(this.partitionedRegionId) .append("; isDestroyed=").append(this.isDestroyed) .append("; isClosed=").append(this.isClosed) .append("; retryTimeout=").append(this.retryTimeout) .append("; serialNumber=").append(getSerialNumber()) .append("; hdfsStoreName=").append(getHDFSStoreName()) .append("; hdfsWriteOnly=").append(getHDFSWriteOnly()) .append("; partition attributes=").append(getPartitionAttributes().toString()) .append("; on VM ").append(getMyId()) .append("]") .toString(); }
/**Destroy all data in HDFS, if this region is using HDFS persistence.*/ private void destroyHDFSData() { if(getHDFSStoreName() == null) { return; } try { hdfsManager.destroyData(); } catch (IOException e) { getLogWriterI18n().warning(LocalizedStrings.HOPLOG_UNABLE_TO_DELETE_HDFS_DATA, e); } }
public boolean isReadWriteHDFSRegion() { return isUsedForPartitionedRegionBucket() && getPartitionedRegion().getHDFSStoreName() != null && !getPartitionedRegion().getHDFSWriteOnly(); }
public boolean isReadWriteHDFSRegion() { return isUsedForPartitionedRegionBucket() && getPartitionedRegion().getHDFSStoreName() != null && !getPartitionedRegion().getHDFSWriteOnly(); }
if (this.getHDFSStoreName() != null) { String eventQueueName = getHDFSEventQueueName(); super.addAsyncEventQueueId(eventQueueName);
if (this.getHDFSStoreName() != null) { String eventQueueName = getHDFSEventQueueName(); this.addAsyncEventQueueId(eventQueueName);