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
ASnapshotArchiverFactoryimplementation that creates instances of a SnapshotArchiver class configured using an XmlElement.- Since:
- 12.2.1
- Author:
- jh 2014.08.15
-
-
Constructor Summary
Constructors Constructor Description ConfigurableSnapshotArchiverFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotArchivercreateSnapshotArchiver(String sClusterName, String sServiceName)Create a new SnapshotArchiver.XmlElementgetConfig()Determine the current configuration of the object.voidsetConfig(XmlElement xml)Specify the configuration for the object.StringtoString()
-
-
-
Method Detail
-
createSnapshotArchiver
public SnapshotArchiver createSnapshotArchiver(String sClusterName, String sServiceName)
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
public void setConfig(XmlElement xml)
Specify the configuration for the object.- Specified by:
setConfigin interfaceXmlConfigurable- Parameters:
xml- the XML configuration for the object
-
getConfig
public XmlElement getConfig()
Determine the current configuration of the object.- Specified by:
getConfigin interfaceXmlConfigurable- Returns:
- the XML configuration or null
-
-