Package org.opennms.netmgt.dao.support
Class HostFileSystemStorageStrategy
- java.lang.Object
-
- org.opennms.netmgt.collection.support.IndexStorageStrategy
-
- org.opennms.netmgt.dao.support.HostFileSystemStorageStrategy
-
- All Implemented Interfaces:
StorageStrategy
@Deprecated public class HostFileSystemStorageStrategy extends IndexStorageStrategy
Deprecated.HostFileSystemStorageStrategy class.
- Author:
- Alejandro Galue
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
HR_STORAGE_DESC
Deprecated.ConstantHR_STORAGE_DESC=".1.3.6.1.2.1.25.2.3.1.3"
-
Fields inherited from class org.opennms.netmgt.collection.support.IndexStorageStrategy
m_storageStrategyService
-
-
Constructor Summary
Constructors Constructor Description HostFileSystemStorageStrategy()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getResourceNameFromIndex(CollectionResource resource)
Deprecated.This functions translate resourceIndex into a "unique" and "non-variable" name that could be identify a resource, as described earlier.-
Methods inherited from class org.opennms.netmgt.collection.support.IndexStorageStrategy
getRelativePathForAttribute, getResourceTypeName, setParameters, setResourceTypeName, setStorageStrategyService
-
-
-
-
Method Detail
-
getResourceNameFromIndex
public java.lang.String getResourceNameFromIndex(CollectionResource resource)
Deprecated.This functions translate resourceIndex into a "unique" and "non-variable" name that could be identify a resource, as described earlier. This method could be expensive because it could require send SNMP queries and make complicated functions to build the name. So you must try to call it only when is necessary.- Specified by:
getResourceNameFromIndex
in interfaceStorageStrategy
- Overrides:
getResourceNameFromIndex
in classIndexStorageStrategy
- Parameters:
resource
- aCollectionResource
object- Returns:
- a
String
object.
-
-