Package com.tangosol.persistence
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSnapshotArchiver(String sClusterName, String sServiceName) Create a new SnapshotArchiver.Determine the current configuration of the object.voidsetConfig(XmlElement xml) Specify the configuration for the object.toString()
-
Constructor Details
-
ConfigurableSnapshotArchiverFactory
public ConfigurableSnapshotArchiverFactory()
-
-
Method Details
-
createSnapshotArchiver
Create a new SnapshotArchiver.- Specified by:
createSnapshotArchiverin interfaceSnapshotArchiverFactory- Parameters:
sClusterName- the name of the Cluster that is creating the archiversServiceName- the name of the Service that is creating the archiver- Returns:
- a new SnapshotArchiver
-
setConfig
Specify the configuration for the object.- Specified by:
setConfigin interfaceXmlConfigurable- Parameters:
xml- the XML configuration for the object
-
getConfig
Determine the current configuration of the object.- Specified by:
getConfigin interfaceXmlConfigurable- Returns:
- the XML configuration or null
-
toString
-