id
int32
0
165k
repo
stringlengths
7
58
path
stringlengths
12
218
func_name
stringlengths
3
140
original_string
stringlengths
73
34.1k
language
stringclasses
1 value
code
stringlengths
73
34.1k
code_tokens
list
docstring
stringlengths
3
16k
docstring_tokens
list
sha
stringlengths
40
40
url
stringlengths
105
339
67,300
OpenLiberty/open-liberty
dev/com.ibm.ws.microprofile.faulttolerance/src/com/ibm/ws/microprofile/faulttolerance/impl/TimeoutImpl.java
TimeoutImpl.debugTime
@Trivial private void debugTime(String message, long nanos) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { FTDebug.debugTime(tc, getDescriptor(), message, nanos); } }
java
@Trivial private void debugTime(String message, long nanos) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { FTDebug.debugTime(tc, getDescriptor(), message, nanos); } }
[ "@", "Trivial", "private", "void", "debugTime", "(", "String", "message", ",", "long", "nanos", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "FTDebug", ".", "debugTime",...
Output a debug message showing a given relative time, converted from nanos to seconds @param message @param nanos
[ "Output", "a", "debug", "message", "showing", "a", "given", "relative", "time", "converted", "from", "nanos", "to", "seconds" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.faulttolerance/src/com/ibm/ws/microprofile/faulttolerance/impl/TimeoutImpl.java#L307-L312
67,301
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.service/src/com/ibm/wsspi/kernel/service/utils/FilterUtils.java
FilterUtils.createPropertyFilter
public static String createPropertyFilter(String name, String value) { assert name.matches("[^=><~()]+"); StringBuilder builder = new StringBuilder(name.length() + 3 + (value == null ? 0 : value.length() * 2)); builder.append('(').append(name).append('='); int begin = 0; if (va...
java
public static String createPropertyFilter(String name, String value) { assert name.matches("[^=><~()]+"); StringBuilder builder = new StringBuilder(name.length() + 3 + (value == null ? 0 : value.length() * 2)); builder.append('(').append(name).append('='); int begin = 0; if (va...
[ "public", "static", "String", "createPropertyFilter", "(", "String", "name", ",", "String", "value", ")", "{", "assert", "name", ".", "matches", "(", "\"[^=><~()]+\"", ")", ";", "StringBuilder", "builder", "=", "new", "StringBuilder", "(", "name", ".", "length...
Creates a filter string that matches an attribute value exactly. Characters in the value with special meaning will be escaped. @param name a valid attribute name @param value the exact attribute value
[ "Creates", "a", "filter", "string", "that", "matches", "an", "attribute", "value", "exactly", ".", "Characters", "in", "the", "value", "with", "special", "meaning", "will", "be", "escaped", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.service/src/com/ibm/wsspi/kernel/service/utils/FilterUtils.java#L25-L44
67,302
OpenLiberty/open-liberty
dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/InstallUtils.java
InstallUtils.delete
public static void delete(final File f) { if (f != null && f.exists()) { // Why do we have to specify a return type for the run method and paramatize // PrivilegedExceptionAction to it, this method should have a void return type ideally. AccessController.doPrivileged(new Priv...
java
public static void delete(final File f) { if (f != null && f.exists()) { // Why do we have to specify a return type for the run method and paramatize // PrivilegedExceptionAction to it, this method should have a void return type ideally. AccessController.doPrivileged(new Priv...
[ "public", "static", "void", "delete", "(", "final", "File", "f", ")", "{", "if", "(", "f", "!=", "null", "&&", "f", ".", "exists", "(", ")", ")", "{", "// Why do we have to specify a return type for the run method and paramatize", "// PrivilegedExceptionAction to it, ...
Java 2 security APIs for deleteOnExit
[ "Java", "2", "security", "APIs", "for", "deleteOnExit" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/InstallUtils.java#L788-L805
67,303
OpenLiberty/open-liberty
dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/InstallUtils.java
InstallUtils.getFileIputStream
public static FileInputStream getFileIputStream(final File file) throws FileNotFoundException { try { return AccessController.doPrivileged( new PrivilegedExceptionAction<FileInputStream>() { @Overri...
java
public static FileInputStream getFileIputStream(final File file) throws FileNotFoundException { try { return AccessController.doPrivileged( new PrivilegedExceptionAction<FileInputStream>() { @Overri...
[ "public", "static", "FileInputStream", "getFileIputStream", "(", "final", "File", "file", ")", "throws", "FileNotFoundException", "{", "try", "{", "return", "AccessController", ".", "doPrivileged", "(", "new", "PrivilegedExceptionAction", "<", "FileInputStream", ">", ...
Java 2 security APIs for FileInputStream
[ "Java", "2", "security", "APIs", "for", "FileInputStream" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/InstallUtils.java#L808-L821
67,304
OpenLiberty/open-liberty
dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/InstallUtils.java
InstallUtils.getFileLength
public static long getFileLength(final File file) throws FileNotFoundException { try { return AccessController.doPrivileged( new PrivilegedExceptionAction<Long>() { @Override ...
java
public static long getFileLength(final File file) throws FileNotFoundException { try { return AccessController.doPrivileged( new PrivilegedExceptionAction<Long>() { @Override ...
[ "public", "static", "long", "getFileLength", "(", "final", "File", "file", ")", "throws", "FileNotFoundException", "{", "try", "{", "return", "AccessController", ".", "doPrivileged", "(", "new", "PrivilegedExceptionAction", "<", "Long", ">", "(", ")", "{", "@", ...
Java 2 security APIs for file length
[ "Java", "2", "security", "APIs", "for", "file", "length" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/InstallUtils.java#L824-L837
67,305
OpenLiberty/open-liberty
dev/com.ibm.ws.jndi.url.contexts/src/com/ibm/ws/jndi/url/contexts/javacolon/internal/JavaURLContextFactory.java
JavaURLContextFactory.createJavaURLContext
JavaURLContext createJavaURLContext(Hashtable<?, ?> envmt, Name name) { return new JavaURLContext(envmt, helperServices, name); }
java
JavaURLContext createJavaURLContext(Hashtable<?, ?> envmt, Name name) { return new JavaURLContext(envmt, helperServices, name); }
[ "JavaURLContext", "createJavaURLContext", "(", "Hashtable", "<", "?", ",", "?", ">", "envmt", ",", "Name", "name", ")", "{", "return", "new", "JavaURLContext", "(", "envmt", ",", "helperServices", ",", "name", ")", ";", "}" ]
This method should only be called by the JavaURLContextReplacer class for de-serializing an instance of JavaURLContext. The name parameter can be null.
[ "This", "method", "should", "only", "be", "called", "by", "the", "JavaURLContextReplacer", "class", "for", "de", "-", "serializing", "an", "instance", "of", "JavaURLContext", ".", "The", "name", "parameter", "can", "be", "null", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jndi.url.contexts/src/com/ibm/ws/jndi/url/contexts/javacolon/internal/JavaURLContextFactory.java#L103-L105
67,306
OpenLiberty/open-liberty
dev/com.ibm.ws.session/src/com/ibm/ws/session/SessionAffinityManager.java
SessionAffinityManager.encodeURL
public String encodeURL(HttpSession session, String url) { return encodeURL(session, null, url, null); }
java
public String encodeURL(HttpSession session, String url) { return encodeURL(session, null, url, null); }
[ "public", "String", "encodeURL", "(", "HttpSession", "session", ",", "String", "url", ")", "{", "return", "encodeURL", "(", "session", ",", "null", ",", "url", ",", "null", ")", ";", "}" ]
called from ConvergedHttpSession.encodeURL path
[ "called", "from", "ConvergedHttpSession", ".", "encodeURL", "path" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session/src/com/ibm/ws/session/SessionAffinityManager.java#L231-L233
67,307
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOSCBodyReadCallback.java
HttpOSCBodyReadCallback.complete
public void complete(VirtualConnection vc, TCPReadRequestContext rsc) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "complete() called: vc=" + vc); } HttpOutboundServiceContextImpl mySC = (HttpOutboundServiceContextImpl) vc.getStateMap().get(Callb...
java
public void complete(VirtualConnection vc, TCPReadRequestContext rsc) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "complete() called: vc=" + vc); } HttpOutboundServiceContextImpl mySC = (HttpOutboundServiceContextImpl) vc.getStateMap().get(Callb...
[ "public", "void", "complete", "(", "VirtualConnection", "vc", ",", "TCPReadRequestContext", "rsc", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "debug", "(", ...
Called by the channel below us when a read has finished. @param vc @param rsc
[ "Called", "by", "the", "channel", "below", "us", "when", "a", "read", "has", "finished", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOSCBodyReadCallback.java#L55-L62
67,308
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOSCBodyReadCallback.java
HttpOSCBodyReadCallback.error
public void error(VirtualConnection vc, TCPReadRequestContext rsc, IOException ioe) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "error() called: vc=" + vc + " ioe=" + ioe); } HttpOutboundServiceContextImpl mySC = (HttpOutboundServiceContextImpl) ...
java
public void error(VirtualConnection vc, TCPReadRequestContext rsc, IOException ioe) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "error() called: vc=" + vc + " ioe=" + ioe); } HttpOutboundServiceContextImpl mySC = (HttpOutboundServiceContextImpl) ...
[ "public", "void", "error", "(", "VirtualConnection", "vc", ",", "TCPReadRequestContext", "rsc", ",", "IOException", "ioe", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr...
Called by the channel below us when an error occurs during a read. @param vc @param rsc @param ioe
[ "Called", "by", "the", "channel", "below", "us", "when", "an", "error", "occurs", "during", "a", "read", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOSCBodyReadCallback.java#L71-L97
67,309
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.management.j2ee/src/com/ibm/ws/jca/management/j2ee/internal/MBeanHelper.java
MBeanHelper.logLoudAndClear
public static void logLoudAndClear(String textToLog, String callingClass, String callingMethod) { final String methodName = "logLoudAndClear"; final boolean trace = TraceComponent.isAnyTracingEnabled(); final String cClass = (callingClass != null && !callingClass.isEmpty()) ? callingClass : "cal...
java
public static void logLoudAndClear(String textToLog, String callingClass, String callingMethod) { final String methodName = "logLoudAndClear"; final boolean trace = TraceComponent.isAnyTracingEnabled(); final String cClass = (callingClass != null && !callingClass.isEmpty()) ? callingClass : "cal...
[ "public", "static", "void", "logLoudAndClear", "(", "String", "textToLog", ",", "String", "callingClass", ",", "String", "callingMethod", ")", "{", "final", "String", "methodName", "=", "\"logLoudAndClear\"", ";", "final", "boolean", "trace", "=", "TraceComponent", ...
logLoudAndClear Log the provided text in a very distinct way making it easy to find it in the trace.log This method should be used for testing and debugging proposes only. This method should not be used in shipped code. @param textToLog String representation of the test needed to be logged in a distinct way. @param ca...
[ "logLoudAndClear", "Log", "the", "provided", "text", "in", "a", "very", "distinct", "way", "making", "it", "easy", "to", "find", "it", "in", "the", "trace", ".", "log", "This", "method", "should", "be", "used", "for", "testing", "and", "debugging", "propos...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.management.j2ee/src/com/ibm/ws/jca/management/j2ee/internal/MBeanHelper.java#L105-L151
67,310
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java
JsMainImpl.createMessageEngine
private MessagingEngine createMessageEngine(JsMEConfig me) throws Exception { String thisMethodName = CLASS_NAME + ".createMessageEngine(JsMEConfig)"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, "replace ME name here"); } ...
java
private MessagingEngine createMessageEngine(JsMEConfig me) throws Exception { String thisMethodName = CLASS_NAME + ".createMessageEngine(JsMEConfig)"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, "replace ME name here"); } ...
[ "private", "MessagingEngine", "createMessageEngine", "(", "JsMEConfig", "me", ")", "throws", "Exception", "{", "String", "thisMethodName", "=", "CLASS_NAME", "+", "\".createMessageEngine(JsMEConfig)\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ...
Create a single Message Engine admin object using suppled config object.
[ "Create", "a", "single", "Message", "Engine", "admin", "object", "using", "suppled", "config", "object", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java#L472-L493
67,311
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java
JsMainImpl.getBusProxy
private JsBusImpl getBusProxy(JsMEConfig me) { String thisMethodName = CLASS_NAME + ".getBusProxy(ConfigObject)"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, "ME Name"); } if (TraceComponent.isAnyTracingEnabled() && tc...
java
private JsBusImpl getBusProxy(JsMEConfig me) { String thisMethodName = CLASS_NAME + ".getBusProxy(ConfigObject)"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, "ME Name"); } if (TraceComponent.isAnyTracingEnabled() && tc...
[ "private", "JsBusImpl", "getBusProxy", "(", "JsMEConfig", "me", ")", "{", "String", "thisMethodName", "=", "CLASS_NAME", "+", "\".getBusProxy(ConfigObject)\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled",...
Returns the runtime configuration of the bus to which the supplied messaging engine belongs. If the bus runtime configuration does not yet exist, it is created. In liberty this is default bus configuration @param me @return the runtime configuration of the bus to which the supplied messaging engine belongs.
[ "Returns", "the", "runtime", "configuration", "of", "the", "bus", "to", "which", "the", "supplied", "messaging", "engine", "belongs", ".", "If", "the", "bus", "runtime", "configuration", "does", "not", "yet", "exist", "it", "is", "created", ".", "In", "liber...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java#L504-L517
67,312
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java
JsMainImpl.getBusProxy
private JsBusImpl getBusProxy(String name) throws SIBExceptionBusNotFound { String thisMethodName = CLASS_NAME + ".getBusProxy(String)"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, name); } if (TraceComponent.isAnyTrac...
java
private JsBusImpl getBusProxy(String name) throws SIBExceptionBusNotFound { String thisMethodName = CLASS_NAME + ".getBusProxy(String)"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, name); } if (TraceComponent.isAnyTrac...
[ "private", "JsBusImpl", "getBusProxy", "(", "String", "name", ")", "throws", "SIBExceptionBusNotFound", "{", "String", "thisMethodName", "=", "CLASS_NAME", "+", "\".getBusProxy(String)\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", ...
Returns the runtime configuration of the bus to which the named messaging engine belongs. If the bus runtime configuration does not yet exist, it is created. @param name @return the runtime configuration of the bus to which the named messaging engine belongs.
[ "Returns", "the", "runtime", "configuration", "of", "the", "bus", "to", "which", "the", "named", "messaging", "engine", "belongs", ".", "If", "the", "bus", "runtime", "configuration", "does", "not", "yet", "exist", "it", "is", "created", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java#L528-L541
67,313
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java
JsMainImpl.getBus
public JsBus getBus(String busName) throws SIBExceptionBusNotFound { String thisMethodName = CLASS_NAME + ".getBus(String)"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, busName); } if (TraceComponent.isAnyTracingEnable...
java
public JsBus getBus(String busName) throws SIBExceptionBusNotFound { String thisMethodName = CLASS_NAME + ".getBus(String)"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, busName); } if (TraceComponent.isAnyTracingEnable...
[ "public", "JsBus", "getBus", "(", "String", "busName", ")", "throws", "SIBExceptionBusNotFound", "{", "String", "thisMethodName", "=", "CLASS_NAME", "+", "\".getBus(String)\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", "."...
Returns the runtime configuration of the named bus. For liberty is always default bus @param busName @return the runtime configuration of the named bus.
[ "Returns", "the", "runtime", "configuration", "of", "the", "named", "bus", ".", "For", "liberty", "is", "always", "default", "bus" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java#L550-L563
67,314
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java
JsMainImpl.getMessagingEngineSet
public Set getMessagingEngineSet(String busName) { String thisMethodName = CLASS_NAME + ".getMessagingEngineSet(String)"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, busName); } Set retSet = new HashSet(); if (m...
java
public Set getMessagingEngineSet(String busName) { String thisMethodName = CLASS_NAME + ".getMessagingEngineSet(String)"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, busName); } Set retSet = new HashSet(); if (m...
[ "public", "Set", "getMessagingEngineSet", "(", "String", "busName", ")", "{", "String", "thisMethodName", "=", "CLASS_NAME", "+", "\".getMessagingEngineSet(String)\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryE...
Returns the set of messaging engines on the named bus. @param busName @return the set of messaging engines on the named bus.
[ "Returns", "the", "set", "of", "messaging", "engines", "on", "the", "named", "bus", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java#L762-L782
67,315
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java
JsMainImpl.showMessagingEngines
public String[] showMessagingEngines() { String thisMethodName = CLASS_NAME + ".showMessagingEngines()"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, this); } final String[] list = new String[_messagingEngines.size()]; ...
java
public String[] showMessagingEngines() { String thisMethodName = CLASS_NAME + ".showMessagingEngines()"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, this); } final String[] list = new String[_messagingEngines.size()]; ...
[ "public", "String", "[", "]", "showMessagingEngines", "(", ")", "{", "String", "thisMethodName", "=", "CLASS_NAME", "+", "\".showMessagingEngines()\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ...
Return a readable string of messaging engines in the process @return String[]
[ "Return", "a", "readable", "string", "of", "messaging", "engines", "in", "the", "process" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java#L794-L818
67,316
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java
JsMainImpl.startMessagingEngine
public void startMessagingEngine(String busName, String name) throws Exception { String thisMethodName = CLASS_NAME + ".startMessagingEngine(String, String)"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(...
java
public void startMessagingEngine(String busName, String name) throws Exception { String thisMethodName = CLASS_NAME + ".startMessagingEngine(String, String)"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(...
[ "public", "void", "startMessagingEngine", "(", "String", "busName", ",", "String", "name", ")", "throws", "Exception", "{", "String", "thisMethodName", "=", "CLASS_NAME", "+", "\".startMessagingEngine(String, String)\"", ";", "if", "(", "TraceComponent", ".", "isAnyTr...
Start a messaging engine @param busName @param name
[ "Start", "a", "messaging", "engine" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java#L826-L851
67,317
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java
JsMainImpl.isServerStarted
public boolean isServerStarted() { String thisMethodName = CLASS_NAME + ".isServerStarted()"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, this); } if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { ...
java
public boolean isServerStarted() { String thisMethodName = CLASS_NAME + ".isServerStarted()"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, this); } if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { ...
[ "public", "boolean", "isServerStarted", "(", ")", "{", "String", "thisMethodName", "=", "CLASS_NAME", "+", "\".isServerStarted()\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", ...
Has the WAS server in which we are contained now started? @return true if the server is sterted; else false.
[ "Has", "the", "WAS", "server", "in", "which", "we", "are", "contained", "now", "started?" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java#L980-L993
67,318
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java
JsMainImpl.isServerStopping
public boolean isServerStopping() { String thisMethodName = CLASS_NAME + ".isServerStopping()"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, this); } if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { ...
java
public boolean isServerStopping() { String thisMethodName = CLASS_NAME + ".isServerStopping()"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, this); } if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { ...
[ "public", "boolean", "isServerStopping", "(", ")", "{", "String", "thisMethodName", "=", "CLASS_NAME", "+", "\".isServerStopping()\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", ...
Is the WAS server in which we are contained stopping? @return true if the server is stopping; else false.
[ "Is", "the", "WAS", "server", "in", "which", "we", "are", "contained", "stopping?" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java#L1000-L1013
67,319
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java
JsMainImpl.isServerInRecoveryMode
public boolean isServerInRecoveryMode() { String thisMethodName = CLASS_NAME + ".isServerInRecoveryMode()"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, this); } boolean ret = false;// (_serverMode == Server.RECOVERY_MO...
java
public boolean isServerInRecoveryMode() { String thisMethodName = CLASS_NAME + ".isServerInRecoveryMode()"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, this); } boolean ret = false;// (_serverMode == Server.RECOVERY_MO...
[ "public", "boolean", "isServerInRecoveryMode", "(", ")", "{", "String", "thisMethodName", "=", "CLASS_NAME", "+", "\".isServerInRecoveryMode()\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ...
250606.3 recovery mode support
[ "250606", ".", "3", "recovery", "mode", "support" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java#L1057-L1072
67,320
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java
JsMainImpl.listDefinedBuses
public List<String> listDefinedBuses() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "listDefinedBuses", this); } List buses = null; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.exit(tc, "listDef...
java
public List<String> listDefinedBuses() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "listDefinedBuses", this); } List buses = null; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.exit(tc, "listDef...
[ "public", "List", "<", "String", ">", "listDefinedBuses", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"listDefinedBuses\""...
Returns a list of configured buses in this cell. For liberty this method will return the null value, because no directory structure is maintained in liberty for a bus. @return String[] list of buses in cell
[ "Returns", "a", "list", "of", "configured", "buses", "in", "this", "cell", ".", "For", "liberty", "this", "method", "will", "return", "the", "null", "value", "because", "no", "directory", "structure", "is", "maintained", "in", "liberty", "for", "a", "bus", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainImpl.java#L1099-L1111
67,321
OpenLiberty/open-liberty
dev/com.ibm.ws.common.encoder/src/com/ibm/ws/common/internal/encoder/Base64Coder.java
Base64Coder.base64Decode
public static final String base64Decode(String str, String enc) throws UnsupportedEncodingException { if (str == null) { return null; } else { byte data[] = getBytes(str); return base64Decode(new String(data, enc)); } }
java
public static final String base64Decode(String str, String enc) throws UnsupportedEncodingException { if (str == null) { return null; } else { byte data[] = getBytes(str); return base64Decode(new String(data, enc)); } }
[ "public", "static", "final", "String", "base64Decode", "(", "String", "str", ",", "String", "enc", ")", "throws", "UnsupportedEncodingException", "{", "if", "(", "str", "==", "null", ")", "{", "return", "null", ";", "}", "else", "{", "byte", "data", "[", ...
Converts a String with the given encoding to a base64 encoded String. @param str @param enc @return @throws UnsupportedEncodingException
[ "Converts", "a", "String", "with", "the", "given", "encoding", "to", "a", "base64", "encoded", "String", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.common.encoder/src/com/ibm/ws/common/internal/encoder/Base64Coder.java#L265-L273
67,322
OpenLiberty/open-liberty
dev/com.ibm.ws.common.encoder/src/com/ibm/ws/common/internal/encoder/Base64Coder.java
Base64Coder.base64Decode
public static final String base64Decode(String str) { if (str == null) { return null; } else { byte data[] = getBytes(str); return toString(base64Decode(data)); } }
java
public static final String base64Decode(String str) { if (str == null) { return null; } else { byte data[] = getBytes(str); return toString(base64Decode(data)); } }
[ "public", "static", "final", "String", "base64Decode", "(", "String", "str", ")", "{", "if", "(", "str", "==", "null", ")", "{", "return", "null", ";", "}", "else", "{", "byte", "data", "[", "]", "=", "getBytes", "(", "str", ")", ";", "return", "to...
Converts a base64 encoded String to a decoded String. @param str String, may be {@code null}. @return base64 encoded String {@code null} if the str was null.
[ "Converts", "a", "base64", "encoded", "String", "to", "a", "decoded", "String", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.common.encoder/src/com/ibm/ws/common/internal/encoder/Base64Coder.java#L281-L288
67,323
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConsumerSession.java
SibRaConsumerSession.receiveNoWait
public SIBusMessage receiveNoWait(final SITransaction tran) throws SISessionDroppedException, SIConnectionDroppedException, SISessionUnavailableException, SIConnectionUnavailableException, SIConnectionLostException, SILimitExceededException, SINotAuthorizedException, SIRe...
java
public SIBusMessage receiveNoWait(final SITransaction tran) throws SISessionDroppedException, SIConnectionDroppedException, SISessionUnavailableException, SIConnectionUnavailableException, SIConnectionLostException, SILimitExceededException, SINotAuthorizedException, SIRe...
[ "public", "SIBusMessage", "receiveNoWait", "(", "final", "SITransaction", "tran", ")", "throws", "SISessionDroppedException", ",", "SIConnectionDroppedException", ",", "SISessionUnavailableException", ",", "SIConnectionUnavailableException", ",", "SIConnectionLostException", ",",...
Receives a message. Checks that the session is valid. Maps the transaction parameter before delegating. @param tran the transaction to receive the message under @return the message or <code>null</code> if none was available @throws SISessionUnavailableException if the connection is not valid @throws SIIncorrectCallEx...
[ "Receives", "a", "message", ".", "Checks", "that", "the", "session", "is", "valid", ".", "Maps", "the", "transaction", "parameter", "before", "delegating", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConsumerSession.java#L123-L145
67,324
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConsumerSession.java
SibRaConsumerSession.start
public void start(boolean deliverImmediately) throws SIConnectionDroppedException, SISessionUnavailableException, SIConnectionUnavailableException, SIConnectionLostException, SIResourceException, SIErrorException, SIErrorException { final String methodName = "start"; ...
java
public void start(boolean deliverImmediately) throws SIConnectionDroppedException, SISessionUnavailableException, SIConnectionUnavailableException, SIConnectionLostException, SIResourceException, SIErrorException, SIErrorException { final String methodName = "start"; ...
[ "public", "void", "start", "(", "boolean", "deliverImmediately", ")", "throws", "SIConnectionDroppedException", ",", "SISessionUnavailableException", ",", "SIConnectionUnavailableException", ",", "SIConnectionLostException", ",", "SIResourceException", ",", "SIErrorException", ...
Starts message delivery. Checks that the session is valid then delegates. @param deliverImmediately whether a thread should be spun off for message delivery @throws SIConnectionLostException if the delegation fails @throws SIErrorException if the delegation fails @throws SIErrorException if the delegation fails @throw...
[ "Starts", "message", "delivery", ".", "Checks", "that", "the", "session", "is", "valid", "then", "delegates", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConsumerSession.java#L222-L241
67,325
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConsumerSession.java
SibRaConsumerSession.stop
public void stop() throws SISessionDroppedException, SIConnectionDroppedException, SISessionUnavailableException, SIConnectionUnavailableException, SIConnectionLostException, SIResourceException, SIErrorException { final String methodName = "stop"; if (TraceComponent...
java
public void stop() throws SISessionDroppedException, SIConnectionDroppedException, SISessionUnavailableException, SIConnectionUnavailableException, SIConnectionLostException, SIResourceException, SIErrorException { final String methodName = "stop"; if (TraceComponent...
[ "public", "void", "stop", "(", ")", "throws", "SISessionDroppedException", ",", "SIConnectionDroppedException", ",", "SISessionUnavailableException", ",", "SIConnectionUnavailableException", ",", "SIConnectionLostException", ",", "SIResourceException", ",", "SIErrorException", ...
Stops message delivery. Checks that the session is valid then delegates. @throws SIErrorException if the delegation fails @throws SIResourceException if the delegation fails @throws SIConnectionLostException if the delegation fails @throws SISessionUnavailableException if the session is not valid @throws SIConnectionU...
[ "Stops", "message", "delivery", ".", "Checks", "that", "the", "session", "is", "valid", "then", "delegates", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConsumerSession.java#L261-L279
67,326
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConsumerSession.java
SibRaConsumerSession.unlockAll
@Override public void unlockAll(boolean incrementUnlockCount) throws SISessionUnavailableException, SISessionDroppedException, SIConnectionUnavailableException, SIConnectionDroppedException, SIResourceException, SIConnectionLostException, SIIncorrectCallException { throw new SibRaNotSupportedE...
java
@Override public void unlockAll(boolean incrementUnlockCount) throws SISessionUnavailableException, SISessionDroppedException, SIConnectionUnavailableException, SIConnectionDroppedException, SIResourceException, SIConnectionLostException, SIIncorrectCallException { throw new SibRaNotSupportedE...
[ "@", "Override", "public", "void", "unlockAll", "(", "boolean", "incrementUnlockCount", ")", "throws", "SISessionUnavailableException", ",", "SISessionDroppedException", ",", "SIConnectionUnavailableException", ",", "SIConnectionDroppedException", ",", "SIResourceException", ",...
Unlocking of messages is not supported. @throws SibRaNotSupportedException always
[ "Unlocking", "of", "messages", "is", "not", "supported", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConsumerSession.java#L472-L481
67,327
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientConversationState.java
ClientConversationState.setConnectionObjectID
public void setConnectionObjectID(int i) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setConnectionObjectID", ""+i); connectionObjectID = i; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "setConnectionObjectID");...
java
public void setConnectionObjectID(int i) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setConnectionObjectID", ""+i); connectionObjectID = i; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "setConnectionObjectID");...
[ "public", "void", "setConnectionObjectID", "(", "int", "i", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"setConnectionO...
Sets the Connection ID referring to the SIMPConnection Object on the server. @param i
[ "Sets", "the", "Connection", "ID", "referring", "to", "the", "SIMPConnection", "Object", "on", "the", "server", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientConversationState.java#L101-L108
67,328
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientConversationState.java
ClientConversationState.getProxyQueueConversationGroup
public ProxyQueueConversationGroup getProxyQueueConversationGroup() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getProxyQueueConversationGroup"); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "getProxyQueueConversationG...
java
public ProxyQueueConversationGroup getProxyQueueConversationGroup() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getProxyQueueConversationGroup"); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "getProxyQueueConversationG...
[ "public", "ProxyQueueConversationGroup", "getProxyQueueConversationGroup", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "...
Gets the proxy queue group associated with this conversation. @return ProxyQueueConversationGroup
[ "Gets", "the", "proxy", "queue", "group", "associated", "with", "this", "conversation", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientConversationState.java#L115-L120
67,329
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientConversationState.java
ClientConversationState.getCatConnectionListeners
public CatConnectionListenerGroup getCatConnectionListeners() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getCatConnectionListeners"); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "getCatConnectionListeners", catConnec...
java
public CatConnectionListenerGroup getCatConnectionListeners() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getCatConnectionListeners"); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "getCatConnectionListeners", catConnec...
[ "public", "CatConnectionListenerGroup", "getCatConnectionListeners", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getC...
Gets the connection listener group associated with thisconversation @return CatConnectionListenerGroup
[ "Gets", "the", "connection", "listener", "group", "associated", "with", "thisconversation" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientConversationState.java#L141-L146
67,330
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientConversationState.java
ClientConversationState.getSICoreConnection
public SICoreConnection getSICoreConnection() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getSICoreConnection"); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "getSICoreConnection", siCoreConnection); return siCor...
java
public SICoreConnection getSICoreConnection() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getSICoreConnection"); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "getSICoreConnection", siCoreConnection); return siCor...
[ "public", "SICoreConnection", "getSICoreConnection", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getSICoreConnection\...
Returns the SICoreConnection in use with this conversation @return SICoreConnection
[ "Returns", "the", "SICoreConnection", "in", "use", "with", "this", "conversation" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientConversationState.java#L153-L158
67,331
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/list/Link.java
Link.unlink
public final boolean unlink() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "unlink", _positionString()); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.debug(this, tc, "cursor count = " + _cursorCount); boolean unlinked = ...
java
public final boolean unlink() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "unlink", _positionString()); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.debug(this, tc, "cursor count = " + _cursorCount); boolean unlinked = ...
[ "public", "final", "boolean", "unlink", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"unlink\"", ",", "_positionS...
Request that the receiver be unlinked from the list. If the receiver is linked it will be marked as logically unlinked. Note that this will perform a logical unlink, which may result in a physical unlink
[ "Request", "that", "the", "receiver", "be", "unlinked", "from", "the", "list", ".", "If", "the", "receiver", "is", "linked", "it", "will", "be", "marked", "as", "logically", "unlinked", ".", "Note", "that", "this", "will", "perform", "a", "logical", "unlin...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/list/Link.java#L365-L392
67,332
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/extension/DefaultExtensionProcessor.java
DefaultExtensionProcessor.isRequestForbidden
private boolean isRequestForbidden(StringBuffer path) { boolean requestIsForbidden = false; String matchString = path.toString(); //PM82876 Start // The fileName or dirName can have .. , check and fail for ".." in path only which can allow to serve from different location. if(WCCustomProperties.ALLOW...
java
private boolean isRequestForbidden(StringBuffer path) { boolean requestIsForbidden = false; String matchString = path.toString(); //PM82876 Start // The fileName or dirName can have .. , check and fail for ".." in path only which can allow to serve from different location. if(WCCustomProperties.ALLOW...
[ "private", "boolean", "isRequestForbidden", "(", "StringBuffer", "path", ")", "{", "boolean", "requestIsForbidden", "=", "false", ";", "String", "matchString", "=", "path", ".", "toString", "(", ")", ";", "//PM82876 Start", "// The fileName or dirName can have .. , chec...
returns true if request is forbidden because it contains ".." etc.
[ "returns", "true", "if", "request", "is", "forbidden", "because", "it", "contains", "..", "etc", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/extension/DefaultExtensionProcessor.java#L1466-L1519
67,333
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/extension/DefaultExtensionProcessor.java
DefaultExtensionProcessor.isDirectoryTraverse
private boolean isDirectoryTraverse(StringBuffer path) { boolean directoryTraverse = false; String matchString = path.toString(); //PM82876 Start if (WCCustomProperties.ALLOW_DOTS_IN_NAME) { // The fileName can have .. , check for the failing conditions only. if (matchString.indexOf(".....
java
private boolean isDirectoryTraverse(StringBuffer path) { boolean directoryTraverse = false; String matchString = path.toString(); //PM82876 Start if (WCCustomProperties.ALLOW_DOTS_IN_NAME) { // The fileName can have .. , check for the failing conditions only. if (matchString.indexOf(".....
[ "private", "boolean", "isDirectoryTraverse", "(", "StringBuffer", "path", ")", "{", "boolean", "directoryTraverse", "=", "false", ";", "String", "matchString", "=", "path", ".", "toString", "(", ")", ";", "//PM82876 Start", "if", "(", "WCCustomProperties", ".", ...
542155 Add isDirectoryTraverse method - reduced version of isRequestForbidden
[ "542155", "Add", "isDirectoryTraverse", "method", "-", "reduced", "version", "of", "isRequestForbidden" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/extension/DefaultExtensionProcessor.java#L1522-L1561
67,334
OpenLiberty/open-liberty
dev/com.ibm.websphere.security/src/com/ibm/ws/security/filemonitor/SecurityFileMonitor.java
SecurityFileMonitor.monitorFiles
public ServiceRegistration<FileMonitor> monitorFiles(Collection<String> paths, long monitorInterval) { BundleContext bundleContext = actionable.getBundleContext(); final Hashtable<String, Object> fileMonitorProps = new Hashtable<String, Object>(); fileMonitorProps.put(FileMonitor.MONITOR_FILES, ...
java
public ServiceRegistration<FileMonitor> monitorFiles(Collection<String> paths, long monitorInterval) { BundleContext bundleContext = actionable.getBundleContext(); final Hashtable<String, Object> fileMonitorProps = new Hashtable<String, Object>(); fileMonitorProps.put(FileMonitor.MONITOR_FILES, ...
[ "public", "ServiceRegistration", "<", "FileMonitor", ">", "monitorFiles", "(", "Collection", "<", "String", ">", "paths", ",", "long", "monitorInterval", ")", "{", "BundleContext", "bundleContext", "=", "actionable", ".", "getBundleContext", "(", ")", ";", "final"...
Registers this file monitor to start monitoring the specified files at the specified interval. @param paths the paths of the files to monitor. @param monitorInterval the rate to monitor the files. @return the <code>FileMonitor</code> service registration.
[ "Registers", "this", "file", "monitor", "to", "start", "monitoring", "the", "specified", "files", "at", "the", "specified", "interval", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.security/src/com/ibm/ws/security/filemonitor/SecurityFileMonitor.java#L47-L53
67,335
OpenLiberty/open-liberty
dev/com.ibm.websphere.security/src/com/ibm/ws/security/filemonitor/SecurityFileMonitor.java
SecurityFileMonitor.monitorFiles
public ServiceRegistration<FileMonitor> monitorFiles(String ID, Collection<String> paths, long pollingRate, String trigger) { BundleContext bundleContext = actionable.getBundleContext(); final Hashtable<String, Object> fileMonitorProps = new Hashtable<String, Object>(); fileMonitorProps.put(File...
java
public ServiceRegistration<FileMonitor> monitorFiles(String ID, Collection<String> paths, long pollingRate, String trigger) { BundleContext bundleContext = actionable.getBundleContext(); final Hashtable<String, Object> fileMonitorProps = new Hashtable<String, Object>(); fileMonitorProps.put(File...
[ "public", "ServiceRegistration", "<", "FileMonitor", ">", "monitorFiles", "(", "String", "ID", ",", "Collection", "<", "String", ">", "paths", ",", "long", "pollingRate", ",", "String", "trigger", ")", "{", "BundleContext", "bundleContext", "=", "actionable", "....
Registers this file monitor to start monitoring the specified files either by mbean notification or polling rate. @param id of the config element @param paths the paths of the files to monitor. @param pollingRate the rate to pole he file for a change. @param trigger what trigger the file update notification mbean or p...
[ "Registers", "this", "file", "monitor", "to", "start", "monitoring", "the", "specified", "files", "either", "by", "mbean", "notification", "or", "polling", "rate", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.security/src/com/ibm/ws/security/filemonitor/SecurityFileMonitor.java#L65-L87
67,336
OpenLiberty/open-liberty
dev/com.ibm.websphere.security/src/com/ibm/ws/security/filemonitor/SecurityFileMonitor.java
SecurityFileMonitor.isActionNeeded
private Boolean isActionNeeded(Collection<File> createdFiles, Collection<File> modifiedFiles) { boolean actionNeeded = false; for (File createdFile : createdFiles) { if (currentlyDeletedFiles.contains(createdFile)) { currentlyDeletedFiles.remove(createdFile); ...
java
private Boolean isActionNeeded(Collection<File> createdFiles, Collection<File> modifiedFiles) { boolean actionNeeded = false; for (File createdFile : createdFiles) { if (currentlyDeletedFiles.contains(createdFile)) { currentlyDeletedFiles.remove(createdFile); ...
[ "private", "Boolean", "isActionNeeded", "(", "Collection", "<", "File", ">", "createdFiles", ",", "Collection", "<", "File", ">", "modifiedFiles", ")", "{", "boolean", "actionNeeded", "=", "false", ";", "for", "(", "File", "createdFile", ":", "createdFiles", "...
Action is needed if a file is modified or if it is recreated after it was deleted. @param modifiedFiles
[ "Action", "is", "needed", "if", "a", "file", "is", "modified", "or", "if", "it", "is", "recreated", "after", "it", "was", "deleted", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.security/src/com/ibm/ws/security/filemonitor/SecurityFileMonitor.java#L121-L135
67,337
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsQueue.java
JsQueue.getQueuedMessages
public QueuedMessage[] getQueuedMessages(java.lang.Integer fromIndexInteger,java.lang.Integer toIndexInteger,java.lang.Integer totalMessagesPerpageInteger) throws Exception { int fromIndex=fromIndexInteger.intValue(); int toIndex=toIndexInteger.intValue(); int totalMessagesPerpage=totalMessagesPerpageInteger.i...
java
public QueuedMessage[] getQueuedMessages(java.lang.Integer fromIndexInteger,java.lang.Integer toIndexInteger,java.lang.Integer totalMessagesPerpageInteger) throws Exception { int fromIndex=fromIndexInteger.intValue(); int toIndex=toIndexInteger.intValue(); int totalMessagesPerpage=totalMessagesPerpageInteger.i...
[ "public", "QueuedMessage", "[", "]", "getQueuedMessages", "(", "java", ".", "lang", ".", "Integer", "fromIndexInteger", ",", "java", ".", "lang", ".", "Integer", "toIndexInteger", ",", "java", ".", "lang", ".", "Integer", "totalMessagesPerpageInteger", ")", "thr...
673411 -start
[ "673411", "-", "start" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsQueue.java#L374-L406
67,338
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/util/cache/BackgroundLruEvictionStrategy.java
BackgroundLruEvictionStrategy.initializeCacheData
private void initializeCacheData(int cacheSize) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && (tc.isEntryEnabled() || tcOOM.isEntryEnabled())) Tr.entry(tc.isEntryEnabled() ? tc : tcOOM, "initializeCacheData : " + ivCache.getName()...
java
private void initializeCacheData(int cacheSize) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && (tc.isEntryEnabled() || tcOOM.isEntryEnabled())) Tr.entry(tc.isEntryEnabled() ? tc : tcOOM, "initializeCacheData : " + ivCache.getName()...
[ "private", "void", "initializeCacheData", "(", "int", "cacheSize", ")", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTraceOn", "&&", "(", "tc", ".", "isEntryEnabled", "(", ")", "||", "t...
Initialize various optimization values used by the eviction strategy that depend on the cache size. @param size the size of the cache used to set these values
[ "Initialize", "various", "optimization", "values", "used", "by", "the", "eviction", "strategy", "that", "depend", "on", "the", "cache", "size", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/util/cache/BackgroundLruEvictionStrategy.java#L267-L295
67,339
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/util/cache/BackgroundLruEvictionStrategy.java
BackgroundLruEvictionStrategy.initializeSweepInterval
private void initializeSweepInterval(long sweepInterval) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && (tc.isEntryEnabled() || tcOOM.isEntryEnabled())) Tr.entry(tc.isEntryEnabled() ? tc : tcOOM, "initializeSweepInterval : " + ivCa...
java
private void initializeSweepInterval(long sweepInterval) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && (tc.isEntryEnabled() || tcOOM.isEntryEnabled())) Tr.entry(tc.isEntryEnabled() ? tc : tcOOM, "initializeSweepInterval : " + ivCa...
[ "private", "void", "initializeSweepInterval", "(", "long", "sweepInterval", ")", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTraceOn", "&&", "(", "tc", ".", "isEntryEnabled", "(", ")", "...
Initialize all of the intervals that are derived from the configurable sweep interval. Can be called at any time during runtime. @param sweepInterval the interval between sweeps that this eviction strategy uses
[ "Initialize", "all", "of", "the", "intervals", "that", "are", "derived", "from", "the", "configurable", "sweep", "interval", ".", "Can", "be", "called", "at", "any", "time", "during", "runtime", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/util/cache/BackgroundLruEvictionStrategy.java#L304-L339
67,340
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/util/cache/BackgroundLruEvictionStrategy.java
BackgroundLruEvictionStrategy.isTraceEnabled
private boolean isTraceEnabled(boolean debug) // d581579 { if (debug ? tc.isDebugEnabled() : tc.isEntryEnabled()) { return true; } if (ivCache.numSweeps % NUM_SWEEPS_PER_OOMTRACE == 1 && (debug ? tcOOM.isDebugEnabled() : tcOOM.isEntryEnabled())) { ...
java
private boolean isTraceEnabled(boolean debug) // d581579 { if (debug ? tc.isDebugEnabled() : tc.isEntryEnabled()) { return true; } if (ivCache.numSweeps % NUM_SWEEPS_PER_OOMTRACE == 1 && (debug ? tcOOM.isDebugEnabled() : tcOOM.isEntryEnabled())) { ...
[ "private", "boolean", "isTraceEnabled", "(", "boolean", "debug", ")", "// d581579", "{", "if", "(", "debug", "?", "tc", ".", "isDebugEnabled", "(", ")", ":", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "return", "true", ";", "}", "if", "(", "ivCac...
Returns true if trace should be printed.
[ "Returns", "true", "if", "trace", "should", "be", "printed", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/util/cache/BackgroundLruEvictionStrategy.java#L378-L392
67,341
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/richclient/framework/impl/CFWIOBaseContext.java
CFWIOBaseContext.getNetworkConnectionInstance
protected NetworkConnection getNetworkConnectionInstance(VirtualConnection vc) { if (tc.isEntryEnabled()) SibTr.entry(this, tc, "getNetworkConnectionInstance", vc); NetworkConnection retConn = null; if (vc != null) { // Default to the connection that we were created from ...
java
protected NetworkConnection getNetworkConnectionInstance(VirtualConnection vc) { if (tc.isEntryEnabled()) SibTr.entry(this, tc, "getNetworkConnectionInstance", vc); NetworkConnection retConn = null; if (vc != null) { // Default to the connection that we were created from ...
[ "protected", "NetworkConnection", "getNetworkConnectionInstance", "(", "VirtualConnection", "vc", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getNetworkConnectionInstance\"", ",", "vc", ...
This method tries to avoid creating a new instance of a CFWNetworkConnection object by seeing if the specified virtual connection is the one that we are wrapping in the CFWNetworkConnection instance that created this context. If it is, we simply return that. Otherwise we must create a new instance. @param vc The virtu...
[ "This", "method", "tries", "to", "avoid", "creating", "a", "new", "instance", "of", "a", "CFWNetworkConnection", "object", "by", "seeing", "if", "the", "specified", "virtual", "connection", "is", "the", "one", "that", "we", "are", "wrapping", "in", "the", "C...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/richclient/framework/impl/CFWIOBaseContext.java#L63-L82
67,342
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/MessageMap.java
MessageMap.setChoices
private void setChoices(BigInteger multiChoice, JSchema schema) { JSType topType = (JSType)schema.getJMFType(); if (topType instanceof JSVariant) setChoices(multiChoice, schema, (JSVariant)topType); else if (topType instanceof JSTuple) setChoices( multiChoice, topType.getMultiCho...
java
private void setChoices(BigInteger multiChoice, JSchema schema) { JSType topType = (JSType)schema.getJMFType(); if (topType instanceof JSVariant) setChoices(multiChoice, schema, (JSVariant)topType); else if (topType instanceof JSTuple) setChoices( multiChoice, topType.getMultiCho...
[ "private", "void", "setChoices", "(", "BigInteger", "multiChoice", ",", "JSchema", "schema", ")", "{", "JSType", "topType", "=", "(", "JSType", ")", "schema", ".", "getJMFType", "(", ")", ";", "if", "(", "topType", "instanceof", "JSVariant", ")", "setChoices...
multichoice code.
[ "multichoice", "code", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/MessageMap.java#L106-L120
67,343
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/MessageMap.java
MessageMap.setChoices
private void setChoices(BigInteger multiChoice, JSchema schema, JSVariant var) { for (int i = 0; i < var.getCaseCount(); i++) { BigInteger count = ((JSType)var.getCase(i)).getMultiChoiceCount(); if (multiChoice.compareTo(count) >= 0) multiChoice = multiChoice.subtract(count); else { ...
java
private void setChoices(BigInteger multiChoice, JSchema schema, JSVariant var) { for (int i = 0; i < var.getCaseCount(); i++) { BigInteger count = ((JSType)var.getCase(i)).getMultiChoiceCount(); if (multiChoice.compareTo(count) >= 0) multiChoice = multiChoice.subtract(count); else { ...
[ "private", "void", "setChoices", "(", "BigInteger", "multiChoice", ",", "JSchema", "schema", ",", "JSVariant", "var", ")", "{", "for", "(", "int", "i", "=", "0", ";", "i", "<", "var", ".", "getCaseCount", "(", ")", ";", "i", "++", ")", "{", "BigInteg...
Set the choices implied by the multiChoice code or contribution to a single JSVariant
[ "Set", "the", "choices", "implied", "by", "the", "multiChoice", "code", "or", "contribution", "to", "a", "single", "JSVariant" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/MessageMap.java#L123-L139
67,344
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/MessageMap.java
MessageMap.setChoices
private void setChoices(BigInteger multiChoice, BigInteger radix, JSchema schema, JSVariant[] vars) { for (int j = 0; j < vars.length; j++) { radix = radix.divide(vars[j].getMultiChoiceCount()); BigInteger contrib = multiChoice.divide(radix); multiChoice = multiChoice.remainder(radix); setCh...
java
private void setChoices(BigInteger multiChoice, BigInteger radix, JSchema schema, JSVariant[] vars) { for (int j = 0; j < vars.length; j++) { radix = radix.divide(vars[j].getMultiChoiceCount()); BigInteger contrib = multiChoice.divide(radix); multiChoice = multiChoice.remainder(radix); setCh...
[ "private", "void", "setChoices", "(", "BigInteger", "multiChoice", ",", "BigInteger", "radix", ",", "JSchema", "schema", ",", "JSVariant", "[", "]", "vars", ")", "{", "for", "(", "int", "j", "=", "0", ";", "j", "<", "vars", ".", "length", ";", "j", "...
JSVariant whose choices are being set.
[ "JSVariant", "whose", "choices", "are", "being", "set", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/MessageMap.java#L144-L151
67,345
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/MessageMap.java
MessageMap.getMultiChoice
private static BigInteger getMultiChoice(int[] choices, JSchema schema, JSVariant var) throws JMFUninitializedAccessException { int choice = choices[var.getIndex()]; if (choice == -1) throw new JMFUninitializedAccessException(schema.getPathName(var)); BigInteger ans = BigInteger.ZERO; // First, ad...
java
private static BigInteger getMultiChoice(int[] choices, JSchema schema, JSVariant var) throws JMFUninitializedAccessException { int choice = choices[var.getIndex()]; if (choice == -1) throw new JMFUninitializedAccessException(schema.getPathName(var)); BigInteger ans = BigInteger.ZERO; // First, ad...
[ "private", "static", "BigInteger", "getMultiChoice", "(", "int", "[", "]", "choices", ",", "JSchema", "schema", ",", "JSVariant", "var", ")", "throws", "JMFUninitializedAccessException", "{", "int", "choice", "=", "choices", "[", "var", ".", "getIndex", "(", "...
Compute the multiChoice code or contribution for an individual variant
[ "Compute", "the", "multiChoice", "code", "or", "contribution", "for", "an", "individual", "variant" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/MessageMap.java#L194-L209
67,346
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/MessageMap.java
MessageMap.getMultiChoice
private static BigInteger getMultiChoice(int[] choices, JSchema schema, JSVariant[] vars) throws JMFUninitializedAccessException { // Mixed-radix-encode the contribution from all the subvariants BigInteger base = BigInteger.ZERO; for (int i = 0; i < vars.length; i++) base = base.multiply(vars[i].getMu...
java
private static BigInteger getMultiChoice(int[] choices, JSchema schema, JSVariant[] vars) throws JMFUninitializedAccessException { // Mixed-radix-encode the contribution from all the subvariants BigInteger base = BigInteger.ZERO; for (int i = 0; i < vars.length; i++) base = base.multiply(vars[i].getMu...
[ "private", "static", "BigInteger", "getMultiChoice", "(", "int", "[", "]", "choices", ",", "JSchema", "schema", ",", "JSVariant", "[", "]", "vars", ")", "throws", "JMFUninitializedAccessException", "{", "// Mixed-radix-encode the contribution from all the subvariants", "B...
being calculate.
[ "being", "calculate", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/MessageMap.java#L214-L220
67,347
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlLinkRendererBase.java
HtmlLinkRendererBase.getStyle
protected String getStyle(FacesContext facesContext, UIComponent link) { if (link instanceof HtmlCommandLink) { return ((HtmlCommandLink)link).getStyle(); } return (String)link.getAttributes().get(HTML.STYLE_ATTR); }
java
protected String getStyle(FacesContext facesContext, UIComponent link) { if (link instanceof HtmlCommandLink) { return ((HtmlCommandLink)link).getStyle(); } return (String)link.getAttributes().get(HTML.STYLE_ATTR); }
[ "protected", "String", "getStyle", "(", "FacesContext", "facesContext", ",", "UIComponent", "link", ")", "{", "if", "(", "link", "instanceof", "HtmlCommandLink", ")", "{", "return", "(", "(", "HtmlCommandLink", ")", "link", ")", ".", "getStyle", "(", ")", ";...
Can be overwritten by derived classes to overrule the style to be used.
[ "Can", "be", "overwritten", "by", "derived", "classes", "to", "overrule", "the", "style", "to", "be", "used", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlLinkRendererBase.java#L161-L170
67,348
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlLinkRendererBase.java
HtmlLinkRendererBase.getStyleClass
protected String getStyleClass(FacesContext facesContext, UIComponent link) { if (link instanceof HtmlCommandLink) { return ((HtmlCommandLink)link).getStyleClass(); } return (String)link.getAttributes().get(HTML.STYLE_CLASS_ATTR); }
java
protected String getStyleClass(FacesContext facesContext, UIComponent link) { if (link instanceof HtmlCommandLink) { return ((HtmlCommandLink)link).getStyleClass(); } return (String)link.getAttributes().get(HTML.STYLE_CLASS_ATTR); }
[ "protected", "String", "getStyleClass", "(", "FacesContext", "facesContext", ",", "UIComponent", "link", ")", "{", "if", "(", "link", "instanceof", "HtmlCommandLink", ")", "{", "return", "(", "(", "HtmlCommandLink", ")", "link", ")", ".", "getStyleClass", "(", ...
Can be overwritten by derived classes to overrule the style class to be used.
[ "Can", "be", "overwritten", "by", "derived", "classes", "to", "overrule", "the", "style", "class", "to", "be", "used", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlLinkRendererBase.java#L175-L184
67,349
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
H2StreamProcessor.completeConnectionPreface
protected void completeConnectionPreface() throws Http2Exception { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "completeConnectionPreface entry: about to send preface SETTINGS frame"); } FrameSettings settings; // send out a settings frame ...
java
protected void completeConnectionPreface() throws Http2Exception { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "completeConnectionPreface entry: about to send preface SETTINGS frame"); } FrameSettings settings; // send out a settings frame ...
[ "protected", "void", "completeConnectionPreface", "(", ")", "throws", "Http2Exception", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "debug", "(", "tc", ",", "\"comp...
Complete the connection preface. At this point, we should have received the client connection preface string. Now we need to make sure that the client sent a settings frame along with the preface, update our settings, and send an empty settings frame in response to the client preface. @throws Http2Exception
[ "Complete", "the", "connection", "preface", ".", "At", "this", "point", "we", "should", "have", "received", "the", "client", "connection", "preface", "string", ".", "Now", "we", "need", "to", "make", "sure", "that", "the", "client", "sent", "a", "settings", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java#L161-L181
67,350
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
H2StreamProcessor.readWriteTransitionState
private void readWriteTransitionState(Constants.Direction direction) throws Http2Exception { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "readWriteTransitionState: entry: frame type: " + currentFrame.getFrameType() + " state: " + state); } if (cu...
java
private void readWriteTransitionState(Constants.Direction direction) throws Http2Exception { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "readWriteTransitionState: entry: frame type: " + currentFrame.getFrameType() + " state: " + state); } if (cu...
[ "private", "void", "readWriteTransitionState", "(", "Constants", ".", "Direction", "direction", ")", "throws", "Http2Exception", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ...
Transitions the stream state, give the previous state and current frame. Handles writes and error processing as needed. @param Direction.WRITING_OUT or Direction.READING_IN @throws Http2Exception
[ "Transitions", "the", "stream", "state", "give", "the", "previous", "state", "and", "current", "frame", ".", "Handles", "writes", "and", "error", "processing", "as", "needed", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java#L549-L606
67,351
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
H2StreamProcessor.updateStreamState
private void updateStreamState(StreamState state) { this.state = state; if (StreamState.CLOSED.equals(state)) { setCloseTime(System.currentTimeMillis()); muxLink.closeStream(this); } if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr...
java
private void updateStreamState(StreamState state) { this.state = state; if (StreamState.CLOSED.equals(state)) { setCloseTime(System.currentTimeMillis()); muxLink.closeStream(this); } if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr...
[ "private", "void", "updateStreamState", "(", "StreamState", "state", ")", "{", "this", ".", "state", "=", "state", ";", "if", "(", "StreamState", ".", "CLOSED", ".", "equals", "(", "state", ")", ")", "{", "setCloseTime", "(", "System", ".", "currentTimeMil...
Update the stream state and provide logging, if enabled @param state
[ "Update", "the", "stream", "state", "and", "provide", "logging", "if", "enabled" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java#L613-L622
67,352
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
H2StreamProcessor.processSETTINGSFrame
private void processSETTINGSFrame() throws FlowControlException { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "processSETTINGSFrame entry:\n" + currentFrame.toString()); } // check if this is the first non-ACK settings frame received; if so, update...
java
private void processSETTINGSFrame() throws FlowControlException { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "processSETTINGSFrame entry:\n" + currentFrame.toString()); } // check if this is the first non-ACK settings frame received; if so, update...
[ "private", "void", "processSETTINGSFrame", "(", ")", "throws", "FlowControlException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "debug", "(", "tc", ",", "\"proce...
Helper method to process a SETTINGS frame received from the client. Since the protocol utilizes SETTINGS frames for initialization, some special logic is needed. @throws FlowControlException
[ "Helper", "method", "to", "process", "a", "SETTINGS", "frame", "received", "from", "the", "client", ".", "Since", "the", "protocol", "utilizes", "SETTINGS", "frames", "for", "initialization", "some", "special", "logic", "is", "needed", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java#L638-L694
67,353
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
H2StreamProcessor.updateStreamReadWindow
private void updateStreamReadWindow() throws Http2Exception { if (currentFrame instanceof FrameData) { long frameSize = currentFrame.getPayloadLength(); streamReadWindowSize -= frameSize; // decrement stream read window muxLink.connectionReadWindowSize -= frameSize; // decrem...
java
private void updateStreamReadWindow() throws Http2Exception { if (currentFrame instanceof FrameData) { long frameSize = currentFrame.getPayloadLength(); streamReadWindowSize -= frameSize; // decrement stream read window muxLink.connectionReadWindowSize -= frameSize; // decrem...
[ "private", "void", "updateStreamReadWindow", "(", ")", "throws", "Http2Exception", "{", "if", "(", "currentFrame", "instanceof", "FrameData", ")", "{", "long", "frameSize", "=", "currentFrame", ".", "getPayloadLength", "(", ")", ";", "streamReadWindowSize", "-=", ...
If this stream is receiving a DATA frame, the local read window needs to be updated. If the read window drops below a threshold, a WINDOW_UPDATE frame will be sent for both the connection and stream to update the windows.
[ "If", "this", "stream", "is", "receiving", "a", "DATA", "frame", "the", "local", "read", "window", "needs", "to", "be", "updated", ".", "If", "the", "read", "window", "drops", "below", "a", "threshold", "a", "WINDOW_UPDATE", "frame", "will", "be", "sent", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java#L756-L779
67,354
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
H2StreamProcessor.updateInitialWindowsUpdateSize
protected void updateInitialWindowsUpdateSize(int newSize) throws FlowControlException { // this method should only be called by the thread that came in on processNewFrame. // newSize should be treated as an unsigned 32-bit int if (myID == 0) { // the control stream doesn't care abo...
java
protected void updateInitialWindowsUpdateSize(int newSize) throws FlowControlException { // this method should only be called by the thread that came in on processNewFrame. // newSize should be treated as an unsigned 32-bit int if (myID == 0) { // the control stream doesn't care abo...
[ "protected", "void", "updateInitialWindowsUpdateSize", "(", "int", "newSize", ")", "throws", "FlowControlException", "{", "// this method should only be called by the thread that came in on processNewFrame.", "// newSize should be treated as an unsigned 32-bit int", "if", "(", "myID", ...
Updates the initial window size for this stream. If any data frames are waiting for an increased window size, write them out if the new window size allows it. @param newSize - new window size @throws FlowControlException
[ "Updates", "the", "initial", "window", "size", "for", "this", "stream", ".", "If", "any", "data", "frames", "are", "waiting", "for", "an", "increased", "window", "size", "write", "them", "out", "if", "the", "new", "window", "size", "allows", "it", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java#L801-L826
67,355
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
H2StreamProcessor.processIdle
private void processIdle(Constants.Direction direction) throws Http2Exception { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "processIdle entry: stream " + myID); } // Can only receive HEADERS or PRIORITY frame in Idle state if (direction ==...
java
private void processIdle(Constants.Direction direction) throws Http2Exception { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "processIdle entry: stream " + myID); } // Can only receive HEADERS or PRIORITY frame in Idle state if (direction ==...
[ "private", "void", "processIdle", "(", "Constants", ".", "Direction", "direction", ")", "throws", "Http2Exception", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "deb...
Perform operations to transition into IDLE state @param direction @throws CompressionException @throws FlowControlException @throws ProtocolException
[ "Perform", "operations", "to", "transition", "into", "IDLE", "state" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java#L928-L971
67,356
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
H2StreamProcessor.isWindowLimitExceeded
private boolean isWindowLimitExceeded(FrameData dataFrame) { if (streamWindowUpdateWriteLimit - dataFrame.getPayloadLength() < 0 || muxLink.getWorkQ().getConnectionWriteLimit() - dataFrame.getPayloadLength() < 0) { // would exceed window update limit String s = "Cannot write ...
java
private boolean isWindowLimitExceeded(FrameData dataFrame) { if (streamWindowUpdateWriteLimit - dataFrame.getPayloadLength() < 0 || muxLink.getWorkQ().getConnectionWriteLimit() - dataFrame.getPayloadLength() < 0) { // would exceed window update limit String s = "Cannot write ...
[ "private", "boolean", "isWindowLimitExceeded", "(", "FrameData", "dataFrame", ")", "{", "if", "(", "streamWindowUpdateWriteLimit", "-", "dataFrame", ".", "getPayloadLength", "(", ")", "<", "0", "||", "muxLink", ".", "getWorkQ", "(", ")", ".", "getConnectionWriteLi...
Check to see if a writing out a frame will cause the stream or connection window to go exceeded @return true if the write window would be exceeded by writing the frame
[ "Check", "to", "see", "if", "a", "writing", "out", "a", "frame", "will", "cause", "the", "stream", "or", "connection", "window", "to", "go", "exceeded" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java#L1120-L1135
67,357
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
H2StreamProcessor.sendRequestToWc
public void sendRequestToWc(FramePPHeaders frame) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "H2StreamProcessor.sendRequestToWc()"); } if (null == frame) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { ...
java
public void sendRequestToWc(FramePPHeaders frame) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "H2StreamProcessor.sendRequestToWc()"); } if (null == frame) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { ...
[ "public", "void", "sendRequestToWc", "(", "FramePPHeaders", "frame", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", "entry", "(", "tc", ",", "\"H2StreamProcessor....
Send an artificially created H2 request from a push_promise up to the WebContainer
[ "Send", "an", "artificially", "created", "H2", "request", "from", "a", "push_promise", "up", "to", "the", "WebContainer" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java#L1140-L1174
67,358
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
H2StreamProcessor.setHeadersComplete
private void setHeadersComplete() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "completed headers have been received stream " + myID); } headersCompleted = true; muxLink.setContinuationExpected(false); }
java
private void setHeadersComplete() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "completed headers have been received stream " + myID); } headersCompleted = true; muxLink.setContinuationExpected(false); }
[ "private", "void", "setHeadersComplete", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "debug", "(", "tc", ",", "\"completed headers have been received stream \...
Call when all header block fragments for a header block have been received
[ "Call", "when", "all", "header", "block", "fragments", "for", "a", "header", "block", "have", "been", "received" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java#L1348-L1354
67,359
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
H2StreamProcessor.getHeadersFromFrame
private void getHeadersFromFrame() { byte[] hbf = null; if (currentFrame.getFrameType() == FrameTypes.HEADERS || currentFrame.getFrameType() == FrameTypes.PUSHPROMISEHEADERS) { hbf = ((FrameHeaders) currentFrame).getHeaderBlockFragment(); } else if (currentFrame.getFrameType() == Fra...
java
private void getHeadersFromFrame() { byte[] hbf = null; if (currentFrame.getFrameType() == FrameTypes.HEADERS || currentFrame.getFrameType() == FrameTypes.PUSHPROMISEHEADERS) { hbf = ((FrameHeaders) currentFrame).getHeaderBlockFragment(); } else if (currentFrame.getFrameType() == Fra...
[ "private", "void", "getHeadersFromFrame", "(", ")", "{", "byte", "[", "]", "hbf", "=", "null", ";", "if", "(", "currentFrame", ".", "getFrameType", "(", ")", "==", "FrameTypes", ".", "HEADERS", "||", "currentFrame", ".", "getFrameType", "(", ")", "==", "...
Appends the header block fragment in the current header frame to this stream's incomplete header block
[ "Appends", "the", "header", "block", "fragment", "in", "the", "current", "header", "frame", "to", "this", "stream", "s", "incomplete", "header", "block" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java#L1372-L1386
67,360
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
H2StreamProcessor.getBodyFromFrame
private void getBodyFromFrame() { if (dataPayload == null) { dataPayload = new ArrayList<byte[]>(); } if (currentFrame.getFrameType() == FrameTypes.DATA) { dataPayload.add(((FrameData) currentFrame).getData()); } }
java
private void getBodyFromFrame() { if (dataPayload == null) { dataPayload = new ArrayList<byte[]>(); } if (currentFrame.getFrameType() == FrameTypes.DATA) { dataPayload.add(((FrameData) currentFrame).getData()); } }
[ "private", "void", "getBodyFromFrame", "(", ")", "{", "if", "(", "dataPayload", "==", "null", ")", "{", "dataPayload", "=", "new", "ArrayList", "<", "byte", "[", "]", ">", "(", ")", ";", "}", "if", "(", "currentFrame", ".", "getFrameType", "(", ")", ...
Grab the data from the current frame
[ "Grab", "the", "data", "from", "the", "current", "frame" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java#L1523-L1530
67,361
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
H2StreamProcessor.processCompleteData
private void processCompleteData() throws ProtocolException { WsByteBufferPoolManager bufManager = HttpDispatcher.getBufferManager(); WsByteBuffer buf = bufManager.allocate(getByteCount(dataPayload)); for (byte[] bytes : dataPayload) { buf.put(bytes); } buf.flip(); ...
java
private void processCompleteData() throws ProtocolException { WsByteBufferPoolManager bufManager = HttpDispatcher.getBufferManager(); WsByteBuffer buf = bufManager.allocate(getByteCount(dataPayload)); for (byte[] bytes : dataPayload) { buf.put(bytes); } buf.flip(); ...
[ "private", "void", "processCompleteData", "(", ")", "throws", "ProtocolException", "{", "WsByteBufferPoolManager", "bufManager", "=", "HttpDispatcher", ".", "getBufferManager", "(", ")", ";", "WsByteBuffer", "buf", "=", "bufManager", ".", "allocate", "(", "getByteCoun...
Put the data payload for this stream into the read buffer that will be passed to the webcontainer. This should only be called when this stream has received an end of stream flag. @throws ProtocolException
[ "Put", "the", "data", "payload", "for", "this", "stream", "into", "the", "read", "buffer", "that", "will", "be", "passed", "to", "the", "webcontainer", ".", "This", "should", "only", "be", "called", "when", "this", "stream", "has", "received", "an", "end",...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java#L1538-L1555
67,362
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
H2StreamProcessor.setReadyForRead
private void setReadyForRead() throws ProtocolException { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "setReadyForRead entry: stream id:" + myID); } muxLink.updateHighestStreamId(myID); if (headersCompleted) { ExecutorService ex...
java
private void setReadyForRead() throws ProtocolException { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "setReadyForRead entry: stream id:" + myID); } muxLink.updateHighestStreamId(myID); if (headersCompleted) { ExecutorService ex...
[ "private", "void", "setReadyForRead", "(", ")", "throws", "ProtocolException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "debug", "(", "tc", ",", "\"setReadyForRe...
Tell the HTTP inbound link that we have data ready for it to read @throws ProtocolException
[ "Tell", "the", "HTTP", "inbound", "link", "that", "we", "have", "data", "ready", "for", "it", "to", "read" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java#L1562-L1572
67,363
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
H2StreamProcessor.moveDataIntoReadBufferArray
private void moveDataIntoReadBufferArray(WsByteBuffer newReadBuffer) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "moveDataIntoReadBufferArray entry: stream " + myID + " buffer: " + newReadBuffer); } // move the data that is to be sent up the cha...
java
private void moveDataIntoReadBufferArray(WsByteBuffer newReadBuffer) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "moveDataIntoReadBufferArray entry: stream " + myID + " buffer: " + newReadBuffer); } // move the data that is to be sent up the cha...
[ "private", "void", "moveDataIntoReadBufferArray", "(", "WsByteBuffer", "newReadBuffer", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "debug", "(", "tc", ",", "\...
Add a buffer to the list of buffers that will be sent to the WebContainer when a read is requested @param newReadBuffer
[ "Add", "a", "buffer", "to", "the", "list", "of", "buffers", "that", "will", "be", "sent", "to", "the", "WebContainer", "when", "a", "read", "is", "requested" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java#L1611-L1625
67,364
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
H2StreamProcessor.read
@SuppressWarnings("unchecked") public VirtualConnection read(long numBytes, WsByteBuffer[] requestBuffers) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "read entry: stream " + myID + " request: " + requestBuffers + " num bytes requested: " + numBytes); ...
java
@SuppressWarnings("unchecked") public VirtualConnection read(long numBytes, WsByteBuffer[] requestBuffers) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "read entry: stream " + myID + " request: " + requestBuffers + " num bytes requested: " + numBytes); ...
[ "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "public", "VirtualConnection", "read", "(", "long", "numBytes", ",", "WsByteBuffer", "[", "]", "requestBuffers", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "...
Read the HTTP header and data bytes for this stream @param numBytes the number of bytes to read @param requestBuffers an array of buffers to copy the read data into @return this stream's VirtualConnection or null if too many bytes were requested
[ "Read", "the", "HTTP", "header", "and", "data", "bytes", "for", "this", "stream" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java#L1634-L1694
67,365
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
H2StreamProcessor.isStreamClosed
public boolean isStreamClosed() { if (this.myID == 0 && !endStream) { return false; } if (state == StreamState.CLOSED) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "isStreamClosed stream closed; " + streamId()); ...
java
public boolean isStreamClosed() { if (this.myID == 0 && !endStream) { return false; } if (state == StreamState.CLOSED) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "isStreamClosed stream closed; " + streamId()); ...
[ "public", "boolean", "isStreamClosed", "(", ")", "{", "if", "(", "this", ".", "myID", "==", "0", "&&", "!", "endStream", ")", "{", "return", "false", ";", "}", "if", "(", "state", "==", "StreamState", ".", "CLOSED", ")", "{", "if", "(", "TraceCompone...
Check if the current stream should be closed @return true if the stream should stop processing
[ "Check", "if", "the", "current", "stream", "should", "be", "closed" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java#L1836-L1857
67,366
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java
H2StreamProcessor.getByteCount
private int getByteCount(ArrayList<byte[]> listOfByteArrays) { int count = 0; for (byte[] byteArray : listOfByteArrays) { if (byteArray != null) { count += byteArray.length; } } return count; }
java
private int getByteCount(ArrayList<byte[]> listOfByteArrays) { int count = 0; for (byte[] byteArray : listOfByteArrays) { if (byteArray != null) { count += byteArray.length; } } return count; }
[ "private", "int", "getByteCount", "(", "ArrayList", "<", "byte", "[", "]", ">", "listOfByteArrays", ")", "{", "int", "count", "=", "0", ";", "for", "(", "byte", "[", "]", "byteArray", ":", "listOfByteArrays", ")", "{", "if", "(", "byteArray", "!=", "nu...
Get the number of bytes in this list of byte arrays @param listOfByteArrays @return the total byte count for this list of byte arrays
[ "Get", "the", "number", "of", "bytes", "in", "this", "list", "of", "byte", "arrays" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2StreamProcessor.java#L1917-L1925
67,367
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/util/UniqueIDUtils.java
UniqueIDUtils.generateIncUuid
public static String generateIncUuid(Object caller) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "generateIncUuid", "Caller="+caller); java.util.Date time = new java.util.Date(); int hash = caller.hashCode(); long millis = time.getTime(); ...
java
public static String generateIncUuid(Object caller) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "generateIncUuid", "Caller="+caller); java.util.Date time = new java.util.Date(); int hash = caller.hashCode(); long millis = time.getTime(); ...
[ "public", "static", "String", "generateIncUuid", "(", "Object", "caller", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"generateIncUuid...
The UUID for this incarnation of ME is generated using the hashcode of this object and the least significant four bytes of the current time in milliseconds. @param caller The calling object used in the generation of the incarnation UUID @return The generated incarnation UUID
[ "The", "UUID", "for", "this", "incarnation", "of", "ME", "is", "generated", "using", "the", "hashcode", "of", "this", "object", "and", "the", "least", "significant", "four", "bytes", "of", "the", "current", "time", "in", "milliseconds", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/util/UniqueIDUtils.java#L34-L63
67,368
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.utils/src/com/ibm/ws/sib/utils/ras/SibTr.java
SibTr.getMEName
public static String getMEName(Object o) { String meName; if (!threadLocalStack.isEmpty()) { meName = threadLocalStack.peek(); } else { meName = DEFAULT_ME_NAME; } String str = ""; if (o != null) { str = "/" + Integer.toHexString(System.identityHashCode(o)); } // D...
java
public static String getMEName(Object o) { String meName; if (!threadLocalStack.isEmpty()) { meName = threadLocalStack.peek(); } else { meName = DEFAULT_ME_NAME; } String str = ""; if (o != null) { str = "/" + Integer.toHexString(System.identityHashCode(o)); } // D...
[ "public", "static", "String", "getMEName", "(", "Object", "o", ")", "{", "String", "meName", ";", "if", "(", "!", "threadLocalStack", ".", "isEmpty", "(", ")", ")", "{", "meName", "=", "threadLocalStack", ".", "peek", "(", ")", ";", "}", "else", "{", ...
Get Jetstream ME name to be printed in trace message @param o The object whose identityHashCode should also be appended @return the Name of messaging engine if set, default name otherwise
[ "Get", "Jetstream", "ME", "name", "to", "be", "printed", "in", "trace", "message" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.utils/src/com/ibm/ws/sib/utils/ras/SibTr.java#L331-L347
67,369
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jmsra/impl/JmsJcaConnectionRequestInfo.java
JmsJcaConnectionRequestInfo.setSICoreConnection
void setSICoreConnection(final SICoreConnection connection) { if (TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, "setSICoreConnection", connection); } _coreConnection = connection; if (TRACE.isEntryEnabled()) { SibTr.exit(this, TRACE, "setSICoreConnection")...
java
void setSICoreConnection(final SICoreConnection connection) { if (TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, "setSICoreConnection", connection); } _coreConnection = connection; if (TRACE.isEntryEnabled()) { SibTr.exit(this, TRACE, "setSICoreConnection")...
[ "void", "setSICoreConnection", "(", "final", "SICoreConnection", "connection", ")", "{", "if", "(", "TRACE", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "this", ",", "TRACE", ",", "\"setSICoreConnection\"", ",", "connection", ")", ...
Sets the connection that was created as a result of this request. @param connection the connection
[ "Sets", "the", "connection", "that", "was", "created", "as", "a", "result", "of", "this", "request", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jmsra/impl/JmsJcaConnectionRequestInfo.java#L191-L203
67,370
OpenLiberty/open-liberty
dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/cache/internal/ZipFileHandleImpl.java
ZipFileHandleImpl.open
@Override @Trivial public ZipFile open() throws IOException { String methodName = "open"; synchronized( zipFileLock ) { if ( zipFile == null ) { debug(methodName, "Opening"); if ( zipFileReaper == null ) { zipFile = ZipFileUtils.op...
java
@Override @Trivial public ZipFile open() throws IOException { String methodName = "open"; synchronized( zipFileLock ) { if ( zipFile == null ) { debug(methodName, "Opening"); if ( zipFileReaper == null ) { zipFile = ZipFileUtils.op...
[ "@", "Override", "@", "Trivial", "public", "ZipFile", "open", "(", ")", "throws", "IOException", "{", "String", "methodName", "=", "\"open\"", ";", "synchronized", "(", "zipFileLock", ")", "{", "if", "(", "zipFile", "==", "null", ")", "{", "debug", "(", ...
Open the zip file. Create and assign the zip file if this is the first open. Increase the open count by one. If this is the first open and the zip file could not be created, the open count is not increased. @return The zip file.
[ "Open", "the", "zip", "file", ".", "Create", "and", "assign", "the", "zip", "file", "if", "this", "is", "the", "first", "open", ".", "Increase", "the", "open", "count", "by", "one", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/cache/internal/ZipFileHandleImpl.java#L142-L162
67,371
OpenLiberty/open-liberty
dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/cache/internal/ZipFileHandleImpl.java
ZipFileHandleImpl.getInputStream
@Override @Trivial public InputStream getInputStream(ZipFile useZipFile, ZipEntry zipEntry) throws IOException { String methodName = "getInputStream"; String entryName = zipEntry.getName(); if ( zipEntry.isDirectory() ) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebu...
java
@Override @Trivial public InputStream getInputStream(ZipFile useZipFile, ZipEntry zipEntry) throws IOException { String methodName = "getInputStream"; String entryName = zipEntry.getName(); if ( zipEntry.isDirectory() ) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebu...
[ "@", "Override", "@", "Trivial", "public", "InputStream", "getInputStream", "(", "ZipFile", "useZipFile", ",", "ZipEntry", "zipEntry", ")", "throws", "IOException", "{", "String", "methodName", "=", "\"getInputStream\"", ";", "String", "entryName", "=", "zipEntry", ...
Answer an input stream for an entry of a zip file. When the entry is a class entry which has 8K or fewer bytes, read all of the entry bytes immediately and cache the bytes in this handle. Subsequent input stream requests which locate cached bytes will answer a stream on those bytes. @param useZipFile The zip file fo...
[ "Answer", "an", "input", "stream", "for", "an", "entry", "of", "a", "zip", "file", ".", "When", "the", "entry", "is", "a", "class", "entry", "which", "has", "8K", "or", "fewer", "bytes", "read", "all", "of", "the", "entry", "bytes", "immediately", "and...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/cache/internal/ZipFileHandleImpl.java#L276-L365
67,372
OpenLiberty/open-liberty
dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/cache/internal/ZipFileHandleImpl.java
ZipFileHandleImpl.read
@Trivial private static byte[] read(InputStream inputStream, int expectedRead, String name) throws IOException { byte[] bytes = new byte[expectedRead]; int remainingRead = expectedRead; int totalRead = 0; while ( remainingRead > 0 ) { int nextRead = inputStream.read(byt...
java
@Trivial private static byte[] read(InputStream inputStream, int expectedRead, String name) throws IOException { byte[] bytes = new byte[expectedRead]; int remainingRead = expectedRead; int totalRead = 0; while ( remainingRead > 0 ) { int nextRead = inputStream.read(byt...
[ "@", "Trivial", "private", "static", "byte", "[", "]", "read", "(", "InputStream", "inputStream", ",", "int", "expectedRead", ",", "String", "name", ")", "throws", "IOException", "{", "byte", "[", "]", "bytes", "=", "new", "byte", "[", "expectedRead", "]",...
Read an exact count of bytes from an input stream. @param inputStream The stream from which to read the bytes. @param expectedRead The number of bytes which are to be read. @param name A name associated with the stream. @return The bytes read from the stream. @throws IOException Throw if the read failed, including ...
[ "Read", "an", "exact", "count", "of", "bytes", "from", "an", "input", "stream", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/cache/internal/ZipFileHandleImpl.java#L380-L406
67,373
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/resources/internal/EsaResourceImpl.java
EsaResourceImpl.findVersion
private String findVersion() { WlpInformation wlp = _asset.getWlpInformation(); if (wlp == null) { return null; } Collection<AppliesToFilterInfo> filterInfo = wlp.getAppliesToFilterInfo(); if (filterInfo == null) { return null; } for (App...
java
private String findVersion() { WlpInformation wlp = _asset.getWlpInformation(); if (wlp == null) { return null; } Collection<AppliesToFilterInfo> filterInfo = wlp.getAppliesToFilterInfo(); if (filterInfo == null) { return null; } for (App...
[ "private", "String", "findVersion", "(", ")", "{", "WlpInformation", "wlp", "=", "_asset", ".", "getWlpInformation", "(", ")", ";", "if", "(", "wlp", "==", "null", ")", "{", "return", "null", ";", "}", "Collection", "<", "AppliesToFilterInfo", ">", "filter...
Uses the filter information to return the first version number @return the first version number
[ "Uses", "the", "filter", "information", "to", "return", "the", "first", "version", "number" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/resources/internal/EsaResourceImpl.java#L121-L138
67,374
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/resources/internal/EsaResourceImpl.java
EsaResourceImpl.addVersionDisplayString
private void addVersionDisplayString() { WlpInformation wlp = _asset.getWlpInformation(); JavaSEVersionRequirements reqs = wlp.getJavaSEVersionRequirements(); if (reqs == null) { return; } String minVersion = reqs.getMinVersion(); // Null means no requiremen...
java
private void addVersionDisplayString() { WlpInformation wlp = _asset.getWlpInformation(); JavaSEVersionRequirements reqs = wlp.getJavaSEVersionRequirements(); if (reqs == null) { return; } String minVersion = reqs.getMinVersion(); // Null means no requiremen...
[ "private", "void", "addVersionDisplayString", "(", ")", "{", "WlpInformation", "wlp", "=", "_asset", ".", "getWlpInformation", "(", ")", ";", "JavaSEVersionRequirements", "reqs", "=", "wlp", ".", "getJavaSEVersionRequirements", "(", ")", ";", "if", "(", "reqs", ...
This generates the string that should be displayed on the website to indicate the supported Java versions. The requirements come from the bundle manifests. The mapping between the two is non-obvious, as it is the intersection between the Java EE requirement and the versions of Java that Liberty supports.
[ "This", "generates", "the", "string", "that", "should", "be", "displayed", "on", "the", "website", "to", "indicate", "the", "supported", "Java", "versions", ".", "The", "requirements", "come", "from", "the", "bundle", "manifests", ".", "The", "mapping", "betwe...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/resources/internal/EsaResourceImpl.java#L221-L274
67,375
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/resources/internal/EsaResourceImpl.java
EsaResourceImpl.removeRequireFeatureWithToleratesIfExists
private void removeRequireFeatureWithToleratesIfExists(String feature) { Collection<RequireFeatureWithTolerates> rfwt = _asset.getWlpInformation().getRequireFeatureWithTolerates(); if (rfwt != null) { for (RequireFeatureWithTolerates toCheck : rfwt) { if (toCheck.getFeature()...
java
private void removeRequireFeatureWithToleratesIfExists(String feature) { Collection<RequireFeatureWithTolerates> rfwt = _asset.getWlpInformation().getRequireFeatureWithTolerates(); if (rfwt != null) { for (RequireFeatureWithTolerates toCheck : rfwt) { if (toCheck.getFeature()...
[ "private", "void", "removeRequireFeatureWithToleratesIfExists", "(", "String", "feature", ")", "{", "Collection", "<", "RequireFeatureWithTolerates", ">", "rfwt", "=", "_asset", ".", "getWlpInformation", "(", ")", ".", "getRequireFeatureWithTolerates", "(", ")", ";", ...
Looks in the underlying asset to see if there is a requireFeatureWithTolerates entry for the supplied feature, and if there is, removes it.
[ "Looks", "in", "the", "underlying", "asset", "to", "see", "if", "there", "is", "a", "requireFeatureWithTolerates", "entry", "for", "the", "supplied", "feature", "and", "if", "there", "is", "removes", "it", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/resources/internal/EsaResourceImpl.java#L489-L499
67,376
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/resources/internal/EsaResourceImpl.java
EsaResourceImpl.copyRequireFeatureToRequireFeatureWithTolerates
private void copyRequireFeatureToRequireFeatureWithTolerates() { Collection<RequireFeatureWithTolerates> rfwt = _asset.getWlpInformation().getRequireFeatureWithTolerates(); if (rfwt != null) { // Both fields (with and without tolerates) should exist, as // rfwt should not be crea...
java
private void copyRequireFeatureToRequireFeatureWithTolerates() { Collection<RequireFeatureWithTolerates> rfwt = _asset.getWlpInformation().getRequireFeatureWithTolerates(); if (rfwt != null) { // Both fields (with and without tolerates) should exist, as // rfwt should not be crea...
[ "private", "void", "copyRequireFeatureToRequireFeatureWithTolerates", "(", ")", "{", "Collection", "<", "RequireFeatureWithTolerates", ">", "rfwt", "=", "_asset", ".", "getWlpInformation", "(", ")", ".", "getRequireFeatureWithTolerates", "(", ")", ";", "if", "(", "rfw...
requireFeature was the old field in the asset which didn't contain tolerates information. The new field is requireFeatureWithTolerates, and for the moment, both fields are being maintained, as older assets in the repository will only have the older field. When older assets are being written to, the data from the older ...
[ "requireFeature", "was", "the", "old", "field", "in", "the", "asset", "which", "didn", "t", "contain", "tolerates", "information", ".", "The", "new", "field", "is", "requireFeatureWithTolerates", "and", "for", "the", "moment", "both", "fields", "are", "being", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/resources/internal/EsaResourceImpl.java#L509-L534
67,377
OpenLiberty/open-liberty
dev/com.ibm.ws.cdi.1.2.weld/src/com/ibm/ws/cdi/utils/WeldCDIUtils.java
WeldCDIUtils.isClassVetoed
public static boolean isClassVetoed(Class<?> type) { if (type.isAnnotationPresent(Vetoed.class)) { return true; } return isPackageVetoed(type.getPackage()); }
java
public static boolean isClassVetoed(Class<?> type) { if (type.isAnnotationPresent(Vetoed.class)) { return true; } return isPackageVetoed(type.getPackage()); }
[ "public", "static", "boolean", "isClassVetoed", "(", "Class", "<", "?", ">", "type", ")", "{", "if", "(", "type", ".", "isAnnotationPresent", "(", "Vetoed", ".", "class", ")", ")", "{", "return", "true", ";", "}", "return", "isPackageVetoed", "(", "type"...
Return true if the class is vetoed or the package is vetoed @param type class @return true if the class is vetoed or the package is vetoed, false otherwise
[ "Return", "true", "if", "the", "class", "is", "vetoed", "or", "the", "package", "is", "vetoed" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.cdi.1.2.weld/src/com/ibm/ws/cdi/utils/WeldCDIUtils.java#L52-L57
67,378
OpenLiberty/open-liberty
dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/twitter/TwitterEndpointServices.java
TwitterEndpointServices.populateCommonAuthzHeaderParams
private Map<String, String> populateCommonAuthzHeaderParams() { Map<String, String> parameters = new HashMap<String, String>(); parameters.put(TwitterConstants.PARAM_OAUTH_CONSUMER_KEY, consumerKey); parameters.put(TwitterConstants.PARAM_OAUTH_NONCE, Utils.generateNonce()); parameters.p...
java
private Map<String, String> populateCommonAuthzHeaderParams() { Map<String, String> parameters = new HashMap<String, String>(); parameters.put(TwitterConstants.PARAM_OAUTH_CONSUMER_KEY, consumerKey); parameters.put(TwitterConstants.PARAM_OAUTH_NONCE, Utils.generateNonce()); parameters.p...
[ "private", "Map", "<", "String", ",", "String", ">", "populateCommonAuthzHeaderParams", "(", ")", "{", "Map", "<", "String", ",", "String", ">", "parameters", "=", "new", "HashMap", "<", "String", ",", "String", ">", "(", ")", ";", "parameters", ".", "pu...
Creates a map of parameters and values that are common to all requests that require an Authorization header. @return
[ "Creates", "a", "map", "of", "parameters", "and", "values", "that", "are", "common", "to", "all", "requests", "that", "require", "an", "Authorization", "header", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/twitter/TwitterEndpointServices.java#L368-L378
67,379
OpenLiberty/open-liberty
dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/twitter/TwitterEndpointServices.java
TwitterEndpointServices.signAndCreateAuthzHeader
private String signAndCreateAuthzHeader(String endpointUrl, Map<String, String> parameters) { String signature = computeSignature(requestMethod, endpointUrl, parameters); parameters.put(TwitterConstants.PARAM_OAUTH_SIGNATURE, signature); String authzHeaderString = createAuthorizationHeaderStri...
java
private String signAndCreateAuthzHeader(String endpointUrl, Map<String, String> parameters) { String signature = computeSignature(requestMethod, endpointUrl, parameters); parameters.put(TwitterConstants.PARAM_OAUTH_SIGNATURE, signature); String authzHeaderString = createAuthorizationHeaderStri...
[ "private", "String", "signAndCreateAuthzHeader", "(", "String", "endpointUrl", ",", "Map", "<", "String", ",", "String", ">", "parameters", ")", "{", "String", "signature", "=", "computeSignature", "(", "requestMethod", ",", "endpointUrl", ",", "parameters", ")", ...
Generates the Authorization header with all the requisite content for the specified endpoint request by computing the signature, adding it to the parameters, and generating the Authorization header string. @param endpointUrl @param parameters @return
[ "Generates", "the", "Authorization", "header", "with", "all", "the", "requisite", "content", "for", "the", "specified", "endpoint", "request", "by", "computing", "the", "signature", "adding", "it", "to", "the", "parameters", "and", "generating", "the", "Authorizat...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/twitter/TwitterEndpointServices.java#L408-L415
67,380
OpenLiberty/open-liberty
dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/twitter/TwitterEndpointServices.java
TwitterEndpointServices.populateJsonResponse
public Map<String, Object> populateJsonResponse(String responseBody) throws JoseException { if (responseBody == null || responseBody.isEmpty()) { return null; } return JsonUtil.parseJson(responseBody); }
java
public Map<String, Object> populateJsonResponse(String responseBody) throws JoseException { if (responseBody == null || responseBody.isEmpty()) { return null; } return JsonUtil.parseJson(responseBody); }
[ "public", "Map", "<", "String", ",", "Object", ">", "populateJsonResponse", "(", "String", "responseBody", ")", "throws", "JoseException", "{", "if", "(", "responseBody", "==", "null", "||", "responseBody", ".", "isEmpty", "(", ")", ")", "{", "return", "null...
Populates a Map from the response body. This method expects the responseBody value to be in JSON format. @param responseBody @return {@code null} if the response body was {@code null} or empty. Otherwise returns a Map with all entries and values contained in the response body. @throws JoseException
[ "Populates", "a", "Map", "from", "the", "response", "body", ".", "This", "method", "expects", "the", "responseBody", "value", "to", "be", "in", "JSON", "format", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/twitter/TwitterEndpointServices.java#L501-L506
67,381
OpenLiberty/open-liberty
dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/twitter/TwitterEndpointServices.java
TwitterEndpointServices.executeRequest
@FFDCIgnore(SocialLoginException.class) @Sensitive public Map<String, Object> executeRequest(SocialLoginConfig config, String requestMethod, String authzHeaderString, String url, String endpointType, String verifierValue) { if (endpointType == null) { endpointType = TwitterConstants.TWITTER...
java
@FFDCIgnore(SocialLoginException.class) @Sensitive public Map<String, Object> executeRequest(SocialLoginConfig config, String requestMethod, String authzHeaderString, String url, String endpointType, String verifierValue) { if (endpointType == null) { endpointType = TwitterConstants.TWITTER...
[ "@", "FFDCIgnore", "(", "SocialLoginException", ".", "class", ")", "@", "Sensitive", "public", "Map", "<", "String", ",", "Object", ">", "executeRequest", "(", "SocialLoginConfig", "config", ",", "String", "requestMethod", ",", "String", "authzHeaderString", ",", ...
Sends a request to the specified Twitter endpoint and returns a Map object containing the evaluated response. @param config @param requestMethod @param authzHeaderString @param url @param endpointType @param verifierValue Only used for {@value TwitterConstants#TWITTER_ENDPOINT_ACCESS_TOKEN} requests @return
[ "Sends", "a", "request", "to", "the", "specified", "Twitter", "endpoint", "and", "returns", "a", "Map", "object", "containing", "the", "evaluated", "response", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/twitter/TwitterEndpointServices.java#L832-L865
67,382
OpenLiberty/open-liberty
dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/internal/ZipFileArtifactNotifier.java
ZipFileArtifactNotifier.updateMonitorService
@FFDCIgnore(IllegalStateException.class) private void updateMonitorService() { if ( !coveringPaths.isEmpty() ) { if ( service == null ) { try { // If we are shutting down, we want to generate the exception quickly. BundleContext bundleConte...
java
@FFDCIgnore(IllegalStateException.class) private void updateMonitorService() { if ( !coveringPaths.isEmpty() ) { if ( service == null ) { try { // If we are shutting down, we want to generate the exception quickly. BundleContext bundleConte...
[ "@", "FFDCIgnore", "(", "IllegalStateException", ".", "class", ")", "private", "void", "updateMonitorService", "(", ")", "{", "if", "(", "!", "coveringPaths", ".", "isEmpty", "(", ")", ")", "{", "if", "(", "service", "==", "null", ")", "{", "try", "{", ...
Update the monitor service according to whether any listeners are registered. That is, if any covering paths are present. When listeners are registered, register the file monitor as a service. When no listeners are registered, unregister the file monitor as a service. Registration as a service is only done when the...
[ "Update", "the", "monitor", "service", "according", "to", "whether", "any", "listeners", "are", "registered", ".", "That", "is", "if", "any", "covering", "paths", "are", "present", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/internal/ZipFileArtifactNotifier.java#L264-L298
67,383
OpenLiberty/open-liberty
dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/internal/ZipFileArtifactNotifier.java
ZipFileArtifactNotifier.updateEnclosingMonitor
private void updateEnclosingMonitor() { if ( !coveringPaths.isEmpty() ) { if ( !listenerRegistered ) { // This container is not yet registered to the enclosing container. // Register this container. ArtifactContainer enclosingRootContainer = entryInEn...
java
private void updateEnclosingMonitor() { if ( !coveringPaths.isEmpty() ) { if ( !listenerRegistered ) { // This container is not yet registered to the enclosing container. // Register this container. ArtifactContainer enclosingRootContainer = entryInEn...
[ "private", "void", "updateEnclosingMonitor", "(", ")", "{", "if", "(", "!", "coveringPaths", ".", "isEmpty", "(", ")", ")", "{", "if", "(", "!", "listenerRegistered", ")", "{", "// This container is not yet registered to the enclosing container.", "// Register this cont...
Update the enclosing monitor according to whether any listeners are registered. That is, if any covering paths are present. When listeners are registered, register the this notifier as a listener on the enclosing entry. When no listeners are registered, remove this notifier as a listener on the enclosing entry. Reg...
[ "Update", "the", "enclosing", "monitor", "according", "to", "whether", "any", "listeners", "are", "registered", ".", "That", "is", "if", "any", "covering", "paths", "are", "present", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/internal/ZipFileArtifactNotifier.java#L313-L362
67,384
OpenLiberty/open-liberty
dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/internal/ZipFileArtifactNotifier.java
ZipFileArtifactNotifier.registerListener
private boolean registerListener(String newPath, ArtifactListenerSelector newListener) { boolean updatedCoveringPaths = addCoveringPath(newPath); Collection<ArtifactListenerSelector> listenersForPath = listeners.get(newPath); if ( listenersForPath == null ) { // Each listeners colle...
java
private boolean registerListener(String newPath, ArtifactListenerSelector newListener) { boolean updatedCoveringPaths = addCoveringPath(newPath); Collection<ArtifactListenerSelector> listenersForPath = listeners.get(newPath); if ( listenersForPath == null ) { // Each listeners colle...
[ "private", "boolean", "registerListener", "(", "String", "newPath", ",", "ArtifactListenerSelector", "newListener", ")", "{", "boolean", "updatedCoveringPaths", "=", "addCoveringPath", "(", "newPath", ")", ";", "Collection", "<", "ArtifactListenerSelector", ">", "listen...
Register a listener to a specified path. Registration has two effects: The listener is put into a table which maps the listener to specified path. The path of the listener are added to the covering paths collection, possibly causing newly covered paths to be removed from the collection. If the new path is already cov...
[ "Register", "a", "listener", "to", "a", "specified", "path", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/internal/ZipFileArtifactNotifier.java#L465-L477
67,385
OpenLiberty/open-liberty
dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/internal/ZipFileArtifactNotifier.java
ZipFileArtifactNotifier.addCoveringPath
private boolean addCoveringPath(String newPath) { int newLen = newPath.length(); Iterator<String> useCoveringPaths = coveringPaths.iterator(); boolean isCovered = false; boolean isCovering = false; while ( !isCovered && useCoveringPaths.hasNext() ) { String coveringP...
java
private boolean addCoveringPath(String newPath) { int newLen = newPath.length(); Iterator<String> useCoveringPaths = coveringPaths.iterator(); boolean isCovered = false; boolean isCovering = false; while ( !isCovered && useCoveringPaths.hasNext() ) { String coveringP...
[ "private", "boolean", "addCoveringPath", "(", "String", "newPath", ")", "{", "int", "newLen", "=", "newPath", ".", "length", "(", ")", ";", "Iterator", "<", "String", ">", "useCoveringPaths", "=", "coveringPaths", ".", "iterator", "(", ")", ";", "boolean", ...
Add a path to the covering paths collection. Do nothing if a path in the collection covers the new path. Add the path and remove any paths covered by the new path if the path is not covered by a path in the collection. @param newPath The path to add to the covering paths collection. @return Answer true or false tel...
[ "Add", "a", "path", "to", "the", "covering", "paths", "collection", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/internal/ZipFileArtifactNotifier.java#L492-L548
67,386
OpenLiberty/open-liberty
dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/internal/ZipFileArtifactNotifier.java
ZipFileArtifactNotifier.validateNotification
@Trivial private String validateNotification(Collection<?> added, Collection<?> removed, Collection<?> updated) { boolean isAddition = !added.isEmpty(); boolean isRemoval = !removed.isEmpty(); boolean isUpdate = !updated.isEmpty(); if ( !isAddition && !isRemoval && !isUpdate ) { ...
java
@Trivial private String validateNotification(Collection<?> added, Collection<?> removed, Collection<?> updated) { boolean isAddition = !added.isEmpty(); boolean isRemoval = !removed.isEmpty(); boolean isUpdate = !updated.isEmpty(); if ( !isAddition && !isRemoval && !isUpdate ) { ...
[ "@", "Trivial", "private", "String", "validateNotification", "(", "Collection", "<", "?", ">", "added", ",", "Collection", "<", "?", ">", "removed", ",", "Collection", "<", "?", ">", "updated", ")", "{", "boolean", "isAddition", "=", "!", "added", ".", "...
Validate change data, which is expected to be collections of files or collections of entry paths. Since the single root zip file is registered, the change is expected to be a single element in exactly one of the change collections. Null changes are unexpected. Additions are unexpected. Updates with removals are unex...
[ "Validate", "change", "data", "which", "is", "expected", "to", "be", "collections", "of", "files", "or", "collections", "of", "entry", "paths", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/internal/ZipFileArtifactNotifier.java#L745-L767
67,387
OpenLiberty/open-liberty
dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/internal/ZipFileArtifactNotifier.java
ZipFileArtifactNotifier.notifyAllListeners
private void notifyAllListeners(boolean isUpdate, String filter) { // Can't reuse the registered paths collection across the loop // because the listener notification can do processing in a new // thread. Reusing the registered paths could cause a collision // between the listener threa...
java
private void notifyAllListeners(boolean isUpdate, String filter) { // Can't reuse the registered paths collection across the loop // because the listener notification can do processing in a new // thread. Reusing the registered paths could cause a collision // between the listener threa...
[ "private", "void", "notifyAllListeners", "(", "boolean", "isUpdate", ",", "String", "filter", ")", "{", "// Can't reuse the registered paths collection across the loop", "// because the listener notification can do processing in a new", "// thread. Reusing the registered paths could cause...
A notification, which was either an update to the entire zip, or was the removal of the entire zip file, was received. For each listener that is registered, collect the paths for that listener and forward the notification. The notification which is forwarded to each listener is of the same type -- update or removal -...
[ "A", "notification", "which", "was", "either", "an", "update", "to", "the", "entire", "zip", "or", "was", "the", "removal", "of", "the", "entire", "zip", "file", "was", "received", ".", "For", "each", "listener", "that", "is", "registered", "collect", "the...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/internal/ZipFileArtifactNotifier.java#L788-L840
67,388
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/authentication/actions/MessagingLoginAction.java
MessagingLoginAction.getAuthenticationService
public AuthenticationService getAuthenticationService(SecurityService securityService) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, CLASS_NAME + "getAuthenticationService", securityService); } if(_authenticationService == null) { if (securityService != null) _auth...
java
public AuthenticationService getAuthenticationService(SecurityService securityService) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, CLASS_NAME + "getAuthenticationService", securityService); } if(_authenticationService == null) { if (securityService != null) _auth...
[ "public", "AuthenticationService", "getAuthenticationService", "(", "SecurityService", "securityService", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "("...
Get Authentication Service from the Liberty Security component It will get the AuthenticationService only if the SecurityService is activated @param securityService @return
[ "Get", "Authentication", "Service", "from", "the", "Liberty", "Security", "component", "It", "will", "get", "the", "AuthenticationService", "only", "if", "the", "SecurityService", "is", "activated" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/authentication/actions/MessagingLoginAction.java#L104-L117
67,389
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/authentication/actions/MessagingLoginAction.java
MessagingLoginAction.login
protected Subject login() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, CLASS_NAME + "login"); } Subject subject = null; try { /* * Only if we have the AuthenticationService running, we can do * Authentication. If it is not present we cannot do any * auth...
java
protected Subject login() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, CLASS_NAME + "login"); } Subject subject = null; try { /* * Only if we have the AuthenticationService running, we can do * Authentication. If it is not present we cannot do any * auth...
[ "protected", "Subject", "login", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "CLASS_NAME", "+", "\"login\"", ")", ";", "...
The method to authenticate a User @return Subject: If the User is authenticated Null : If User is not authenticated
[ "The", "method", "to", "authenticate", "a", "User" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/authentication/actions/MessagingLoginAction.java#L141-L169
67,390
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/CommonServerReceiveListener.java
CommonServerReceiveListener.rejectHandshake
private void rejectHandshake(Conversation conversation, int requestNumber, String rejectedField) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "rejectHandshake", new Object[] { conversation, requestNumber, rejected...
java
private void rejectHandshake(Conversation conversation, int requestNumber, String rejectedField) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "rejectHandshake", new Object[] { conversation, requestNumber, rejected...
[ "private", "void", "rejectHandshake", "(", "Conversation", "conversation", ",", "int", "requestNumber", ",", "String", "rejectedField", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")",...
This method is used to inform the client that we are rejecting their handshake. Typically this will never happen unless a third party client is written, or an internal error occurs. However, we should check for an inproperly formatted handshake and inform the client if such an error occurs. @param conversation @param ...
[ "This", "method", "is", "used", "to", "inform", "the", "client", "that", "we", "are", "rejecting", "their", "handshake", ".", "Typically", "this", "will", "never", "happen", "unless", "a", "third", "party", "client", "is", "written", "or", "an", "internal", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/CommonServerReceiveListener.java#L768-L796
67,391
OpenLiberty/open-liberty
dev/com.ibm.ws.cloudant/src/com/ibm/ws/cloudant/internal/CloudantApplicationListener.java
CloudantApplicationListener.register
void register(CloudantService svc, ConcurrentMap<ClientKey, Object> clients) { registrations.put(svc, clients); }
java
void register(CloudantService svc, ConcurrentMap<ClientKey, Object> clients) { registrations.put(svc, clients); }
[ "void", "register", "(", "CloudantService", "svc", ",", "ConcurrentMap", "<", "ClientKey", ",", "Object", ">", "clients", ")", "{", "registrations", ".", "put", "(", "svc", ",", "clients", ")", ";", "}" ]
Lazily registers a CloudantService to have its client cache purged of entries related to a stopped application. @param svc CloudantService instance. This is used as a HashMap key because the client cache itself is not suitable as a key. @param clients client cache for the CloudantService.
[ "Lazily", "registers", "a", "CloudantService", "to", "have", "its", "client", "cache", "purged", "of", "entries", "related", "to", "a", "stopped", "application", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.cloudant/src/com/ibm/ws/cloudant/internal/CloudantApplicationListener.java#L96-L98
67,392
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.mdb/src/com/ibm/ws/ejbcontainer/mdb/internal/MessageEndpointFactoryImpl.java
MessageEndpointFactoryImpl.setRRSTransactional
@FFDCIgnore(NoSuchMethodException.class) private void setRRSTransactional() { try { ivRRSTransactional = (Boolean) activationSpec.getClass().getMethod("getRRSTransactional").invoke(activationSpec); } catch (NoSuchMethodException x) { ivRRSTransactional = false; } catc...
java
@FFDCIgnore(NoSuchMethodException.class) private void setRRSTransactional() { try { ivRRSTransactional = (Boolean) activationSpec.getClass().getMethod("getRRSTransactional").invoke(activationSpec); } catch (NoSuchMethodException x) { ivRRSTransactional = false; } catc...
[ "@", "FFDCIgnore", "(", "NoSuchMethodException", ".", "class", ")", "private", "void", "setRRSTransactional", "(", ")", "{", "try", "{", "ivRRSTransactional", "=", "(", "Boolean", ")", "activationSpec", ".", "getClass", "(", ")", ".", "getMethod", "(", "\"getR...
If an RA wants to enable RRS Transactions, it should return true for the method getRRSTransactional.
[ "If", "an", "RA", "wants", "to", "enable", "RRS", "Transactions", "it", "should", "return", "true", "for", "the", "method", "getRRSTransactional", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.mdb/src/com/ibm/ws/ejbcontainer/mdb/internal/MessageEndpointFactoryImpl.java#L262-L271
67,393
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.mdb/src/com/ibm/ws/ejbcontainer/mdb/internal/MessageEndpointFactoryImpl.java
MessageEndpointFactoryImpl.setJCAVersion
@Override public void setJCAVersion(int majorJCAVer, int minorJCAVer) { majorJCAVersion = majorJCAVer; minorJCAVersion = minorJCAVer; if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "MessageEndpointFactoryImpl.setJCAVersionJCA: Version " + majorJCA...
java
@Override public void setJCAVersion(int majorJCAVer, int minorJCAVer) { majorJCAVersion = majorJCAVer; minorJCAVersion = minorJCAVer; if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "MessageEndpointFactoryImpl.setJCAVersionJCA: Version " + majorJCA...
[ "@", "Override", "public", "void", "setJCAVersion", "(", "int", "majorJCAVer", ",", "int", "minorJCAVer", ")", "{", "majorJCAVersion", "=", "majorJCAVer", ";", "minorJCAVersion", "=", "minorJCAVer", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "("...
Indicates what version of JCA specification the RA using this MessageEndpointFactory requires compliance with. @see com.ibm.ws.jca.service.WSMessageEndpointFactory#setJCAVersion(int, int)
[ "Indicates", "what", "version", "of", "JCA", "specification", "the", "RA", "using", "this", "MessageEndpointFactory", "requires", "compliance", "with", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.mdb/src/com/ibm/ws/ejbcontainer/mdb/internal/MessageEndpointFactoryImpl.java#L394-L401
67,394
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJBMethodInfoStack.java
EJBMethodInfoStack.setup
private void setup(BeanMetaData bmd) { if (!ivSetup) { int slotSize = bmd.container.getEJBRuntime().getMetaDataSlotSize(MethodMetaData.class); for (int i = 0; i < capacity; ++i) { EJBMethodInfoImpl methodInfo = bmd.createEJBMethodInfoImpl(slotSize)...
java
private void setup(BeanMetaData bmd) { if (!ivSetup) { int slotSize = bmd.container.getEJBRuntime().getMetaDataSlotSize(MethodMetaData.class); for (int i = 0; i < capacity; ++i) { EJBMethodInfoImpl methodInfo = bmd.createEJBMethodInfoImpl(slotSize)...
[ "private", "void", "setup", "(", "BeanMetaData", "bmd", ")", "{", "if", "(", "!", "ivSetup", ")", "{", "int", "slotSize", "=", "bmd", ".", "container", ".", "getEJBRuntime", "(", ")", ".", "getMetaDataSlotSize", "(", "MethodMetaData", ".", "class", ")", ...
Construct capacity sized stack
[ "Construct", "capacity", "sized", "stack" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJBMethodInfoStack.java#L52-L65
67,395
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJBMethodInfoStack.java
EJBMethodInfoStack.done
public final void done(EJBMethodInfoImpl mi) { //d151861 if (orig || (mi == null) || (topOfStack == 0)) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "In orig mode returning:" + " orig: " + orig + " t...
java
public final void done(EJBMethodInfoImpl mi) { //d151861 if (orig || (mi == null) || (topOfStack == 0)) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "In orig mode returning:" + " orig: " + orig + " t...
[ "public", "final", "void", "done", "(", "EJBMethodInfoImpl", "mi", ")", "{", "//d151861", "if", "(", "orig", "||", "(", "mi", "==", "null", ")", "||", "(", "topOfStack", "==", "0", ")", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", ...
Indicate that the caller is finished with the instance that was last obtained.
[ "Indicate", "that", "the", "caller", "is", "finished", "with", "the", "instance", "that", "was", "last", "obtained", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJBMethodInfoStack.java#L76-L108
67,396
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJBMethodInfoStack.java
EJBMethodInfoStack.get
final public EJBMethodInfoImpl get(String methodSignature, String methodNameOnly, EJSWrapperBase wrapper, MethodInterface methodInterface, // d164221 TransactionAtt...
java
final public EJBMethodInfoImpl get(String methodSignature, String methodNameOnly, EJSWrapperBase wrapper, MethodInterface methodInterface, // d164221 TransactionAtt...
[ "final", "public", "EJBMethodInfoImpl", "get", "(", "String", "methodSignature", ",", "String", "methodNameOnly", ",", "EJSWrapperBase", "wrapper", ",", "MethodInterface", "methodInterface", ",", "// d164221", "TransactionAttribute", "txAttr", ")", "// 199625", "{", "EJ...
Get an instance of EJBMethodInfoImpl. Either return EJBMethod off the stack or new up a new instance after stack capacity is exhausted returns EJBMethodInfoImpl
[ "Get", "an", "instance", "of", "EJBMethodInfoImpl", ".", "Either", "return", "EJBMethod", "off", "the", "stack", "or", "new", "up", "a", "new", "instance", "after", "stack", "capacity", "is", "exhausted", "returns", "EJBMethodInfoImpl" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJBMethodInfoStack.java#L115-L150
67,397
OpenLiberty/open-liberty
dev/com.ibm.ws.serialization/src/com/ibm/ws/serialization/internal/SerializationServiceImpl.java
SerializationServiceImpl.loadClass
Class<?> loadClass(String name) throws ClassNotFoundException { // First, try to find the class by name. ServiceReference<DeserializationClassProvider> provider = classProviders.getReference(name); if (provider != null) { return loadClass(provider, name); } // Next, ...
java
Class<?> loadClass(String name) throws ClassNotFoundException { // First, try to find the class by name. ServiceReference<DeserializationClassProvider> provider = classProviders.getReference(name); if (provider != null) { return loadClass(provider, name); } // Next, ...
[ "Class", "<", "?", ">", "loadClass", "(", "String", "name", ")", "throws", "ClassNotFoundException", "{", "// First, try to find the class by name.", "ServiceReference", "<", "DeserializationClassProvider", ">", "provider", "=", "classProviders", ".", "getReference", "(",...
Attempts to resolve a class from registered class providers. @param name the class name @return the class, or null if not found @throws ClassNotFoundException if a class provider claimed to provide a class or package, but its bundle did not contain the class
[ "Attempts", "to", "resolve", "a", "class", "from", "registered", "class", "providers", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.serialization/src/com/ibm/ws/serialization/internal/SerializationServiceImpl.java#L247-L265
67,398
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSRdbSpiLocalTransactionImpl.java
WSRdbSpiLocalTransactionImpl.begin
public void begin() throws ResourceException { if (tc.isEntryEnabled()) Tr.entry(this, tc, "begin", ivMC); // if the MC marked Stale, it means the user requested a purge pool with an immediate option // so don't allow any work on the mc if (ivMC._mcStale) { if (t...
java
public void begin() throws ResourceException { if (tc.isEntryEnabled()) Tr.entry(this, tc, "begin", ivMC); // if the MC marked Stale, it means the user requested a purge pool with an immediate option // so don't allow any work on the mc if (ivMC._mcStale) { if (t...
[ "public", "void", "begin", "(", ")", "throws", "ResourceException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "this", ",", "tc", ",", "\"begin\"", ",", "ivMC", ")", ";", "// if the MC marked Stale, it means the user...
Begin a local transaction @exception ResourceException - Possible causes of this exception are: 1) a begin is called but there is already a transaction active for this managedConnection 2) the setAutoCommit failed
[ "Begin", "a", "local", "transaction" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSRdbSpiLocalTransactionImpl.java#L81-L193
67,399
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSRdbSpiLocalTransactionImpl.java
WSRdbSpiLocalTransactionImpl.commit
public void commit() throws ResourceException { if (tc.isEntryEnabled()) Tr.entry(this, tc, "commit", ivMC); // if the MC marked Stale, it means the user requested a purge pool with an immediate option // so don't allow any work on the mc if (ivMC._mcStale) { if ...
java
public void commit() throws ResourceException { if (tc.isEntryEnabled()) Tr.entry(this, tc, "commit", ivMC); // if the MC marked Stale, it means the user requested a purge pool with an immediate option // so don't allow any work on the mc if (ivMC._mcStale) { if ...
[ "public", "void", "commit", "(", ")", "throws", "ResourceException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "this", ",", "tc", ",", "\"commit\"", ",", "ivMC", ")", ";", "// if the MC marked Stale, it means the us...
Commit a local transaction @exception ResourceException - Possible causes for this exception are: 1) if there is no transaction active that can be committed 2) commit was called from an invalid transaction state
[ "Commit", "a", "local", "transaction" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSRdbSpiLocalTransactionImpl.java#L202-L306