public static class PipelineOptions.AtomicLongFactory extends Object implements DefaultValueFactory<Long>
DefaultValueFactory which supplies an ID that is guaranteed to be unique
within the given process.| Constructor and Description |
|---|
AtomicLongFactory() |
| Modifier and Type | Method and Description |
|---|---|
Long |
create(PipelineOptions options)
Creates a default value for a getter marked with
Default.InstanceFactory. |
public Long create(PipelineOptions options)
DefaultValueFactoryDefault.InstanceFactory.create in interface DefaultValueFactory<Long>options - The current pipeline options.