Skip to content

Commit

Permalink
Make Sequencer public
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeb01 committed Apr 7, 2013
1 parent 9a6a66d commit a1bca35
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ Maintainer
Changelog
==========

## 3.0.0.beta5

- Make Sequencer public

## 3.0.0.beta4 Released (08-Apr-2013)

- Refactoring, merge Publisher back into Sequencer and some of the gating sequence repsonsibilities up to the sequencer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
*
* Suitable for use for sequencing across multiple publisher threads.
*/
final class MultiProducerSequencer extends AbstractSequencer
public final class MultiProducerSequencer extends AbstractSequencer
{
private static final Unsafe UNSAFE = Util.getUnsafe();
private static final long BASE = UNSAFE.arrayBaseOffset(int[].class);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/lmax/disruptor/Sequencer.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* Coordinates claiming sequences for access to a data structure while tracking dependent {@link Sequence}s
*/
interface Sequencer extends Cursored
public interface Sequencer extends Cursored
{
/** Set to -1 as sequence starting point */
public static final long INITIAL_CURSOR_VALUE = -1L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*
* Generally not safe for use from multiple threads as it does not implement any barriers.
*/
final class SingleProducerSequencer extends AbstractSequencer
public final class SingleProducerSequencer extends AbstractSequencer
{
@SuppressWarnings("unused")
private static class Padding
Expand Down

0 comments on commit a1bca35

Please sign in to comment.