File tree Expand file tree Collapse file tree
server/src/main/java/org/opensearch/index/engine Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -561,23 +561,23 @@ public Operation.TYPE getOperationType() {
561561 return operationType ;
562562 }
563563
564- void setTranslogLocation (Translog .Location translogLocation ) {
564+ public void setTranslogLocation (Translog .Location translogLocation ) {
565565 if (freeze .get () == null ) {
566566 this .translogLocation = translogLocation ;
567567 } else {
568568 throw new IllegalStateException ("result is already frozen" );
569569 }
570570 }
571571
572- void setTook (long took ) {
572+ public void setTook (long took ) {
573573 if (freeze .get () == null ) {
574574 this .took = took ;
575575 } else {
576576 throw new IllegalStateException ("result is already frozen" );
577577 }
578578 }
579579
580- void freeze () {
580+ public void freeze () {
581581 freeze .set (true );
582582 }
583583
You can’t perform that action at this time.
0 commit comments