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
ASnapshotArchiverFactory
implementation 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 SnapshotArchiver
createSnapshotArchiver(String sClusterName, String sServiceName)
Create a new SnapshotArchiver.XmlElement
getConfig()
Determine the current configuration of the object.void
setConfig(XmlElement xml)
Specify the configuration for the object.String
toString()
-
-
-
Method Detail
-
createSnapshotArchiver
public SnapshotArchiver createSnapshotArchiver(String sClusterName, String sServiceName)
Create a new SnapshotArchiver.- Specified by:
createSnapshotArchiver
in 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:
setConfig
in interfaceXmlConfigurable
- Parameters:
xml
- the XML configuration for the object
-
getConfig
public XmlElement getConfig()
Determine the current configuration of the object.- Specified by:
getConfig
in interfaceXmlConfigurable
- Returns:
- the XML configuration or null
-
-