public void superSetAttribute(String name, Object value, boolean notify) { super.setAttribute(name, value, notify); }
public void superSetAttribute(String name, Object value, boolean notify) { super.setAttribute(name, value, notify); }
public void superSetAttribute(String name, Object value, boolean notify) { super.setAttribute(name, value, notify); }
public void superSetAttribute(String name, Object value, boolean notify) { super.setAttribute(name, value, notify); }
@Override public void localUpdateAttribute(String name, Object value) { super.setAttribute(name, value, false); // don't do notification since this is a replication }
@Override public void setAttribute(String name, Object value, boolean notify) { super.setAttribute(name, value, notify); if (updateMode == UpdateMode.DEFAULT && map != null && value != null) { fastPut(name, value); } }
@Override public void setAttribute(String name, Object value, boolean notify) { super.setAttribute(name, value, notify); if (updateMode == UpdateMode.DEFAULT && map != null && value != null) { fastPut(name, value); } }
@Override public void setAttribute(String name, Object value, boolean notify) { super.setAttribute(name, value, notify); if (updateMode == UpdateMode.DEFAULT && map != null && value != null) { fastPut(name, value); } }
@Override public void setAttribute(String name, Object value, boolean notify) { super.setAttribute(name, value, notify); if (updateMode == UpdateMode.DEFAULT && map != null && value != null) { fastPut(name, value); } }
public void load(Map<String, Object> attrs) { Long creationTime = (Long) attrs.remove(CREATION_TIME_ATTR); if (creationTime != null) { this.creationTime = creationTime; } Long lastAccessedTime = (Long) attrs.remove(LAST_ACCESSED_TIME_ATTR); if (lastAccessedTime != null) { this.lastAccessedTime = lastAccessedTime; } Integer maxInactiveInterval = (Integer) attrs.remove(MAX_INACTIVE_INTERVAL_ATTR); if (maxInactiveInterval != null) { this.maxInactiveInterval = maxInactiveInterval; } Long thisAccessedTime = (Long) attrs.remove(THIS_ACCESSED_TIME_ATTR); if (thisAccessedTime != null) { this.thisAccessedTime = thisAccessedTime; } Boolean isValid = (Boolean) attrs.remove(IS_VALID_ATTR); if (isValid != null) { this.isValid = isValid; } Boolean isNew = (Boolean) attrs.remove(IS_NEW_ATTR); if (isNew != null) { this.isNew = isNew; } for (Entry<String, Object> entry : attrs.entrySet()) { super.setAttribute(entry.getKey(), entry.getValue(), false); } }
public void load(Map<String, Object> attrs) { Long creationTime = (Long) attrs.remove(CREATION_TIME_ATTR); if (creationTime != null) { this.creationTime = creationTime; } Long lastAccessedTime = (Long) attrs.remove(LAST_ACCESSED_TIME_ATTR); if (lastAccessedTime != null) { this.lastAccessedTime = lastAccessedTime; } Integer maxInactiveInterval = (Integer) attrs.remove(MAX_INACTIVE_INTERVAL_ATTR); if (maxInactiveInterval != null) { this.maxInactiveInterval = maxInactiveInterval; } Long thisAccessedTime = (Long) attrs.remove(THIS_ACCESSED_TIME_ATTR); if (thisAccessedTime != null) { this.thisAccessedTime = thisAccessedTime; } Boolean isValid = (Boolean) attrs.remove(IS_VALID_ATTR); if (isValid != null) { this.isValid = isValid; } Boolean isNew = (Boolean) attrs.remove(IS_NEW_ATTR); if (isNew != null) { this.isNew = isNew; } for (Entry<String, Object> entry : attrs.entrySet()) { super.setAttribute(entry.getKey(), entry.getValue(), false); } }
public void load(Map<String, Object> attrs) { Long creationTime = (Long) attrs.remove(CREATION_TIME_ATTR); if (creationTime != null) { this.creationTime = creationTime; } Long lastAccessedTime = (Long) attrs.remove(LAST_ACCESSED_TIME_ATTR); if (lastAccessedTime != null) { this.lastAccessedTime = lastAccessedTime; } Integer maxInactiveInterval = (Integer) attrs.remove(MAX_INACTIVE_INTERVAL_ATTR); if (maxInactiveInterval != null) { this.maxInactiveInterval = maxInactiveInterval; } Long thisAccessedTime = (Long) attrs.remove(THIS_ACCESSED_TIME_ATTR); if (thisAccessedTime != null) { this.thisAccessedTime = thisAccessedTime; } Boolean isValid = (Boolean) attrs.remove(IS_VALID_ATTR); if (isValid != null) { this.isValid = isValid; } Boolean isNew = (Boolean) attrs.remove(IS_NEW_ATTR); if (isNew != null) { this.isNew = isNew; } for (Entry<String, Object> entry : attrs.entrySet()) { super.setAttribute(entry.getKey(), entry.getValue(), false); } }
public void load(Map<String, Object> attrs) { Long creationTime = (Long) attrs.remove(CREATION_TIME_ATTR); if (creationTime != null) { this.creationTime = creationTime; } Long lastAccessedTime = (Long) attrs.remove(LAST_ACCESSED_TIME_ATTR); if (lastAccessedTime != null) { this.lastAccessedTime = lastAccessedTime; } Integer maxInactiveInterval = (Integer) attrs.remove(MAX_INACTIVE_INTERVAL_ATTR); if (maxInactiveInterval != null) { this.maxInactiveInterval = maxInactiveInterval; } Long thisAccessedTime = (Long) attrs.remove(THIS_ACCESSED_TIME_ATTR); if (thisAccessedTime != null) { this.thisAccessedTime = thisAccessedTime; } Boolean isValid = (Boolean) attrs.remove(IS_VALID_ATTR); if (isValid != null) { this.isValid = isValid; } Boolean isNew = (Boolean) attrs.remove(IS_NEW_ATTR); if (isNew != null) { this.isNew = isNew; } for (Entry<String, Object> entry : attrs.entrySet()) { super.setAttribute(entry.getKey(), entry.getValue(), false); } }
@Override public void setAttribute(String name, Object value, boolean notify) { checkBackingCacheAvailable(); synchronized (this.changeLock) { // Serialize the value byte[] serializedValue = serialize(value); // Store the attribute locally if (this.preferDeserializedForm) { super.setAttribute(name, value, true); } else { super.setAttribute(name, serializedValue, true); } if (serializedValue == null) { return; } // Create the update attribute message DeltaSessionAttributeEvent event = new DeltaSessionUpdateAttributeEvent(name, serializedValue); queueAttributeEvent(event, true); // Distribute the update if (!isCommitEnabled()) { putInRegion(getOperatingRegion(), true, null); } } }
/** * {@inheritDoc} */ @Override public void setAttribute( final String name, final Object value ) { if (filterAttribute(name)) { _attributesAccessed = true; } super.setAttribute( name, value ); }
/** * {@inheritDoc} */ @Override public void setAttribute( final String name, final Object value, final boolean notify ) { if (filterAttribute(name)) { _attributesAccessed = true; } super.setAttribute( name, value, notify ); }
public void localUpdateAttribute(String name, Object value) { super.setAttribute(name, value, false); // don't do notification since this is a replication }
/** * {@inheritDoc} */ @Override public void setAttribute( final String name, final Object value ) { if (filterAttribute(name)) { _attributesAccessed = true; } super.setAttribute( name, value ); }
@Override public void setAttribute(String name, Object value, boolean notify) { super.setAttribute(name, value, notify); if (updateMode == UpdateMode.DEFAULT && map != null && value != null) { fastPut(name, value); } }
/** * {@inheritDoc} */ @Override public void setAttribute( final String name, final Object value, final boolean notify ) { if (filterAttribute(name)) { _attributesAccessed = true; } super.setAttribute( name, value, notify ); }