public class ServiceInstancePool extends Object
Constructor and Description |
---|
ServiceInstancePool() |
Modifier and Type | Method and Description |
---|---|
protected com.vmware.vim25.mo.ServiceInstance |
create(String hostname,
String username,
String password,
int timeout) |
int |
lockedEntryCount() |
int |
lockedEntryCount(String key) |
void |
release(com.vmware.vim25.mo.ServiceInstance serviceInstance) |
com.vmware.vim25.mo.ServiceInstance |
retain(String host,
String username,
String password,
int timeout) |
int |
unlockedEntryCount() |
int |
unlockedEntryCount(String key) |
protected boolean |
validate(com.vmware.vim25.mo.ServiceInstance serviceInstance) |
protected boolean validate(com.vmware.vim25.mo.ServiceInstance serviceInstance)
protected com.vmware.vim25.mo.ServiceInstance create(String hostname, String username, String password, int timeout) throws MalformedURLException, RemoteException
MalformedURLException
RemoteException
public com.vmware.vim25.mo.ServiceInstance retain(String host, String username, String password, int timeout) throws MalformedURLException, RemoteException
MalformedURLException
RemoteException
public void release(com.vmware.vim25.mo.ServiceInstance serviceInstance)
public int lockedEntryCount(String key)
public int unlockedEntryCount(String key)
public int lockedEntryCount()
public int unlockedEntryCount()
Copyright © 2021. All rights reserved.