Class InMemoryPersistence
java.lang.Object
org.epics.archiverappliance.config.persistence.InMemoryPersistence
- All Implemented Interfaces:
ConfigPersistence
Dummy in memory persistence layer for unit tests
- Author:
- mshankar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteTypeInfo(String pvName) getAliasNamesToRealName(String pvName) getAllTypeInfosForAppliance(String applianceIdentity) getArchivePVRequest(String pvName) getExternalDataServer(String serverId) getTypeInfo(String pvName) voidputAliasNamesToRealName(String pvName, String realName) voidputArchivePVRequest(String pvName, UserSpecifiedSamplingParams userParams) voidputExternalDataServer(String serverId, String serverInfo) voidputTypeInfo(String pvName, PVTypeInfo typeInfo) voidremoveAliasName(String pvName, String realName) voidremoveArchivePVRequest(String pvName) voidremoveExternalDataServer(String serverId, String serverInfo) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.epics.archiverappliance.config.ConfigPersistence
getAliasNamesForRealName, initialize
-
Constructor Details
-
InMemoryPersistence
public InMemoryPersistence()
-
-
Method Details
-
getTypeInfoKeys
- Specified by:
getTypeInfoKeysin interfaceConfigPersistence- Throws:
IOException
-
getAllTypeInfosForAppliance
- Specified by:
getAllTypeInfosForAppliancein interfaceConfigPersistence- Throws:
IOException
-
getTypeInfo
- Specified by:
getTypeInfoin interfaceConfigPersistence- Throws:
IOException
-
putTypeInfo
- Specified by:
putTypeInfoin interfaceConfigPersistence- Throws:
IOException
-
deleteTypeInfo
- Specified by:
deleteTypeInfoin interfaceConfigPersistence- Throws:
IOException
-
getArchivePVRequestsKeys
- Specified by:
getArchivePVRequestsKeysin interfaceConfigPersistence- Throws:
IOException
-
getArchivePVRequest
- Specified by:
getArchivePVRequestin interfaceConfigPersistence- Throws:
IOException
-
putArchivePVRequest
public void putArchivePVRequest(String pvName, UserSpecifiedSamplingParams userParams) throws IOException - Specified by:
putArchivePVRequestin interfaceConfigPersistence- Throws:
IOException
-
removeArchivePVRequest
- Specified by:
removeArchivePVRequestin interfaceConfigPersistence- Throws:
IOException
-
getExternalDataServersKeys
- Specified by:
getExternalDataServersKeysin interfaceConfigPersistence- Throws:
IOException
-
getExternalDataServer
- Specified by:
getExternalDataServerin interfaceConfigPersistence- Throws:
IOException
-
putExternalDataServer
- Specified by:
putExternalDataServerin interfaceConfigPersistence- Throws:
IOException
-
removeExternalDataServer
- Specified by:
removeExternalDataServerin interfaceConfigPersistence- Throws:
IOException
-
getAliasNamesToRealNamesKeys
- Specified by:
getAliasNamesToRealNamesKeysin interfaceConfigPersistence- Throws:
IOException
-
getAliasNamesToRealName
- Specified by:
getAliasNamesToRealNamein interfaceConfigPersistence- Throws:
IOException
-
putAliasNamesToRealName
- Specified by:
putAliasNamesToRealNamein interfaceConfigPersistence- Throws:
IOException
-
removeAliasName
- Specified by:
removeAliasNamein interfaceConfigPersistence- Throws:
IOException
-