Assert.assertHoldsLock(lock); final State oldState = this.state; if (log.isTraceEnabled()) { StackTraceElement caller = (new Exception()).getStackTrace()[1]; log.tracef("Transitioning %s from %s to %s (%s)", this, oldState, newState, caller);
if (Logs.REMOTING.isTraceEnabled()) { Logs.REMOTING.trace("Hints are disabled. Ignoring any CompressionHint on methods being invoked on view " + invocationContext.getViewClass()); invocationContext.putAttachment(AttachmentKeys.COMPRESS_RESPONSE, true); invocationContext.putAttachment(AttachmentKeys.RESPONSE_COMPRESSION_LEVEL, compressionLevel); if (Logs.REMOTING.isTraceEnabled()) { Logs.REMOTING.trace("Letting the server know that the response of method " + invocationContext.getInvokedMethod() + " has to be compressed with compression level = " + compressionLevel); if (Logs.REMOTING.isTraceEnabled()) { Logs.REMOTING.trace("Using a compressing stream with compression level = " + compressionLevel + " for request data for EJB invocation on method " + invocationContext.getInvokedMethod());
Assert.assertHoldsLock(lock); final State oldState = this.state; if (log.isTraceEnabled()) { StackTraceElement caller = (new Exception()).getStackTrace()[1]; log.tracef("Transitioning %s from %s to %s (%s)", this, oldState, newState, caller);
Assert.assertHoldsLock(lock); final State oldState = this.state; if (log.isTraceEnabled()) { StackTraceElement caller = (new Exception()).getStackTrace()[1]; log.tracef("Transitioning %s from %s to %s (%s)", this, oldState, newState, caller);
if (Logs.REMOTING.isTraceEnabled()) { Logs.REMOTING.trace("Hints are disabled. Ignoring any CompressionHint on methods being invoked on view " + invocationContext.getViewClass()); invocationContext.putAttachment(AttachmentKeys.COMPRESS_RESPONSE, true); invocationContext.putAttachment(AttachmentKeys.RESPONSE_COMPRESSION_LEVEL, compressionLevel); if (Logs.REMOTING.isTraceEnabled()) { Logs.REMOTING.trace("Letting the server know that the response of method " + invocationContext.getInvokedMethod() + " has to be compressed with compression level = " + compressionLevel); if (Logs.REMOTING.isTraceEnabled()) { Logs.REMOTING.trace("Using a compressing stream with compression level = " + compressionLevel + " for request data for EJB invocation on method " + invocationContext.getInvokedMethod());
if (Logs.REMOTING.isTraceEnabled()) { Logs.REMOTING.trace("Hints are disabled. Ignoring any CompressionHint on methods being invoked on view " + invocationContext.getViewClass()); invocationContext.putAttachment(AttachmentKeys.COMPRESS_RESPONSE, true); invocationContext.putAttachment(AttachmentKeys.RESPONSE_COMPRESSION_LEVEL, compressionLevel); if (Logs.REMOTING.isTraceEnabled()) { Logs.REMOTING.trace("Letting the server know that the response of method " + invocationContext.getInvokedMethod() + " has to be compressed with compression level = " + compressionLevel); if (Logs.REMOTING.isTraceEnabled()) { Logs.REMOTING.trace("Using a compressing stream with compression level = " + compressionLevel + " for request data for EJB invocation on method " + invocationContext.getInvokedMethod());