Class ConfigurableSnapshotArchiverFactory

java.lang.Object
com.tangosol.persistence.ConfigurableSnapshotArchiverFactory
All Implemented Interfaces:
SnapshotArchiverFactory, XmlConfigurable

public class ConfigurableSnapshotArchiverFactory extends Object implements SnapshotArchiverFactory, XmlConfigurable
A SnapshotArchiverFactory implementation that creates instances of a SnapshotArchiver class configured using an XmlElement.
Since:
12.2.1
Author:
jh 2014.08.15
  • Constructor Details

    • ConfigurableSnapshotArchiverFactory

      public ConfigurableSnapshotArchiverFactory()
  • Method Details

    • createSnapshotArchiver

      public SnapshotArchiver createSnapshotArchiver(String sClusterName, String sServiceName)
      Create a new SnapshotArchiver.
      Specified by:
      createSnapshotArchiver in interface SnapshotArchiverFactory
      Parameters:
      sClusterName - the name of the Cluster that is creating the archiver
      sServiceName - the name of the Service that is creating the archiver
      Returns:
      a new SnapshotArchiver
    • setConfig

      public void setConfig(XmlElement xml)
      Specify the configuration for the object.
      Specified by:
      setConfig in interface XmlConfigurable
      Parameters:
      xml - the XML configuration for the object
    • getConfig

      public XmlElement getConfig()
      Determine the current configuration of the object.
      Specified by:
      getConfig in interface XmlConfigurable
      Returns:
      the XML configuration or null
    • toString

      public String toString()
      Overrides:
      toString in class Object