Package org.jclouds

Interface Context

    • Method Detail

      • getName

        String getName()
        Identifies the Context. This is a unique name optionally specified by the user and safe to index on. The purpose of this property is to provide means to distinct between multiple contexts, without having to check multiple properties or have explicit knowledge of how the context was created.
        Returns:
      • getIdentity

        String getIdentity()
        Returns:
        the current login user, access key, email, or whatever the 'identity' field was building the context.
        See Also:
        ApiMetadata#getDefaultIdentity
      • close

        void close()
        Closes all connections, including executor service
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable
      • isOpen

        boolean isOpen()
        Returns:
        true if context open