PeerToPeerCache (Apache Geode 1.13.2)
Date: 2021-03-08

org.apache.geode.modules.session.bootstrap

## Class PeerToPeerCache

- java.lang.Object
- - org.apache.geode.modules.session.bootstrap.AbstractCache
  - - org.apache.geode.modules.session.bootstrap.PeerToPeerCache

-     public class PeerToPeerCache
      extends AbstractCache

  This is a singleton class which maintains configuration properties as well as starting a Peer-To-Peer cache.

- - ### Field Summary

    - ### Fields inherited from class org.apache.geode.modules.session.bootstrap.AbstractCache

      `cache, instance`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `createOrRetrieveCache()`
    `protected String` | `getDefaultCacheXmlFileName()`
    `static AbstractCache` | `getInstance()`
    `protected void` | `rebalanceCache()`

    - ### Methods inherited from class org.apache.geode.modules.session.bootstrap.AbstractCache

      `close, getCache, getCriticalHeapPercentage, getEvictionHeapPercentage, getLogger, getRebalance, isStarted, lifecycleEvent, setCriticalHeapPercentage, setEvictionHeapPercentage, setProperty, setRebalance, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### getInstance

          public static AbstractCache getInstance()

    - #### createOrRetrieveCache

          protected void createOrRetrieveCache()

      Specified by:
        `createOrRetrieveCache` in class `AbstractCache`

    - #### rebalanceCache

          protected void rebalanceCache()

      Specified by:
        `rebalanceCache` in class `AbstractCache`

    - #### getDefaultCacheXmlFileName

          protected String getDefaultCacheXmlFileName()

      Specified by:
        `getDefaultCacheXmlFileName` in class `AbstractCache`