Class TransientStoreConfig

    • Constructor Detail

      • TransientStoreConfig

        public TransientStoreConfig()
      • TransientStoreConfig

        public TransientStoreConfig​(String name)
      • TransientStoreConfig

        public TransientStoreConfig​(TransientStoreConfig other)
        Copy constructor.
        Since:
        10.10
    • Method Detail

      • merge

        public TransientStoreConfig merge​(Descriptor o)
        Description copied from interface: Descriptor
        Returns a descriptor representing other merged into this

        Default implementation returns other.

        Specified by:
        merge in interface Descriptor
        Returns:
        the merged descriptor
      • defaultValue

        protected static <T> T defaultValue​(T value,
                                            T defaultValue)
      • getId

        public String getId()
        Description copied from interface: Descriptor
        The descriptor id, descriptors with same id are merged.

        To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.

        To forbid merge use a unique value, non-overriden toString() for exemple.

        Specified by:
        getId in interface Descriptor
      • getName

        public String getName()
      • getTargetMaxSizeMB

        public int getTargetMaxSizeMB()
      • setTargetMaxSizeMB

        @Deprecated
        public void setTargetMaxSizeMB​(int targetMaxSizeMB)
        Deprecated.
        since 10.10, unused
      • getAbsoluteMaxSizeMB

        public int getAbsoluteMaxSizeMB()
      • setAbsoluteMaxSizeMB

        @Deprecated
        public void setAbsoluteMaxSizeMB​(int absoluteMaxSizeMB)
        Deprecated.
        since 10.10, unused
      • getFirstLevelTTL

        public int getFirstLevelTTL()
      • setFirstLevelTTL

        @Deprecated
        public void setFirstLevelTTL​(int firstLevelTTL)
        Deprecated.
        since 10.10, unused
      • getSecondLevelTTL

        public int getSecondLevelTTL()
      • setSecondLevelTTL

        @Deprecated
        public void setSecondLevelTTL​(int secondLevelTTL)
        Deprecated.
        since 10.10, unused
      • getDataDir

        public String getDataDir()
        Returns the directory where blobs will be stored.
        Since:
        9.1
      • getProperties

        public Map<String,​String> getProperties()
        Returns properties.
        Since:
        10.1
      • getKlass

        public Class<? extends TransientStoreProvider> getKlass()
        Returns the implementation class, or null if not defined.
        Since:
        10.10