Class ServiceInstancePool


  • public class ServiceInstancePool
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected com.vmware.vim25.mo.ServiceInstance create​(java.lang.String hostname, java.lang.String username, java.lang.String password, int timeout)  
      int lockedEntryCount()  
      int lockedEntryCount​(java.lang.String key)  
      void release​(com.vmware.vim25.mo.ServiceInstance serviceInstance)  
      com.vmware.vim25.mo.ServiceInstance retain​(java.lang.String host, java.lang.String username, java.lang.String password, int timeout)  
      int unlockedEntryCount()  
      int unlockedEntryCount​(java.lang.String key)  
      protected boolean validate​(com.vmware.vim25.mo.ServiceInstance serviceInstance)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServiceInstancePool

        public ServiceInstancePool()
    • Method Detail

      • validate

        protected boolean validate​(com.vmware.vim25.mo.ServiceInstance serviceInstance)
      • create

        protected com.vmware.vim25.mo.ServiceInstance create​(java.lang.String hostname,
                                                             java.lang.String username,
                                                             java.lang.String password,
                                                             int timeout)
                                                      throws java.net.MalformedURLException,
                                                             java.rmi.RemoteException
        Throws:
        java.net.MalformedURLException
        java.rmi.RemoteException
      • retain

        public com.vmware.vim25.mo.ServiceInstance retain​(java.lang.String host,
                                                          java.lang.String username,
                                                          java.lang.String password,
                                                          int timeout)
                                                   throws java.net.MalformedURLException,
                                                          java.rmi.RemoteException
        Throws:
        java.net.MalformedURLException
        java.rmi.RemoteException
      • release

        public void release​(com.vmware.vim25.mo.ServiceInstance serviceInstance)
      • lockedEntryCount

        public int lockedEntryCount​(java.lang.String key)
      • unlockedEntryCount

        public int unlockedEntryCount​(java.lang.String key)
      • lockedEntryCount

        public int lockedEntryCount()
      • unlockedEntryCount

        public int unlockedEntryCount()