接口 CodeFetcher

  • 所有已知实现类:
    AccessToken

    public interface CodeFetcher
    CodeFetcher is for accessing the code by the network and can be invalidate.
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      java.lang.String fetch()
      Fetch the code.
      void invalidate()
      Invalidate the code for getting the code from remote server.
    • 方法详细资料

      • fetch

        java.lang.String fetch()
                        throws NodeRPCException
        Fetch the code.
        返回:
        The code, MUST not be null.
        抛出:
        NodeRPCException - The exception shows the error returned by hive node.
      • invalidate

        void invalidate()
        Invalidate the code for getting the code from remote server.