org.infinispan.commons.persistence.Store Maven / Gradle / Ivy
package org.infinispan.commons.persistence;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Store. An annotation for identifying a persistent store and explicitly stating some of its characteristics.
*
* @author Ryan Emerson
* @since 9.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Store {
/**
* Whether the store can be shared amongst nodes in a distributed/replicated cache
*/
boolean shared() default false;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy