GenericRefreshProtocol (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.ipc, interface: GenericRefreshProtocol

Package org.apache.hadoop.ipc

# Interface GenericRefreshProtocol

All Known Implementing Classes:
  `GenericRefreshProtocolClientSideTranslatorPB`

@Private @Evolving public interface GenericRefreshProtocol
Protocol which is used to refresh arbitrary things at runtime.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final long`
  `versionID`
  Version 1: Initial version.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Collection<RefreshResponse>`
  `refresh(String identifier, String[] args)`
  Refresh the resource based on identity passed in.

- ## Field Details

  - ### versionID

    static final long versionID
    Version 1: Initial version.
    See Also:
      - Constant Field Values

- ## Method Details

  - ### refresh

    Collection<RefreshResponse> refresh(String identifier, String[] args) throws IOException
    Refresh the resource based on identity passed in.
    Parameters:
      `identifier` - input identifier.
      `args` - input args.
    Returns:
      Collection RefreshResponse.
    Throws:
      `IOException` - raised on errors performing I/O.