public CompletableFuture < Boolean > sealSegment ( final String scope , final String stream , final long segmentId , String delegationToken , final long clientRequestId ) { final Controller . NodeUri uri = getSegmentUri ( scope , stream , segmentId ) ; final String qualifiedName = getQualifiedStreamSegmentName ( scope , stream , segmentId ) ; final long requestId = ( clientRequestId == RequestTag . NON_EXISTENT_ID ) ? idGenerator . get ( ) : clientRequestId ; return sealSegment ( qualifiedName , uri , delegationToken , requestId ) ; }
This method sends segment sealed message for the specified segment .