Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12637

Remove superfluous config example from eviction content

XMLWordPrintable

      https://infinispan.org/docs/stable/titles/configuring/configuring.html#custom_class_eviction-config

      Remove the following section from the configuration guide:

      Custom Classes with Memory-Based Eviction

      You must use binary or off-heap storage memory based eviction, as in the following examples:
      Declarative configuration

      <!-- Enable memory based eviction with 1 GB/> -->
      <memory>
      <binary size="1000000000" eviction="MEMORY"/>
      </memory>

      Programmatic configuration

      Configuration c = new ConfigurationBuilder()
      .memory()
      .storageType(StorageType.BINARY)
      .evictionType(EvictionType.MEMORY)
      .size(1_000_000_000)
      .build();

              dnaro@redhat.com Donald Naro
              dnaro@redhat.com Donald Naro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: