Class ConnectableMultiConnection
- java.lang.Object
-
- io.smallrye.mutiny.operators.multi.multicast.ConnectableMultiConnection
-
- All Implemented Interfaces:
java.lang.Runnable
,java.util.function.Consumer<Cancellable>
public class ConnectableMultiConnection extends java.lang.Object implements java.lang.Runnable, java.util.function.Consumer<Cancellable>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Cancellable action)
void
cancel()
void
cancelTimerIf0()
long
getSubscriberCount()
boolean
isConnected()
void
run()
boolean
shouldConnectAfterIncrement(int toBeReached)
-
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
accept
public void accept(Cancellable action)
- Specified by:
accept
in interfacejava.util.function.Consumer<Cancellable>
-
shouldConnectAfterIncrement
public boolean shouldConnectAfterIncrement(int toBeReached)
-
getSubscriberCount
public long getSubscriberCount()
-
isConnected
public boolean isConnected()
-
cancelTimerIf0
public void cancelTimerIf0()
-
cancel
public void cancel()
-
-