Class ServiceInstancePoolEntry


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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void expire​(long ageInMilliseconds)  
      protected java.util.Map<com.vmware.vim25.mo.ServiceInstance,​java.lang.Long> getAccessTimestamp()  
      boolean isUnused()  
      int lockedEntryCount()  
      void release​(com.vmware.vim25.mo.ServiceInstance serviceInstance)  
      com.vmware.vim25.mo.ServiceInstance retain​(int timeout)  
      static void setTimeout​(com.vmware.vim25.mo.ServiceInstance serviceInstance, int timeout)  
      int unlockedEntryCount()  
      • Methods inherited from class java.lang.Object

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

      • ServiceInstancePoolEntry

        public ServiceInstancePoolEntry​(ServiceInstancePool serviceInstancePool,
                                        java.lang.String hostname,
                                        java.lang.String username,
                                        java.lang.String password)
    • Method Detail

      • retain

        public com.vmware.vim25.mo.ServiceInstance retain​(int timeout)
                                                   throws java.net.MalformedURLException,
                                                          java.rmi.RemoteException
        Throws:
        java.net.MalformedURLException
        java.rmi.RemoteException
      • setTimeout

        public static void setTimeout​(com.vmware.vim25.mo.ServiceInstance serviceInstance,
                                      int timeout)
      • expire

        public void expire​(long ageInMilliseconds)
      • isUnused

        public boolean isUnused()
      • release

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

        public int lockedEntryCount()
      • unlockedEntryCount

        public int unlockedEntryCount()
      • getAccessTimestamp

        protected java.util.Map<com.vmware.vim25.mo.ServiceInstance,​java.lang.Long> getAccessTimestamp()