PeerToPeerCache (Apache Geode 2.0.2)
Description: declaration: package: org.apache.geode.modules.session.bootstrap, class: PeerToPeerCache

Package 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

  Modifier and Type
  Method
  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 Details

  - ### 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`