FlushTransferer controls the shutdown of an instance in the ring. Methods on this interface are called when lifecycler is stopping. At that point, it no longer runs the "actor loop", but it keeps updating heartbeat in the ring. Ring entry is in LEAVING state.
| 5 | // At that point, it no longer runs the "actor loop", but it keeps updating heartbeat in the ring. |
| 6 | // Ring entry is in LEAVING state. |
| 7 | type FlushTransferer interface { |
| 8 | Flush() |
| 9 | } |
| 10 | |
| 11 | // NoopFlushTransferer is a FlushTransferer which does nothing and can |
| 12 | // be used in cases we don't need one |
no outgoing calls
no test coverage detected