Class SingletonStoreConfiguration

  • All Implemented Interfaces:
    Matchable<SingletonStoreConfiguration>

    @Deprecated
    public class SingletonStoreConfiguration
    extends Object
    implements 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
    • Method Detail

      • attributeDefinitionSet

        public static 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.
      • hashCode

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

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