public Region getRegion() { checkEntryDestroyed(); return region; }
public Region getRegion() { checkEntryDestroyed(); return region; }
public Object getUserAttribute() { checkEntryDestroyed(); Map userAttr = region.entryUserAttributes; if (userAttr == null) { return null; } return userAttr.get(this.regionEntry.getKey()); }
public Object getValue() { checkEntryDestroyed(); return getRawValue(); }
public Object getKey() { checkEntryDestroyed(); return regionEntry.getKeyCopy(); }
public Object getUserAttribute() { checkEntryDestroyed(); Map userAttr = region.entryUserAttributes; if (userAttr == null) { return null; } return userAttr.get(this.regionEntry.getKey()); }
public Object setUserAttribute(Object value) { checkEntryDestroyed(); if (region.entryUserAttributes == null) { region.entryUserAttributes = new Hashtable(); } return region.entryUserAttributes.put(this.regionEntry .getKey(), value); }
public Object getKey() { checkEntryDestroyed(); return regionEntry.getKey(); }
public Object getValue() { checkEntryDestroyed(); return getRawValue(); }
public Object setUserAttribute(Object value) { checkEntryDestroyed(); if (this.region.isTX()) { throw new UnsupportedOperationException( LocalizedStrings.TXEntry_UA_NOT_SUPPORTED.toLocalizedString()); } if (region.entryUserAttributes == null) { region.entryUserAttributes = new Hashtable(); } return region.entryUserAttributes.put(this.regionEntry .getKey(), value); }
public CacheStatistics getStatistics() throws StatisticsDisabledException { checkEntryDestroyed(); if (!regionEntry.hasStats() || !region.statisticsEnabled) { throw new StatisticsDisabledException(LocalizedStrings.PartitionedRegion_STATISTICS_DISABLED_FOR_REGION_0.toLocalizedString(region.getFullPath())); } return new CacheStatisticsImpl(this.regionEntry, region); }
public CacheStatistics getStatistics() throws StatisticsDisabledException { checkEntryDestroyed(); if (!regionEntry.hasStats() || !region.statisticsEnabled) { throw new StatisticsDisabledException(LocalizedStrings.PartitionedRegion_STATISTICS_DISABLED_FOR_REGION_0.toLocalizedString(region.getFullPath())); } return new CacheStatisticsImpl(this.regionEntry, region); }