org.wildfly.clustering.session.cache.attributes.AbstractSessionAttributes Maven / Gradle / Ivy
/*
* Copyright The WildFly Authors
* SPDX-License-Identifier: Apache-2.0
*/
package org.wildfly.clustering.session.cache.attributes;
import java.util.Collection;
import java.util.Collections;
import java.util.Map;
import java.util.Set;
/**
* @author Paul Ferraro
*/
public abstract class AbstractSessionAttributes implements SessionAttributes {
private final Map attributes;
protected AbstractSessionAttributes(Map attributes) {
this.attributes = Collections.unmodifiableMap(attributes);
}
@Override
public Set keySet() {
return this.attributes.keySet();
}
@Override
public Collection