Package org.terracotta.angela.common.net
Interface Disruptor
-
- All Superinterfaces:
AutoCloseable
public interface Disruptor extends AutoCloseable
Base interface for all network disruptors(socket endpoint to endpoint or client to servers or servers to servers)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()voiddisrupt()shutdown traffic(partition)voidundisrupt()stop current disruption to restore back to original state
-
-
-
Method Detail
-
disrupt
void disrupt()
shutdown traffic(partition)
-
undisrupt
void undisrupt()
stop current disruption to restore back to original state
-
close
void close()
- Specified by:
closein interfaceAutoCloseable
-
-