Class SingletonStoreConfiguration

  • All Implemented Interfaces:
    org.infinispan.commons.configuration.attributes.Matchable<SingletonStoreConfiguration>

    @Deprecated
    public class SingletonStoreConfiguration
    extends Object
    implements org.infinispan.commons.configuration.attributes.Matchable<SingletonStoreConfiguration>
    Deprecated.
    Singleton writers will be removed in 10.0. If it is desirable that all nodes don't write to the underlying store then a shared store should be used instead, as this only performs store writes at a key's primary owner.
    SingletonStore is a delegating cache store used for situations when only one instance in a cluster should interact with the underlying store. The coordinator of the cluster will be responsible for the underlying CacheStore. SingletonStore is a simply facade to a real CacheStore implementation. It always delegates reads to the real CacheStore.
    Author:
    pmuir
    • Field Detail

      • ENABLED

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> ENABLED
        Deprecated.
      • PUSH_STATE_TIMEOUT

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Long> PUSH_STATE_TIMEOUT
        Deprecated.
      • PUSH_STATE_WHEN_COORDINATOR

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> PUSH_STATE_WHEN_COORDINATOR
        Deprecated.
    • Method Detail

      • attributeDefinitionSet

        public static org.infinispan.commons.configuration.attributes.AttributeSet attributeDefinitionSet()
        Deprecated.
      • enabled

        public boolean enabled()
        Deprecated.
        If true, the singleton store cache store is enabled.
      • pushStateTimeout

        public long pushStateTimeout()
        Deprecated.
        If pushStateWhenCoordinator is true, this property sets the maximum number of milliseconds that the process of pushing the in-memory state to the underlying cache loader should take.
      • pushStateWhenCoordinator

        public boolean pushStateWhenCoordinator()
        Deprecated.
        If true, when a node becomes the coordinator, it will transfer in-memory state to the underlying cache store. This can be very useful in situations where the coordinator crashes and there's a gap in time until the new coordinator is elected.
      • attributes

        public org.infinispan.commons.configuration.attributes.AttributeSet attributes()
        Deprecated.
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Overrides:
        equals in class Object