org.opennms.netmgt.dao.support
Class HostFileSystemStorageStrategy
java.lang.Object
org.opennms.netmgt.dao.support.IndexStorageStrategy
org.opennms.netmgt.dao.support.HostFileSystemStorageStrategy
- All Implemented Interfaces:
- StorageStrategy
Deprecated.
@Deprecated
public class HostFileSystemStorageStrategy
- extends IndexStorageStrategy
HostFileSystemStorageStrategy class.
- Author:
- Alejandro Galue
|
Field Summary |
static String |
HR_STORAGE_DESC
Deprecated. Constant HR_STORAGE_DESC=".1.3.6.1.2.1.25.2.3.1.3" |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HR_STORAGE_DESC
public static String HR_STORAGE_DESC
- Deprecated.
- Constant
HR_STORAGE_DESC=".1.3.6.1.2.1.25.2.3.1.3"
HostFileSystemStorageStrategy
public HostFileSystemStorageStrategy()
- Deprecated.
getResourceNameFromIndex
public 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 interface StorageStrategy- Overrides:
getResourceNameFromIndex in class IndexStorageStrategy
- Parameters:
resource - a CollectionResource object
- Returns:
- a
String object.
Copyright © 2011. All Rights Reserved.