Sha256: e1fde8743eaf7ed05433a1ec759d26967861cfa922f49d216af98bec2a9a6f2c
Contents?: true
Size: 628 Bytes
Versions: 2
Compression:
Stored size: 628 Bytes
Contents
package org.embulk.executor.remoteserver; import com.github.kamatama41.nsocket.Command; import com.github.kamatama41.nsocket.Connection; class NotifyTaskStateCommand implements Command<UpdateTaskStateData> { static final String ID = "notify_task_state"; private final SessionState sessionState; NotifyTaskStateCommand(SessionState sessionState) { this.sessionState = sessionState; } @Override public void execute(UpdateTaskStateData data, Connection connection) throws Exception { sessionState.update(data); } @Override public String getId() { return ID; } }
Version data entries
2 entries across 2 versions & 1 rubygems