Class ReaperService

java.lang.Object
org.elasticsearch.gradle.ReaperService
All Implemented Interfaces:
AutoCloseable, org.gradle.api.services.BuildService<ReaperService.Params>

public abstract class ReaperService extends Object implements org.gradle.api.services.BuildService<ReaperService.Params>, AutoCloseable
  • Constructor Details

    • ReaperService

      public ReaperService()
  • Method Details

    • registerPid

      public void registerPid(String serviceId, long pid)
      Register a pid that will be killed by the reaper.
    • registerCommand

      public void registerCommand(String serviceId, String... command)
      Register a system command that will be run by the reaper.
    • unregister

      public void unregister(String serviceId)
    • close

      public void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception