org.opennms.netmgt.dao.support
Class HostFileSystemStorageStrategy

java.lang.Object
  extended by org.opennms.netmgt.dao.support.IndexStorageStrategy
      extended by 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"
 
Fields inherited from class org.opennms.netmgt.dao.support.IndexStorageStrategy
m_storageStrategyService
 
Constructor Summary
HostFileSystemStorageStrategy()
          Deprecated.  
 
Method Summary
 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.dao.support.IndexStorageStrategy
getRelativePathForAttribute, getResourceTypeName, log, setParameters, setResourceTypeName, setStorageStrategyService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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"

Constructor Detail

HostFileSystemStorageStrategy

public HostFileSystemStorageStrategy()
Deprecated. 
Method Detail

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.