-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VersionMinter interface must be public
- Loading branch information
1 parent
a1853e3
commit 93296e2
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,17 +17,18 @@ | |
*/ | ||
package com.netflix.hollow.api.producer; | ||
|
||
import com.netflix.hollow.api.producer.HollowProducer.VersionMinter; | ||
import java.text.SimpleDateFormat; | ||
import java.util.Date; | ||
import java.util.TimeZone; | ||
import java.util.concurrent.atomic.AtomicInteger; | ||
|
||
/** | ||
* Beta API subject to change. | ||
* A {@link VersionMinter}, which combines a timestamp with a repeating 3-digit sequence number | ||
* | ||
* @author Tim Taylor {@literal<[email protected]>} | ||
*/ | ||
class VersionMinterWithCounter implements HollowProducer.VersionMinter { | ||
public class VersionMinterWithCounter implements HollowProducer.VersionMinter { | ||
|
||
private static AtomicInteger versionCounter = new AtomicInteger(); | ||
|
||
|