Skip to content

Commit

Permalink
VersionMinter interface must be public
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoszewnik committed May 23, 2017
1 parent a1853e3 commit 93296e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ private void announce(HollowProducer.ReadState readState) {
}
}

static interface VersionMinter {
public static interface VersionMinter {
/**
* Create a new state version.<p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 93296e2

Please sign in to comment.