/** * blocks until there is enough room for the requested fragment on the output ring. * if the fragment needs a template id it is written and the workingHeadPosition is set to the first field. * */ @Deprecated public static void blockWriteFragment(Pipe pipe, int messageTemplateLOC) { //caution does not have same behavior as tryWrite. //maximize code re-use and unify behavior of the writeFragment methods. Pipe.writeTrailingCountOfBytesConsumed(pipe, pipe.ringWalker.nextWorkingHead -1 ); StackStateWalker.blockWriteFragment0(pipe, messageTemplateLOC, Pipe.from(pipe), pipe.ringWalker); }
/** * blocks until there is enough room for the requested fragment on the output ring. * if the fragment needs a template id it is written and the workingHeadPosition is set to the first field. * */ @Deprecated public static void blockWriteFragment(Pipe pipe, int messageTemplateLOC) { //caution does not have same behavior as tryWrite. //maximize code re-use and unify behavior of the writeFragment methods. Pipe.writeTrailingCountOfBytesConsumed(pipe, pipe.ringWalker.nextWorkingHead -1 ); StackStateWalker.blockWriteFragment0(pipe, messageTemplateLOC, Pipe.from(pipe), pipe.ringWalker); }
/** * blocks until there is enough room for the requested fragment on the output ring. * if the fragment needs a template id it is written and the workingHeadPosition is set to the first field. * */ @Deprecated public static void blockWriteFragment(Pipe pipe, int messageTemplateLOC) { //caution does not have same behavior as tryWrite. //maximize code re-use and unify behavior of the writeFragment methods. Pipe.writeTrailingCountOfBytesConsumed(pipe, pipe.ringWalker.nextWorkingHead -1 ); StackStateWalker.blockWriteFragment0(pipe, messageTemplateLOC, Pipe.from(pipe), pipe.ringWalker); }