@@ -13,8 +13,8 @@ public final class FrameCodecDecoder
13
13
{
14
14
private static final boolean ENABLE_BOUNDS_CHECKS = !Boolean .getBoolean ("agrona.disable.bounds.checks" );
15
15
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" ,
18
18
Boolean .toString (ENABLE_BOUNDS_CHECKS )));
19
19
20
20
/**
@@ -172,7 +172,7 @@ public FrameCodecDecoder wrap(
172
172
this .actingVersion = actingVersion ;
173
173
limit (offset + actingBlockLength );
174
174
175
- if (ENABLE_ACCESS_ORDER_CHECKS )
175
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
176
176
{
177
177
onWrap (actingVersion );
178
178
}
@@ -213,7 +213,7 @@ public int sbeDecodedLength()
213
213
final int decodedLength = encodedLength ();
214
214
limit (currentLimit );
215
215
216
- if (ENABLE_ACCESS_ORDER_CHECKS )
216
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
217
217
{
218
218
codecState (currentCodecState );
219
219
}
@@ -299,7 +299,7 @@ public static int irIdMaxValue()
299
299
300
300
public int irId ()
301
301
{
302
- if (ENABLE_ACCESS_ORDER_CHECKS )
302
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
303
303
{
304
304
onIrIdAccessed ();
305
305
}
@@ -366,7 +366,7 @@ public static int irVersionMaxValue()
366
366
367
367
public int irVersion ()
368
368
{
369
- if (ENABLE_ACCESS_ORDER_CHECKS )
369
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
370
370
{
371
371
onIrVersionAccessed ();
372
372
}
@@ -433,7 +433,7 @@ public static int schemaVersionMaxValue()
433
433
434
434
public int schemaVersion ()
435
435
{
436
- if (ENABLE_ACCESS_ORDER_CHECKS )
436
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
437
437
{
438
438
onSchemaVersionAccessed ();
439
439
}
@@ -504,7 +504,7 @@ private void onPackageNameAccessed()
504
504
505
505
public int packageNameLength ()
506
506
{
507
- if (ENABLE_ACCESS_ORDER_CHECKS )
507
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
508
508
{
509
509
onPackageNameLengthAccessed ();
510
510
}
@@ -515,7 +515,7 @@ public int packageNameLength()
515
515
516
516
public int skipPackageName ()
517
517
{
518
- if (ENABLE_ACCESS_ORDER_CHECKS )
518
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
519
519
{
520
520
onPackageNameAccessed ();
521
521
}
@@ -531,7 +531,7 @@ public int skipPackageName()
531
531
532
532
public int getPackageName (final MutableDirectBuffer dst , final int dstOffset , final int length )
533
533
{
534
- if (ENABLE_ACCESS_ORDER_CHECKS )
534
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
535
535
{
536
536
onPackageNameAccessed ();
537
537
}
@@ -548,7 +548,7 @@ public int getPackageName(final MutableDirectBuffer dst, final int dstOffset, fi
548
548
549
549
public int getPackageName (final byte [] dst , final int dstOffset , final int length )
550
550
{
551
- if (ENABLE_ACCESS_ORDER_CHECKS )
551
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
552
552
{
553
553
onPackageNameAccessed ();
554
554
}
@@ -565,7 +565,7 @@ public int getPackageName(final byte[] dst, final int dstOffset, final int lengt
565
565
566
566
public void wrapPackageName (final DirectBuffer wrapBuffer )
567
567
{
568
- if (ENABLE_ACCESS_ORDER_CHECKS )
568
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
569
569
{
570
570
onPackageNameAccessed ();
571
571
}
@@ -579,7 +579,7 @@ public void wrapPackageName(final DirectBuffer wrapBuffer)
579
579
580
580
public String packageName ()
581
581
{
582
- if (ENABLE_ACCESS_ORDER_CHECKS )
582
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
583
583
{
584
584
onPackageNameAccessed ();
585
585
}
@@ -662,7 +662,7 @@ private void onNamespaceNameAccessed()
662
662
663
663
public int namespaceNameLength ()
664
664
{
665
- if (ENABLE_ACCESS_ORDER_CHECKS )
665
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
666
666
{
667
667
onNamespaceNameLengthAccessed ();
668
668
}
@@ -673,7 +673,7 @@ public int namespaceNameLength()
673
673
674
674
public int skipNamespaceName ()
675
675
{
676
- if (ENABLE_ACCESS_ORDER_CHECKS )
676
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
677
677
{
678
678
onNamespaceNameAccessed ();
679
679
}
@@ -689,7 +689,7 @@ public int skipNamespaceName()
689
689
690
690
public int getNamespaceName (final MutableDirectBuffer dst , final int dstOffset , final int length )
691
691
{
692
- if (ENABLE_ACCESS_ORDER_CHECKS )
692
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
693
693
{
694
694
onNamespaceNameAccessed ();
695
695
}
@@ -706,7 +706,7 @@ public int getNamespaceName(final MutableDirectBuffer dst, final int dstOffset,
706
706
707
707
public int getNamespaceName (final byte [] dst , final int dstOffset , final int length )
708
708
{
709
- if (ENABLE_ACCESS_ORDER_CHECKS )
709
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
710
710
{
711
711
onNamespaceNameAccessed ();
712
712
}
@@ -723,7 +723,7 @@ public int getNamespaceName(final byte[] dst, final int dstOffset, final int len
723
723
724
724
public void wrapNamespaceName (final DirectBuffer wrapBuffer )
725
725
{
726
- if (ENABLE_ACCESS_ORDER_CHECKS )
726
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
727
727
{
728
728
onNamespaceNameAccessed ();
729
729
}
@@ -737,7 +737,7 @@ public void wrapNamespaceName(final DirectBuffer wrapBuffer)
737
737
738
738
public String namespaceName ()
739
739
{
740
- if (ENABLE_ACCESS_ORDER_CHECKS )
740
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
741
741
{
742
742
onNamespaceNameAccessed ();
743
743
}
@@ -820,7 +820,7 @@ private void onSemanticVersionAccessed()
820
820
821
821
public int semanticVersionLength ()
822
822
{
823
- if (ENABLE_ACCESS_ORDER_CHECKS )
823
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
824
824
{
825
825
onSemanticVersionLengthAccessed ();
826
826
}
@@ -831,7 +831,7 @@ public int semanticVersionLength()
831
831
832
832
public int skipSemanticVersion ()
833
833
{
834
- if (ENABLE_ACCESS_ORDER_CHECKS )
834
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
835
835
{
836
836
onSemanticVersionAccessed ();
837
837
}
@@ -847,7 +847,7 @@ public int skipSemanticVersion()
847
847
848
848
public int getSemanticVersion (final MutableDirectBuffer dst , final int dstOffset , final int length )
849
849
{
850
- if (ENABLE_ACCESS_ORDER_CHECKS )
850
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
851
851
{
852
852
onSemanticVersionAccessed ();
853
853
}
@@ -864,7 +864,7 @@ public int getSemanticVersion(final MutableDirectBuffer dst, final int dstOffset
864
864
865
865
public int getSemanticVersion (final byte [] dst , final int dstOffset , final int length )
866
866
{
867
- if (ENABLE_ACCESS_ORDER_CHECKS )
867
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
868
868
{
869
869
onSemanticVersionAccessed ();
870
870
}
@@ -881,7 +881,7 @@ public int getSemanticVersion(final byte[] dst, final int dstOffset, final int l
881
881
882
882
public void wrapSemanticVersion (final DirectBuffer wrapBuffer )
883
883
{
884
- if (ENABLE_ACCESS_ORDER_CHECKS )
884
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
885
885
{
886
886
onSemanticVersionAccessed ();
887
887
}
@@ -895,7 +895,7 @@ public void wrapSemanticVersion(final DirectBuffer wrapBuffer)
895
895
896
896
public String semanticVersion ()
897
897
{
898
- if (ENABLE_ACCESS_ORDER_CHECKS )
898
+ if (SBE_ENABLE_SEQUENCING_CHECKS )
899
899
{
900
900
onSemanticVersionAccessed ();
901
901
}
0 commit comments