Open Kilda Java Documentation
ICtrlBolt.java
Go to the documentation of this file.
1 package org.openkilda.wfm.ctrl;
2 
6 
7 import com.google.common.annotations.VisibleForTesting;
8 
9 import java.util.Optional;
10 
11 public interface ICtrlBolt extends IKildaBolt {
13 
14  String getCtrlStreamId();
15 
16  @VisibleForTesting
17  default void clearState() {
18  }
19 
21 
22  default Optional<AbstractDumpState> dumpResorceCacheState() {
23  return Optional.empty();
24  }
25 }
AbstractDumpState dumpState()
default Optional< AbstractDumpState > dumpResorceCacheState()
Definition: ICtrlBolt.java:22
AbstractDumpState dumpStateBySwitchId(SwitchId switchId)