use of org.apache.geode.modules.session.catalina.internal.DeltaSessionDestroyAttributeEvent in project geode by apache.
the class DeltaSession8 method removeAttribute.
public void removeAttribute(String name, boolean notify) {
checkBackingCacheAvailable();
if (expired) {
return;
}
synchronized (this.changeLock) {
// Remove the attribute locally
super.removeAttribute(name, true);
// Create the destroy attribute message
DeltaSessionAttributeEvent event = new DeltaSessionDestroyAttributeEvent(name);
queueAttributeEvent(event, true);
// Distribute the update
if (!isCommitEnabled()) {
putInRegion(getOperatingRegion(), true, null);
}
}
}
use of org.apache.geode.modules.session.catalina.internal.DeltaSessionDestroyAttributeEvent in project geode by apache.
the class DeltaSession7 method removeAttribute.
public void removeAttribute(String name, boolean notify) {
checkBackingCacheAvailable();
if (expired) {
return;
}
synchronized (this.changeLock) {
// Remove the attribute locally
super.removeAttribute(name, true);
// Create the destroy attribute message
DeltaSessionAttributeEvent event = new DeltaSessionDestroyAttributeEvent(name);
queueAttributeEvent(event, true);
// Distribute the update
if (!isCommitEnabled()) {
putInRegion(getOperatingRegion(), true, null);
}
}
}
use of org.apache.geode.modules.session.catalina.internal.DeltaSessionDestroyAttributeEvent in project geode by apache.
the class DeltaSession method removeAttribute.
public void removeAttribute(String name, boolean notify) {
checkBackingCacheAvailable();
if (expired) {
return;
}
synchronized (this.changeLock) {
// Remove the attribute locally
super.removeAttribute(name, true);
// Create the destroy attribute message
DeltaSessionAttributeEvent event = new DeltaSessionDestroyAttributeEvent(name);
queueAttributeEvent(event, true);
// Distribute the update
if (!isCommitEnabled()) {
putInRegion(getOperatingRegion(), true, null);
}
}
}
Aggregations