@@ -13,8 +13,8 @@ public final class FrameCodecDecoder
1313{
1414 private static final boolean ENABLE_BOUNDS_CHECKS = !Boolean .getBoolean ("agrona.disable.bounds.checks" );
1515
16- private static final boolean ENABLE_ACCESS_ORDER_CHECKS = Boolean .parseBoolean (System .getProperty (
17- "sbe.enable.access.order .checks" ,
16+ private static final boolean SBE_ENABLE_SEQUENCING_CHECKS = Boolean .parseBoolean (System .getProperty (
17+ "sbe.enable.sequencing .checks" ,
1818 Boolean .toString (ENABLE_BOUNDS_CHECKS )));
1919
2020 /**
@@ -172,7 +172,7 @@ public FrameCodecDecoder wrap(
172172 this .actingVersion = actingVersion ;
173173 limit (offset + actingBlockLength );
174174
175- if (ENABLE_ACCESS_ORDER_CHECKS )
175+ if (SBE_ENABLE_SEQUENCING_CHECKS )
176176 {
177177 onWrap (actingVersion );
178178 }
@@ -213,7 +213,7 @@ public int sbeDecodedLength()
213213 final int decodedLength = encodedLength ();
214214 limit (currentLimit );
215215
216- if (ENABLE_ACCESS_ORDER_CHECKS )
216+ if (SBE_ENABLE_SEQUENCING_CHECKS )
217217 {
218218 codecState (currentCodecState );
219219 }
@@ -299,7 +299,7 @@ public static int irIdMaxValue()
299299
300300 public int irId ()
301301 {
302- if (ENABLE_ACCESS_ORDER_CHECKS )
302+ if (SBE_ENABLE_SEQUENCING_CHECKS )
303303 {
304304 onIrIdAccessed ();
305305 }
@@ -366,7 +366,7 @@ public static int irVersionMaxValue()
366366
367367 public int irVersion ()
368368 {
369- if (ENABLE_ACCESS_ORDER_CHECKS )
369+ if (SBE_ENABLE_SEQUENCING_CHECKS )
370370 {
371371 onIrVersionAccessed ();
372372 }
@@ -433,7 +433,7 @@ public static int schemaVersionMaxValue()
433433
434434 public int schemaVersion ()
435435 {
436- if (ENABLE_ACCESS_ORDER_CHECKS )
436+ if (SBE_ENABLE_SEQUENCING_CHECKS )
437437 {
438438 onSchemaVersionAccessed ();
439439 }
@@ -504,7 +504,7 @@ private void onPackageNameAccessed()
504504
505505 public int packageNameLength ()
506506 {
507- if (ENABLE_ACCESS_ORDER_CHECKS )
507+ if (SBE_ENABLE_SEQUENCING_CHECKS )
508508 {
509509 onPackageNameLengthAccessed ();
510510 }
@@ -515,7 +515,7 @@ public int packageNameLength()
515515
516516 public int skipPackageName ()
517517 {
518- if (ENABLE_ACCESS_ORDER_CHECKS )
518+ if (SBE_ENABLE_SEQUENCING_CHECKS )
519519 {
520520 onPackageNameAccessed ();
521521 }
@@ -531,7 +531,7 @@ public int skipPackageName()
531531
532532 public int getPackageName (final MutableDirectBuffer dst , final int dstOffset , final int length )
533533 {
534- if (ENABLE_ACCESS_ORDER_CHECKS )
534+ if (SBE_ENABLE_SEQUENCING_CHECKS )
535535 {
536536 onPackageNameAccessed ();
537537 }
@@ -548,7 +548,7 @@ public int getPackageName(final MutableDirectBuffer dst, final int dstOffset, fi
548548
549549 public int getPackageName (final byte [] dst , final int dstOffset , final int length )
550550 {
551- if (ENABLE_ACCESS_ORDER_CHECKS )
551+ if (SBE_ENABLE_SEQUENCING_CHECKS )
552552 {
553553 onPackageNameAccessed ();
554554 }
@@ -565,7 +565,7 @@ public int getPackageName(final byte[] dst, final int dstOffset, final int lengt
565565
566566 public void wrapPackageName (final DirectBuffer wrapBuffer )
567567 {
568- if (ENABLE_ACCESS_ORDER_CHECKS )
568+ if (SBE_ENABLE_SEQUENCING_CHECKS )
569569 {
570570 onPackageNameAccessed ();
571571 }
@@ -579,7 +579,7 @@ public void wrapPackageName(final DirectBuffer wrapBuffer)
579579
580580 public String packageName ()
581581 {
582- if (ENABLE_ACCESS_ORDER_CHECKS )
582+ if (SBE_ENABLE_SEQUENCING_CHECKS )
583583 {
584584 onPackageNameAccessed ();
585585 }
@@ -662,7 +662,7 @@ private void onNamespaceNameAccessed()
662662
663663 public int namespaceNameLength ()
664664 {
665- if (ENABLE_ACCESS_ORDER_CHECKS )
665+ if (SBE_ENABLE_SEQUENCING_CHECKS )
666666 {
667667 onNamespaceNameLengthAccessed ();
668668 }
@@ -673,7 +673,7 @@ public int namespaceNameLength()
673673
674674 public int skipNamespaceName ()
675675 {
676- if (ENABLE_ACCESS_ORDER_CHECKS )
676+ if (SBE_ENABLE_SEQUENCING_CHECKS )
677677 {
678678 onNamespaceNameAccessed ();
679679 }
@@ -689,7 +689,7 @@ public int skipNamespaceName()
689689
690690 public int getNamespaceName (final MutableDirectBuffer dst , final int dstOffset , final int length )
691691 {
692- if (ENABLE_ACCESS_ORDER_CHECKS )
692+ if (SBE_ENABLE_SEQUENCING_CHECKS )
693693 {
694694 onNamespaceNameAccessed ();
695695 }
@@ -706,7 +706,7 @@ public int getNamespaceName(final MutableDirectBuffer dst, final int dstOffset,
706706
707707 public int getNamespaceName (final byte [] dst , final int dstOffset , final int length )
708708 {
709- if (ENABLE_ACCESS_ORDER_CHECKS )
709+ if (SBE_ENABLE_SEQUENCING_CHECKS )
710710 {
711711 onNamespaceNameAccessed ();
712712 }
@@ -723,7 +723,7 @@ public int getNamespaceName(final byte[] dst, final int dstOffset, final int len
723723
724724 public void wrapNamespaceName (final DirectBuffer wrapBuffer )
725725 {
726- if (ENABLE_ACCESS_ORDER_CHECKS )
726+ if (SBE_ENABLE_SEQUENCING_CHECKS )
727727 {
728728 onNamespaceNameAccessed ();
729729 }
@@ -737,7 +737,7 @@ public void wrapNamespaceName(final DirectBuffer wrapBuffer)
737737
738738 public String namespaceName ()
739739 {
740- if (ENABLE_ACCESS_ORDER_CHECKS )
740+ if (SBE_ENABLE_SEQUENCING_CHECKS )
741741 {
742742 onNamespaceNameAccessed ();
743743 }
@@ -820,7 +820,7 @@ private void onSemanticVersionAccessed()
820820
821821 public int semanticVersionLength ()
822822 {
823- if (ENABLE_ACCESS_ORDER_CHECKS )
823+ if (SBE_ENABLE_SEQUENCING_CHECKS )
824824 {
825825 onSemanticVersionLengthAccessed ();
826826 }
@@ -831,7 +831,7 @@ public int semanticVersionLength()
831831
832832 public int skipSemanticVersion ()
833833 {
834- if (ENABLE_ACCESS_ORDER_CHECKS )
834+ if (SBE_ENABLE_SEQUENCING_CHECKS )
835835 {
836836 onSemanticVersionAccessed ();
837837 }
@@ -847,7 +847,7 @@ public int skipSemanticVersion()
847847
848848 public int getSemanticVersion (final MutableDirectBuffer dst , final int dstOffset , final int length )
849849 {
850- if (ENABLE_ACCESS_ORDER_CHECKS )
850+ if (SBE_ENABLE_SEQUENCING_CHECKS )
851851 {
852852 onSemanticVersionAccessed ();
853853 }
@@ -864,7 +864,7 @@ public int getSemanticVersion(final MutableDirectBuffer dst, final int dstOffset
864864
865865 public int getSemanticVersion (final byte [] dst , final int dstOffset , final int length )
866866 {
867- if (ENABLE_ACCESS_ORDER_CHECKS )
867+ if (SBE_ENABLE_SEQUENCING_CHECKS )
868868 {
869869 onSemanticVersionAccessed ();
870870 }
@@ -881,7 +881,7 @@ public int getSemanticVersion(final byte[] dst, final int dstOffset, final int l
881881
882882 public void wrapSemanticVersion (final DirectBuffer wrapBuffer )
883883 {
884- if (ENABLE_ACCESS_ORDER_CHECKS )
884+ if (SBE_ENABLE_SEQUENCING_CHECKS )
885885 {
886886 onSemanticVersionAccessed ();
887887 }
@@ -895,7 +895,7 @@ public void wrapSemanticVersion(final DirectBuffer wrapBuffer)
895895
896896 public String semanticVersion ()
897897 {
898- if (ENABLE_ACCESS_ORDER_CHECKS )
898+ if (SBE_ENABLE_SEQUENCING_CHECKS )
899899 {
900900 onSemanticVersionAccessed ();
901901 }
0 commit comments