Package org.opennms.protocols.vmware
Class ServiceInstancePool
- java.lang.Object
-
- org.opennms.protocols.vmware.ServiceInstancePool
-
public class ServiceInstancePool extends Object
-
-
Constructor Summary
Constructors Constructor Description ServiceInstancePool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.vmware.vim25.mo.ServiceInstancecreate(String hostname, String username, String password, int timeout)intlockedEntryCount()intlockedEntryCount(String key)voidrelease(com.vmware.vim25.mo.ServiceInstance serviceInstance)com.vmware.vim25.mo.ServiceInstanceretain(String host, String username, String password, int timeout)intunlockedEntryCount()intunlockedEntryCount(String key)protected booleanvalidate(com.vmware.vim25.mo.ServiceInstance serviceInstance)
-
-
-
Method Detail
-
validate
protected boolean validate(com.vmware.vim25.mo.ServiceInstance serviceInstance)
-
create
protected com.vmware.vim25.mo.ServiceInstance create(String hostname, String username, String password, int timeout) throws MalformedURLException, RemoteException
- Throws:
MalformedURLExceptionRemoteException
-
retain
public com.vmware.vim25.mo.ServiceInstance retain(String host, String username, String password, int timeout) throws MalformedURLException, RemoteException
- Throws:
MalformedURLExceptionRemoteException
-
release
public void release(com.vmware.vim25.mo.ServiceInstance serviceInstance)
-
lockedEntryCount
public int lockedEntryCount(String key)
-
unlockedEntryCount
public int unlockedEntryCount(String key)
-
lockedEntryCount
public int lockedEntryCount()
-
unlockedEntryCount
public int unlockedEntryCount()
-
-