public void setByteBuffer(ByteBuffer byteBuffer) { workerThread().setByteBuffer(byteBuffer); }
public void setByteBuffer(ByteBuffer byteBuffer) { workerThread().setByteBuffer(byteBuffer); }
((WorkerThread) Thread.currentThread()).setByteBuffer(null); } else { if (workerBufferRemaining < lastBufferRemaining) {
workerThread.setByteBuffer(byteBuffer);
workerThread.setByteBuffer(byteBuffer);
/** * Execute the request. When RCM is enabled, swicth the {@link ByteBuffer} * based on the decision made by a {@link ResourceAllocationFilter} * @param ctx * @throws java.lang.Exception */ @Override public void execute(Context ctx) throws Exception { if (rcmSupport) { ByteBuffer byteBuffer = (ByteBuffer) ctx.getAttribute(ResourceAllocationFilter.BYTE_BUFFER); // Switch ByteBuffer if (byteBuffer != null) { ((WorkerThread) Thread.currentThread()).setByteBuffer(byteBuffer); } if (!protocolFilters.isEmpty()) { int currentPosition = super.executeProtocolFilter(ctx); super.postExecuteProtocolFilter(currentPosition, ctx); } } else { super.execute(ctx); } }
workerThread.setByteBuffer(byteBuffer);
/** * Execute the request. When RCM is enabled, swicth the {@link ByteBuffer} * based on the decision made by a {@link ResourceAllocationFilter} * @param ctx * @throws java.lang.Exception */ @Override public void execute(Context ctx) throws Exception { if (rcmSupport) { ByteBuffer byteBuffer = (ByteBuffer) ctx.getAttribute(ResourceAllocationFilter.BYTE_BUFFER); // Switch ByteBuffer if (byteBuffer != null) { ((WorkerThread) Thread.currentThread()).setByteBuffer(byteBuffer); } if (protocolFilters.size() != 0) { int currentPosition = super.executeProtocolFilter(ctx); super.postExecuteProtocolFilter(currentPosition, ctx); } } else { super.execute(ctx); } }
byteBuffer = SSLUtils.unwrapAll(byteBuffer, inputBB, sslEngine); protocolRequest.setByteBuffer(byteBuffer); workerThread.setByteBuffer(byteBuffer); workerThread.setByteBuffer(byteBuffer);
workerThread.setInputBB(inputBB); workerThread.setOutputBB(outputBB); workerThread.setByteBuffer(byteBuffer);
workerThread.setByteBuffer(nBuf); } else { workerThread.setByteBuffer(ByteBufferFactory.allocateView(false));