Class EventProcessorOptions.StartOfStreamInitialPositionProvider
- java.lang.Object
-
- com.microsoft.azure.eventprocessorhost.EventProcessorOptions.StartOfStreamInitialPositionProvider
-
- All Implemented Interfaces:
Function<String,EventPosition>
- Enclosing class:
- EventProcessorOptions
public class EventProcessorOptions.StartOfStreamInitialPositionProvider extends Object implements Function<String,EventPosition>
A prefab initial position provider that starts from the first event available. How to use this initial position provider: setInitialPositionProvider(new EventProcessorOptions.StartOfStreamInitialPositionProvider());
-
-
Constructor Summary
Constructors Constructor Description StartOfStreamInitialPositionProvider()
-
-
-
Method Detail
-
apply
public EventPosition apply(String t)
- Specified by:
apply
in interfaceFunction<String,EventPosition>
-
-