Interface Registerable
-
- All Known Implementing Classes:
EncodedGradientsAccumulator,FancyBlockingQueue
public interface Registerable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfallbackToSingleConsumerMode(boolean reallyFallback)This method enables/disables bypass modevoidregisterConsumers(int numConsumers)This method notifies producer about number of consumers for the current consumption cycle
-
-
-
Method Detail
-
registerConsumers
void registerConsumers(int numConsumers)
This method notifies producer about number of consumers for the current consumption cycle- Parameters:
numConsumers-
-
fallbackToSingleConsumerMode
void fallbackToSingleConsumerMode(boolean reallyFallback)
This method enables/disables bypass mode- Parameters:
reallyFallback-
-
-