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 voidaccept(Cancellable action)voidcancel()voidcancelTimerIf0()longgetSubscriberCount()booleanisConnected()voidrun()booleanshouldConnectAfterIncrement(int toBeReached)
-
-
-
Method Detail
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
accept
public void accept(Cancellable action)
- Specified by:
acceptin 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()
-
-