public static class PipelineOptions.AtomicLongFactory extends java.lang.Object implements DefaultValueFactory<java.lang.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 |
|---|---|
java.lang.Long |
create(PipelineOptions options)
Creates a default value for a getter marked with
Default.InstanceFactory. |
public java.lang.Long create(PipelineOptions options)
DefaultValueFactoryDefault.InstanceFactory.create in interface DefaultValueFactory<java.lang.Long>options - The current pipeline options.