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
70,600
OpenLiberty/open-liberty
dev/com.ibm.ws.transaction/src/com/ibm/ws/transaction/services/TransactionJavaColonHelper.java
TransactionJavaColonHelper.getUserTransaction
protected UserTransaction getUserTransaction(boolean injection, Object injectionContext) throws NamingException { final UserTransaction ut = AccessController.doPrivileged(new PrivilegedAction<UserTransaction>() { @Override public UserTransaction run() { return userTra...
java
protected UserTransaction getUserTransaction(boolean injection, Object injectionContext) throws NamingException { final UserTransaction ut = AccessController.doPrivileged(new PrivilegedAction<UserTransaction>() { @Override public UserTransaction run() { return userTra...
[ "protected", "UserTransaction", "getUserTransaction", "(", "boolean", "injection", ",", "Object", "injectionContext", ")", "throws", "NamingException", "{", "final", "UserTransaction", "ut", "=", "AccessController", ".", "doPrivileged", "(", "new", "PrivilegedAction", "...
Helper method for use with injection TransactionObjectFactoruy. @param injection if the UserTransaction is being obtained for injection @param injectionContext the injection target context if injection is true, or null if unspecified @return UserTransaction object with decorator applied if present @throws NamingExcept...
[ "Helper", "method", "for", "use", "with", "injection", "TransactionObjectFactoruy", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transaction/src/com/ibm/ws/transaction/services/TransactionJavaColonHelper.java#L152-L166
70,601
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/jaxrs/model/AbstractResourceInfo.java
AbstractResourceInfo.addToMap
private <T, V> boolean addToMap(Map<Class<?>, Map<T, V>> proxyMap, T f, V proxy) { Map<T, V> proxies = proxyMap.get(serviceClass); if (proxies == null) { proxies = new HashMap<T, V>(); proxyMap.put(serviceCla...
java
private <T, V> boolean addToMap(Map<Class<?>, Map<T, V>> proxyMap, T f, V proxy) { Map<T, V> proxies = proxyMap.get(serviceClass); if (proxies == null) { proxies = new HashMap<T, V>(); proxyMap.put(serviceCla...
[ "private", "<", "T", ",", "V", ">", "boolean", "addToMap", "(", "Map", "<", "Class", "<", "?", ">", ",", "Map", "<", "T", ",", "V", ">", ">", "proxyMap", ",", "T", "f", ",", "V", "proxy", ")", "{", "Map", "<", "T", ",", "V", ">", "proxies",...
Liberty code change start defect 182967
[ "Liberty", "code", "change", "start", "defect", "182967" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/jaxrs/model/AbstractResourceInfo.java#L432-L445
70,602
OpenLiberty/open-liberty
dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/provider/AbstractJSSEProvider.java
AbstractJSSEProvider.getTrustManagerFactoryInstance
public TrustManagerFactory getTrustManagerFactoryInstance(String trustMgr, String ctxtProvider) throws NoSuchAlgorithmException, NoSuchProviderException { String mgr = trustMgr; String provider = ctxtProvider; if (mgr.indexOf('|') != -1) { String[] trustManagerArray = mgr.split("\\|"...
java
public TrustManagerFactory getTrustManagerFactoryInstance(String trustMgr, String ctxtProvider) throws NoSuchAlgorithmException, NoSuchProviderException { String mgr = trustMgr; String provider = ctxtProvider; if (mgr.indexOf('|') != -1) { String[] trustManagerArray = mgr.split("\\|"...
[ "public", "TrustManagerFactory", "getTrustManagerFactoryInstance", "(", "String", "trustMgr", ",", "String", "ctxtProvider", ")", "throws", "NoSuchAlgorithmException", ",", "NoSuchProviderException", "{", "String", "mgr", "=", "trustMgr", ";", "String", "provider", "=", ...
Get the trust manager factory instance using the provided information. @see com.ibm.websphere.ssl.JSSEProvider#getTrustManagerFactoryInstance() @param trustMgr @param ctxtProvider @return TrustManagerFactory @throws NoSuchAlgorithmException @throws NoSuchProviderException
[ "Get", "the", "trust", "manager", "factory", "instance", "using", "the", "provided", "information", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/provider/AbstractJSSEProvider.java#L682-L697
70,603
OpenLiberty/open-liberty
dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/provider/AbstractJSSEProvider.java
AbstractJSSEProvider.getKeyManagerFactoryInstance
public KeyManagerFactory getKeyManagerFactoryInstance(String keyMgr, String ctxtProvider) throws NoSuchAlgorithmException, NoSuchProviderException { String mgr = keyMgr; String provider = ctxtProvider; if (mgr.indexOf('|') != -1) { String[] keyManagerArray = mgr.split("\\|"); ...
java
public KeyManagerFactory getKeyManagerFactoryInstance(String keyMgr, String ctxtProvider) throws NoSuchAlgorithmException, NoSuchProviderException { String mgr = keyMgr; String provider = ctxtProvider; if (mgr.indexOf('|') != -1) { String[] keyManagerArray = mgr.split("\\|"); ...
[ "public", "KeyManagerFactory", "getKeyManagerFactoryInstance", "(", "String", "keyMgr", ",", "String", "ctxtProvider", ")", "throws", "NoSuchAlgorithmException", ",", "NoSuchProviderException", "{", "String", "mgr", "=", "keyMgr", ";", "String", "provider", "=", "ctxtPr...
Get the key manager factory instance using the provided information. @see com.ibm.websphere.ssl.JSSEProvider#getKeyManagerFactoryInstance() @param keyMgr @param ctxtProvider @return KeyManagerFactory @throws NoSuchAlgorithmException @throws NoSuchProviderException
[ "Get", "the", "key", "manager", "factory", "instance", "using", "the", "provided", "information", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/provider/AbstractJSSEProvider.java#L717-L732
70,604
OpenLiberty/open-liberty
dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/provider/AbstractJSSEProvider.java
AbstractJSSEProvider.getHandler
public URLStreamHandler getHandler() throws Exception { String handlerString = getSSLProtocolPackageHandler() + ".https.Handler"; URLStreamHandler streamHandler = null; try { ClassLoader cl = AccessController.doPrivileged(getCtxClassLoader); if (cl != null) { ...
java
public URLStreamHandler getHandler() throws Exception { String handlerString = getSSLProtocolPackageHandler() + ".https.Handler"; URLStreamHandler streamHandler = null; try { ClassLoader cl = AccessController.doPrivileged(getCtxClassLoader); if (cl != null) { ...
[ "public", "URLStreamHandler", "getHandler", "(", ")", "throws", "Exception", "{", "String", "handlerString", "=", "getSSLProtocolPackageHandler", "(", ")", "+", "\".https.Handler\"", ";", "URLStreamHandler", "streamHandler", "=", "null", ";", "try", "{", "ClassLoader"...
Query the default handler for this provider using HTTPS. @return URLStreamHandler @throws Exception
[ "Query", "the", "default", "handler", "for", "this", "provider", "using", "HTTPS", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/provider/AbstractJSSEProvider.java#L784-L803
70,605
OpenLiberty/open-liberty
dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/provider/AbstractJSSEProvider.java
AbstractJSSEProvider.loadCustomKeyManager
private X509KeyManager loadCustomKeyManager(String kmClass) throws Exception { X509KeyManager km = null; try { ClassLoader cl = AccessController.doPrivileged(getCtxClassLoader); if (cl != null) { try { km = (X509KeyManager) cl.loadClass(kmCla...
java
private X509KeyManager loadCustomKeyManager(String kmClass) throws Exception { X509KeyManager km = null; try { ClassLoader cl = AccessController.doPrivileged(getCtxClassLoader); if (cl != null) { try { km = (X509KeyManager) cl.loadClass(kmCla...
[ "private", "X509KeyManager", "loadCustomKeyManager", "(", "String", "kmClass", ")", "throws", "Exception", "{", "X509KeyManager", "km", "=", "null", ";", "try", "{", "ClassLoader", "cl", "=", "AccessController", ".", "doPrivileged", "(", "getCtxClassLoader", ")", ...
this loads the KeyManager class, if present
[ "this", "loads", "the", "KeyManager", "class", "if", "present" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/provider/AbstractJSSEProvider.java#L845-L871
70,606
OpenLiberty/open-liberty
dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/provider/AbstractJSSEProvider.java
AbstractJSSEProvider.clearSSLContextCache
public static void clearSSLContextCache() { if (sslContextCacheJAVAX != null && sslContextCacheJAVAX.size() > 0) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "Clearing standard javax.net.ssl.SSLContext cache."); sslContextCacheJAVAX.clea...
java
public static void clearSSLContextCache() { if (sslContextCacheJAVAX != null && sslContextCacheJAVAX.size() > 0) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "Clearing standard javax.net.ssl.SSLContext cache."); sslContextCacheJAVAX.clea...
[ "public", "static", "void", "clearSSLContextCache", "(", ")", "{", "if", "(", "sslContextCacheJAVAX", "!=", "null", "&&", "sslContextCacheJAVAX", ".", "size", "(", ")", ">", "0", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&...
Clear the contents of the SSLContext cache.
[ "Clear", "the", "contents", "of", "the", "SSLContext", "cache", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/provider/AbstractJSSEProvider.java#L926-L932
70,607
OpenLiberty/open-liberty
dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/provider/AbstractJSSEProvider.java
AbstractJSSEProvider.clearSSLContextCache
public static void clearSSLContextCache(Collection<File> modifiedFiles) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "Clearing standard javax.net.ssl.SSLContext cached object containing keystores: " + new Object[] { modifiedFiles }); for (File modifiedKeyst...
java
public static void clearSSLContextCache(Collection<File> modifiedFiles) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "Clearing standard javax.net.ssl.SSLContext cached object containing keystores: " + new Object[] { modifiedFiles }); for (File modifiedKeyst...
[ "public", "static", "void", "clearSSLContextCache", "(", "Collection", "<", "File", ">", "modifiedFiles", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "Tr", ".", "debug", "(", ...
Clear the contents of the SSLContext cache if it uses the files passed in
[ "Clear", "the", "contents", "of", "the", "SSLContext", "cache", "if", "it", "uses", "the", "files", "passed", "in" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/provider/AbstractJSSEProvider.java#L937-L951
70,608
OpenLiberty/open-liberty
dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/provider/AbstractJSSEProvider.java
AbstractJSSEProvider.removeEntryFromSSLContextMap
public static void removeEntryFromSSLContextMap(String keyStorePath) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "removeEntryFromSSLContextMap: " + new Object[] { keyStorePath }); List<SSLConfig> removeList = new ArrayList<SSLConfig>(); for (Entr...
java
public static void removeEntryFromSSLContextMap(String keyStorePath) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "removeEntryFromSSLContextMap: " + new Object[] { keyStorePath }); List<SSLConfig> removeList = new ArrayList<SSLConfig>(); for (Entr...
[ "public", "static", "void", "removeEntryFromSSLContextMap", "(", "String", "keyStorePath", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "Tr", ".", "debug", "(", "tc", ",", "\"r...
Give a keyStoreFile location look for the SSLContexts that reference it as either a keystore or truststore then remove those SSLContexts from the cache.
[ "Give", "a", "keyStoreFile", "location", "look", "for", "the", "SSLContexts", "that", "reference", "it", "as", "either", "a", "keystore", "or", "truststore", "then", "remove", "those", "SSLContexts", "from", "the", "cache", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/provider/AbstractJSSEProvider.java#L957-L986
70,609
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/Cursor.java
Cursor.next
public synchronized Entry next() { if (tc.isEntryEnabled()) SibTr.entry(tc, "next"); // can only do anything if the cursor is still pointing in to a list checkEntryParent(); Entry nextEntry = null; synchronized(parentList) { //get the next entry in the list nextEnt...
java
public synchronized Entry next() { if (tc.isEntryEnabled()) SibTr.entry(tc, "next"); // can only do anything if the cursor is still pointing in to a list checkEntryParent(); Entry nextEntry = null; synchronized(parentList) { //get the next entry in the list nextEnt...
[ "public", "synchronized", "Entry", "next", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"next\"", ")", ";", "// can only do anything if the cursor is still pointing in to a list", "checkEntryParent", ...
Synchronized. Move the cursor down to the next entry in the list and return it. @return The next entry in the list, or null if there is no next entry.
[ "Synchronized", ".", "Move", "the", "cursor", "down", "to", "the", "next", "entry", "in", "the", "list", "and", "return", "it", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/Cursor.java#L106-L165
70,610
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/Cursor.java
Cursor.previous
public synchronized Entry previous() { if (tc.isEntryEnabled()) SibTr.entry(tc, "previous"); // can only do anything if the cursor is still pointing in to a list checkEntryParent(); Entry previousEntry = null; synchronized(parentList) { //get the previous entry previousEn...
java
public synchronized Entry previous() { if (tc.isEntryEnabled()) SibTr.entry(tc, "previous"); // can only do anything if the cursor is still pointing in to a list checkEntryParent(); Entry previousEntry = null; synchronized(parentList) { //get the previous entry previousEn...
[ "public", "synchronized", "Entry", "previous", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"previous\"", ")", ";", "// can only do anything if the cursor is still pointing in to a list", "checkEntry...
Synchronized. Move the cursor up to the previous entry in the list and return it. @return The previous entry in the list, or null if there is no previous entry.
[ "Synchronized", ".", "Move", "the", "cursor", "up", "to", "the", "previous", "entry", "in", "the", "list", "and", "return", "it", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/Cursor.java#L173-L233
70,611
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/Cursor.java
Cursor.current
public synchronized Entry current() { if (tc.isEntryEnabled()) SibTr.entry(tc, "current"); checkEntryParent(); if (tc.isEntryEnabled()) SibTr.exit(tc, "current", current); return current; }
java
public synchronized Entry current() { if (tc.isEntryEnabled()) SibTr.entry(tc, "current"); checkEntryParent(); if (tc.isEntryEnabled()) SibTr.exit(tc, "current", current); return current; }
[ "public", "synchronized", "Entry", "current", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"current\"", ")", ";", "checkEntryParent", "(", ")", ";", "if", "(", "tc", ".", "isEntryEnabled...
Synchronized. Get the entry currently pointed to by this cursor. @return the entry currently pointed to by this cursor
[ "Synchronized", ".", "Get", "the", "entry", "currently", "pointed", "to", "by", "this", "cursor", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/Cursor.java#L311-L322
70,612
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/Cursor.java
Cursor.moveToTop
public synchronized void moveToTop() { if (tc.isEntryEnabled()) SibTr.entry(tc, "moveToTop"); checkEntryParent(); //record the reference to the parent list because the call to forceRemove //will nullify it. LinkedList list = parentList; synchronized(list) { //remove the curso...
java
public synchronized void moveToTop() { if (tc.isEntryEnabled()) SibTr.entry(tc, "moveToTop"); checkEntryParent(); //record the reference to the parent list because the call to forceRemove //will nullify it. LinkedList list = parentList; synchronized(list) { //remove the curso...
[ "public", "synchronized", "void", "moveToTop", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"moveToTop\"", ")", ";", "checkEntryParent", "(", ")", ";", "//record the reference to the parent list...
Synchronized. Move the cursor to the top of the list.
[ "Synchronized", ".", "Move", "the", "cursor", "to", "the", "top", "of", "the", "list", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/Cursor.java#L327-L357
70,613
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/Cursor.java
Cursor.moveToBottom
public synchronized void moveToBottom() { if (tc.isEntryEnabled()) SibTr.entry(tc, "moveToBottom"); checkEntryParent(); //record the parent list LinkedList list = parentList; synchronized(list) { //remove the cursor from it current position forceRemove(); //reset ...
java
public synchronized void moveToBottom() { if (tc.isEntryEnabled()) SibTr.entry(tc, "moveToBottom"); checkEntryParent(); //record the parent list LinkedList list = parentList; synchronized(list) { //remove the cursor from it current position forceRemove(); //reset ...
[ "public", "synchronized", "void", "moveToBottom", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"moveToBottom\"", ")", ";", "checkEntryParent", "(", ")", ";", "//record the parent list", "Linke...
Synchronized. Move the cursor to the bottom of the list.
[ "Synchronized", ".", "Move", "the", "cursor", "to", "the", "bottom", "of", "the", "list", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/Cursor.java#L362-L389
70,614
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/Cursor.java
Cursor.moveCursor
public synchronized void moveCursor(Entry newEntry) { if (tc.isEntryEnabled()) SibTr.entry(tc, "moveCursor", new Object[] { newEntry }); checkEntryParent(); //if the entry is the same as the current one //then we don't need to bother doing anything if(newEntry != current) { ...
java
public synchronized void moveCursor(Entry newEntry) { if (tc.isEntryEnabled()) SibTr.entry(tc, "moveCursor", new Object[] { newEntry }); checkEntryParent(); //if the entry is the same as the current one //then we don't need to bother doing anything if(newEntry != current) { ...
[ "public", "synchronized", "void", "moveCursor", "(", "Entry", "newEntry", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"moveCursor\"", ",", "new", "Object", "[", "]", "{", "newEntry", "}", ")...
Synchronized. Move this cursor to point at a different entry in the same list. @param newEntry
[ "Synchronized", ".", "Move", "this", "cursor", "to", "point", "at", "a", "different", "entry", "in", "the", "same", "list", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/Cursor.java#L397-L454
70,615
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/Cursor.java
Cursor.moveCursor
public synchronized void moveCursor(Cursor cursor) { if (tc.isEntryEnabled()) SibTr.entry(tc, "moveCursor", new Object[] { cursor }); checkEntryParent(); synchronized(parentList) { //make sure that the cursor is pointing to an entry in the same list if(cursor != null && c...
java
public synchronized void moveCursor(Cursor cursor) { if (tc.isEntryEnabled()) SibTr.entry(tc, "moveCursor", new Object[] { cursor }); checkEntryParent(); synchronized(parentList) { //make sure that the cursor is pointing to an entry in the same list if(cursor != null && c...
[ "public", "synchronized", "void", "moveCursor", "(", "Cursor", "cursor", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"moveCursor\"", ",", "new", "Object", "[", "]", "{", "cursor", "}", ")", ...
Synchronized. Move this cursor to point at the same one as a given cursor. @param cursor
[ "Synchronized", ".", "Move", "this", "cursor", "to", "point", "at", "the", "same", "one", "as", "a", "given", "cursor", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/Cursor.java#L461-L538
70,616
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/Cursor.java
Cursor.forceRemove
Entry forceRemove() { Entry removedEntry = null; checkEntryParent(); if(atTop) { //if we are at the top of the list and we are the first top cursor if(parentList.firstTopCursor == this) { //set the first top cursor to be the next one in the list parentList.f...
java
Entry forceRemove() { Entry removedEntry = null; checkEntryParent(); if(atTop) { //if we are at the top of the list and we are the first top cursor if(parentList.firstTopCursor == this) { //set the first top cursor to be the next one in the list parentList.f...
[ "Entry", "forceRemove", "(", ")", "{", "Entry", "removedEntry", "=", "null", ";", "checkEntryParent", "(", ")", ";", "if", "(", "atTop", ")", "{", "//if we are at the top of the list and we are the first top cursor", "if", "(", "parentList", ".", "firstTopCursor", "...
Not Synchronized. Removes a cursor from the list. It is the responsibility of the caller to ensure that the list AND the cursor are properly synchronized before this method is called.
[ "Not", "Synchronized", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/Cursor.java#L547-L591
70,617
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/Cursor.java
Cursor.finished
public synchronized void finished() { if (tc.isEntryEnabled()) SibTr.entry(tc, "finished"); checkEntryParent(); synchronized(parentList) { //remove the cursor from the list //this will set the parent list reference to null and make the //cursor seubsequently unusable ...
java
public synchronized void finished() { if (tc.isEntryEnabled()) SibTr.entry(tc, "finished"); checkEntryParent(); synchronized(parentList) { //remove the cursor from the list //this will set the parent list reference to null and make the //cursor seubsequently unusable ...
[ "public", "synchronized", "void", "finished", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"finished\"", ")", ";", "checkEntryParent", "(", ")", ";", "synchronized", "(", "parentList", ")"...
Synchronized. Indicate that this cursor is finished with. This call will remove this cursor from the list and make it subsequently unusable.
[ "Synchronized", ".", "Indicate", "that", "this", "cursor", "is", "finished", "with", ".", "This", "call", "will", "remove", "this", "cursor", "from", "the", "list", "and", "make", "it", "subsequently", "unusable", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/Cursor.java#L597-L614
70,618
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java
MessageItem.getMessageIfAvailable
@Override public JsMessage getMessageIfAvailable() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getMessageIfAvailable"); //If message is not available in the message store do not throw exception boolean throwExceptionIfNotAvailabl...
java
@Override public JsMessage getMessageIfAvailable() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getMessageIfAvailable"); //If message is not available in the message store do not throw exception boolean throwExceptionIfNotAvailabl...
[ "@", "Override", "public", "JsMessage", "getMessageIfAvailable", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getM...
Get the underlying message object,only if the message is available in the message store @return The underlying message object
[ "Get", "the", "underlying", "message", "object", "only", "if", "the", "message", "is", "available", "in", "the", "message", "store" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java#L408-L422
70,619
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java
MessageItem.getInMemoryDataSize
@Override public int getInMemoryDataSize() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getInMemoryDataSize"); JsMessage localMsg = getJSMessage(true); int msgSize = localMsg.getInMemorySize(); if (TraceComponent.isAnyTra...
java
@Override public int getInMemoryDataSize() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getInMemoryDataSize"); JsMessage localMsg = getJSMessage(true); int msgSize = localMsg.getInMemorySize(); if (TraceComponent.isAnyTra...
[ "@", "Override", "public", "int", "getInMemoryDataSize", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getInMemoryD...
Returns an estimated in memory size for the Message that we have.
[ "Returns", "an", "estimated", "in", "memory", "size", "for", "the", "Message", "that", "we", "have", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java#L823-L836
70,620
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java
MessageItem.getReliability
@Override public Reliability getReliability() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getReliability"); if (msgReliability == null) { JsMessage localMsg = getJSMessage(true); msgReliability = localMsg....
java
@Override public Reliability getReliability() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getReliability"); if (msgReliability == null) { JsMessage localMsg = getJSMessage(true); msgReliability = localMsg....
[ "@", "Override", "public", "Reliability", "getReliability", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getReliab...
Get the message's Reliability @return the message's Reliability
[ "Get", "the", "message", "s", "Reliability" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java#L843-L859
70,621
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java
MessageItem.setReliability
public void setReliability(Reliability reliability) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setReliability", reliability); JsMessage localMsg = getJSMessage(true); msgReliability = reliability; localMsg.setReliability(msg...
java
public void setReliability(Reliability reliability) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setReliability", reliability); JsMessage localMsg = getJSMessage(true); msgReliability = reliability; localMsg.setReliability(msg...
[ "public", "void", "setReliability", "(", "Reliability", "reliability", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"set...
Sets both the cached version of the reliability and the reliability in the underlying message. Called by the AbstractInputHandler to update the message reliability to that of the destination. @param reliability
[ "Sets", "both", "the", "cached", "version", "of", "the", "reliability", "and", "the", "reliability", "in", "the", "underlying", "message", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java#L870-L880
70,622
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java
MessageItem.getMaximumTimeInStore
@Override public long getMaximumTimeInStore() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getMaximumTimeInStore"); JsMessage localMsg = getJSMessage(true); long timeToLive = localMsg.getTimeToLive().longValue(); long maxT...
java
@Override public long getMaximumTimeInStore() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getMaximumTimeInStore"); JsMessage localMsg = getJSMessage(true); long timeToLive = localMsg.getTimeToLive().longValue(); long maxT...
[ "@", "Override", "public", "long", "getMaximumTimeInStore", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getMaximu...
Return the maximum time this message should spend in the ItemStream. If the message has no time to live then this should be the message store's decision. Otherwise we use the time to live less the time the message has already spend in the ME. This method first appeared in feature 166831.1
[ "Return", "the", "maximum", "time", "this", "message", "should", "spend", "in", "the", "ItemStream", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java#L907-L926
70,623
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java
MessageItem.getProducerConnectionUuid
@Override public SIBUuid12 getProducerConnectionUuid() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "getProducerConnectionUuid"); } if (producerConnectionUuid == null) { JsMessage localMsg = getJSMessa...
java
@Override public SIBUuid12 getProducerConnectionUuid() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "getProducerConnectionUuid"); } if (producerConnectionUuid == null) { JsMessage localMsg = getJSMessa...
[ "@", "Override", "public", "SIBUuid12", "getProducerConnectionUuid", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "this", ",", "tc", ","...
Returns the producerConnectionUuid. Please note, this value may be null in the case of a p2p message. @return SIBUuid12
[ "Returns", "the", "producerConnectionUuid", ".", "Please", "note", "this", "value", "may", "be", "null", "in", "the", "case", "of", "a", "p2p", "message", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java#L1641-L1661
70,624
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java
MessageItem.setProducerConnectionUuid
public void setProducerConnectionUuid(SIBUuid12 producerConnectionUuid) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setProducerConnectionUuid", producerConnectionUuid); this.producerConnectionUuid = producerConnectionUuid; if (Trace...
java
public void setProducerConnectionUuid(SIBUuid12 producerConnectionUuid) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setProducerConnectionUuid", producerConnectionUuid); this.producerConnectionUuid = producerConnectionUuid; if (Trace...
[ "public", "void", "setProducerConnectionUuid", "(", "SIBUuid12", "producerConnectionUuid", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "...
Sets the producerConnectionUuid. @param producerConnectionUuid The producerConnectionUuid to set
[ "Sets", "the", "producerConnectionUuid", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java#L1668-L1677
70,625
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java
MessageItem.isTransacted
@Override public boolean isTransacted() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "isTransacted"); SibTr.exit(this, tc, "isTransacted", Boolean.valueOf(transacted)); } return transacted; }
java
@Override public boolean isTransacted() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "isTransacted"); SibTr.exit(this, tc, "isTransacted", Boolean.valueOf(transacted)); } return transacted; }
[ "@", "Override", "public", "boolean", "isTransacted", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"isTransa...
Was this message put transactionally @return true if this message was put transactionally
[ "Was", "this", "message", "put", "transactionally" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java#L1783-L1792
70,626
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java
MessageItem.setMaxStorageStrategy
public void setMaxStorageStrategy(int requestedMaxStrategy) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setMaxStorageStrategy", Integer.valueOf(requestedMaxStrategy)); ma...
java
public void setMaxStorageStrategy(int requestedMaxStrategy) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setMaxStorageStrategy", Integer.valueOf(requestedMaxStrategy)); ma...
[ "public", "void", "setMaxStorageStrategy", "(", "int", "requestedMaxStrategy", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", ...
Set the maximum storage strategy permitted
[ "Set", "the", "maximum", "storage", "strategy", "permitted" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java#L1808-L1818
70,627
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java
MessageItem.setPriority
public void setPriority(int newPriority) { JsMessage localMsg = getJSMessage(true); msgPriority = newPriority; localMsg.setPriority(newPriority); }
java
public void setPriority(int newPriority) { JsMessage localMsg = getJSMessage(true); msgPriority = newPriority; localMsg.setPriority(newPriority); }
[ "public", "void", "setPriority", "(", "int", "newPriority", ")", "{", "JsMessage", "localMsg", "=", "getJSMessage", "(", "true", ")", ";", "msgPriority", "=", "newPriority", ";", "localMsg", ".", "setPriority", "(", "newPriority", ")", ";", "}" ]
Set the message priority and cache it
[ "Set", "the", "message", "priority", "and", "cache", "it" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java#L1871-L1876
70,628
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java
MessageItem.addPersistentRef
public void addPersistentRef() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "addPersistentRef"); // We have at least one durable reference so the message // must maintain its level of persistence maintainPersistence = 1; ...
java
public void addPersistentRef() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "addPersistentRef"); // We have at least one durable reference so the message // must maintain its level of persistence maintainPersistence = 1; ...
[ "public", "void", "addPersistentRef", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"addPersistentRef\"", ")", ";", ...
Note the existence of a persistent reference
[ "Note", "the", "existence", "of", "a", "persistent", "reference" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java#L2153-L2164
70,629
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java
MessageItem.setOriginatingBus
private void setOriginatingBus(String busName) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setOriginatingBus", busName); _busName = busName; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this,...
java
private void setOriginatingBus(String busName) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setOriginatingBus", busName); _busName = busName; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this,...
[ "private", "void", "setOriginatingBus", "(", "String", "busName", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"setOrigi...
Sets the previous hop Bus name @param busName
[ "Sets", "the", "previous", "hop", "Bus", "name" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java#L2908-L2915
70,630
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java
MessageItem.getOriginatingBus
public String getOriginatingBus() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "getOriginatingBus"); SibTr.exit(this, tc, "getOriginatingBus", _busName); } return _busName; }
java
public String getOriginatingBus() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "getOriginatingBus"); SibTr.exit(this, tc, "getOriginatingBus", _busName); } return _busName; }
[ "public", "String", "getOriginatingBus", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getOriginatingBus\"", "...
Gets the bus that the message was previously at. @return
[ "Gets", "the", "bus", "that", "the", "message", "was", "previously", "at", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java#L2922-L2930
70,631
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java
MessageItem.forceCurrentMEArrivalTimeToJsMessage
public void forceCurrentMEArrivalTimeToJsMessage() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "forceCurrentMEArrivalTimeToJsMessage"); if (!arrivalTimeStored) { JsMessage localMsg = getJSMessage(true); localMs...
java
public void forceCurrentMEArrivalTimeToJsMessage() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "forceCurrentMEArrivalTimeToJsMessage"); if (!arrivalTimeStored) { JsMessage localMsg = getJSMessage(true); localMs...
[ "public", "void", "forceCurrentMEArrivalTimeToJsMessage", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"forceCurrentMEA...
Forces the local messageItem currentMEArrivalTime value to be set to the JsMessage rather than wait till the data has been spilled to the db. This method will only work if messageItem.setCurrentMEArrivalTimestamp has been called previously.
[ "Forces", "the", "local", "messageItem", "currentMEArrivalTime", "value", "to", "be", "set", "to", "the", "JsMessage", "rather", "than", "wait", "till", "the", "data", "has", "been", "spilled", "to", "the", "db", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java#L2961-L2975
70,632
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java
MessageItem.unlockMsg
@Override public void unlockMsg(long lockID, Transaction transaction, boolean incrementUnlock) throws MessageStoreException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "unlockMsg", new Object[] { Long.valueOf(lockID), transaction, Boolean.valueOf(increm...
java
@Override public void unlockMsg(long lockID, Transaction transaction, boolean incrementUnlock) throws MessageStoreException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "unlockMsg", new Object[] { Long.valueOf(lockID), transaction, Boolean.valueOf(increm...
[ "@", "Override", "public", "void", "unlockMsg", "(", "long", "lockID", ",", "Transaction", "transaction", ",", "boolean", "incrementUnlock", ")", "throws", "MessageStoreException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc",...
unlockMsg - call any registered callbacks before we unlock the message N.B All MP unlocking should go through this method
[ "unlockMsg", "-", "call", "any", "registered", "callbacks", "before", "we", "unlock", "the", "message", "N", ".", "B", "All", "MP", "unlocking", "should", "go", "through", "this", "method" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java#L3009-L3077
70,633
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java
MessageItem.setRegisterForPostEvents
public void setRegisterForPostEvents(boolean registerEvents) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "setRegisterForPostEvents", Boolean.valueOf(registerEvents)); SibTr.exit(this, tc, "setRegisterForPostEvents"); } ...
java
public void setRegisterForPostEvents(boolean registerEvents) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "setRegisterForPostEvents", Boolean.valueOf(registerEvents)); SibTr.exit(this, tc, "setRegisterForPostEvents"); } ...
[ "public", "void", "setRegisterForPostEvents", "(", "boolean", "registerEvents", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "this", ",", "tc",...
sets whether event listeners has to be registered for post events
[ "sets", "whether", "event", "listeners", "has", "to", "be", "registered", "for", "post", "events" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/MessageItem.java#L3458-L3466
70,634
OpenLiberty/open-liberty
dev/com.ibm.ws.microprofile.config.1.1/src/com/ibm/ws/microprofile/config/converters/PriorityConverterMap.java
PriorityConverterMap.addAll
@Trivial public void addAll(PriorityConverterMap convertersToAdd) { for (PriorityConverter converter : convertersToAdd.converters.values()) { _addConverter(converter); } }
java
@Trivial public void addAll(PriorityConverterMap convertersToAdd) { for (PriorityConverter converter : convertersToAdd.converters.values()) { _addConverter(converter); } }
[ "@", "Trivial", "public", "void", "addAll", "(", "PriorityConverterMap", "convertersToAdd", ")", "{", "for", "(", "PriorityConverter", "converter", ":", "convertersToAdd", ".", "converters", ".", "values", "(", ")", ")", "{", "_addConverter", "(", "converter", "...
Add all of the converters from the given map to this one... if they have a higher priority as above @param convertersToAdd the converters to add
[ "Add", "all", "of", "the", "converters", "from", "the", "given", "map", "to", "this", "one", "...", "if", "they", "have", "a", "higher", "priority", "as", "above" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.config.1.1/src/com/ibm/ws/microprofile/config/converters/PriorityConverterMap.java#L92-L97
70,635
OpenLiberty/open-liberty
dev/com.ibm.ws.microprofile.config.1.1/src/com/ibm/ws/microprofile/config/converters/PriorityConverterMap.java
PriorityConverterMap.getConverter
public PriorityConverter getConverter(Type type) { PriorityConverter converter = converters.get(type); return converter; }
java
public PriorityConverter getConverter(Type type) { PriorityConverter converter = converters.get(type); return converter; }
[ "public", "PriorityConverter", "getConverter", "(", "Type", "type", ")", "{", "PriorityConverter", "converter", "=", "converters", ".", "get", "(", "type", ")", ";", "return", "converter", ";", "}" ]
Get a converter for the given type @param <T> @param type the type to find a converter for @return the converter for the given type
[ "Get", "a", "converter", "for", "the", "given", "type" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.config.1.1/src/com/ibm/ws/microprofile/config/converters/PriorityConverterMap.java#L107-L110
70,636
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/provisioning/VersionUtility.java
VersionUtility.stringToVersion
public static Version stringToVersion(String str) { if (str == null || str.isEmpty() || str.equals("0")) { return Version.emptyVersion; } if (str.equals("1") || str.equals("1.0") || str.equals("1.0.0")) return VERSION_1_0; return new Version(str); }
java
public static Version stringToVersion(String str) { if (str == null || str.isEmpty() || str.equals("0")) { return Version.emptyVersion; } if (str.equals("1") || str.equals("1.0") || str.equals("1.0.0")) return VERSION_1_0; return new Version(str); }
[ "public", "static", "Version", "stringToVersion", "(", "String", "str", ")", "{", "if", "(", "str", "==", "null", "||", "str", ".", "isEmpty", "(", ")", "||", "str", ".", "equals", "(", "\"0\"", ")", ")", "{", "return", "Version", ".", "emptyVersion", ...
Convert a string into a Version, reusing common Version objects if we can. @param str String to convert to a Version @return Version
[ "Convert", "a", "string", "into", "a", "Version", "reusing", "common", "Version", "objects", "if", "we", "can", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/provisioning/VersionUtility.java#L36-L45
70,637
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/provisioning/VersionUtility.java
VersionUtility.stringToVersionRange
public static final VersionRange stringToVersionRange(String str) { if (str == null || str.isEmpty() || "0".equals(str)) return EMPTY_RANGE; if ("[1,1.0.100)".equals(str) || "[1.0,1.0.100)".equals(str) || "[1.0.0,1.0.100)".equals(str)) return INITIAL_RANGE; return new V...
java
public static final VersionRange stringToVersionRange(String str) { if (str == null || str.isEmpty() || "0".equals(str)) return EMPTY_RANGE; if ("[1,1.0.100)".equals(str) || "[1.0,1.0.100)".equals(str) || "[1.0.0,1.0.100)".equals(str)) return INITIAL_RANGE; return new V...
[ "public", "static", "final", "VersionRange", "stringToVersionRange", "(", "String", "str", ")", "{", "if", "(", "str", "==", "null", "||", "str", ".", "isEmpty", "(", ")", "||", "\"0\"", ".", "equals", "(", "str", ")", ")", "return", "EMPTY_RANGE", ";", ...
Convert a string into a VersionRange, reusing common VersionRange objects if we can. @param str String to convert to a VersionRange @return VersionRange
[ "Convert", "a", "string", "into", "a", "VersionRange", "reusing", "common", "VersionRange", "objects", "if", "we", "can", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/provisioning/VersionUtility.java#L54-L62
70,638
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/wsspi/http/HttpCookie.java
HttpCookie.setAttribute
public void setAttribute(String name, String value) { this.myAttrs.put(name.toLowerCase(), value); }
java
public void setAttribute(String name, String value) { this.myAttrs.put(name.toLowerCase(), value); }
[ "public", "void", "setAttribute", "(", "String", "name", ",", "String", "value", ")", "{", "this", ".", "myAttrs", ".", "put", "(", "name", ".", "toLowerCase", "(", ")", ",", "value", ")", ";", "}" ]
Set a generic attribute on this cookie. @param name @param value
[ "Set", "a", "generic", "attribute", "on", "this", "cookie", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/wsspi/http/HttpCookie.java#L114-L116
70,639
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/internal/URLHandler.java
URLHandler.getServletURI
public String getServletURI(HttpServletRequest req) { String uriName = req.getServletPath(); String pathInfo = req.getPathInfo(); if (pathInfo != null) uriName = uriName.concat(pathInfo); if (uriName == null || uriName.length() == 0) uriName = "/"; uriNa...
java
public String getServletURI(HttpServletRequest req) { String uriName = req.getServletPath(); String pathInfo = req.getPathInfo(); if (pathInfo != null) uriName = uriName.concat(pathInfo); if (uriName == null || uriName.length() == 0) uriName = "/"; uriNa...
[ "public", "String", "getServletURI", "(", "HttpServletRequest", "req", ")", "{", "String", "uriName", "=", "req", ".", "getServletPath", "(", ")", ";", "String", "pathInfo", "=", "req", ".", "getPathInfo", "(", ")", ";", "if", "(", "pathInfo", "!=", "null"...
Return the full servlet path, including any additional path info. getRequestURI includes the ContextPath of the URL. As per Servlet 2.2 specifications, URL mapping does not include the ContextPath. Thus, we should use ServletPath + PathInfo. @param req HttpServletRequest
[ "Return", "the", "full", "servlet", "path", "including", "any", "additional", "path", "info", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/internal/URLHandler.java#L161-L182
70,640
OpenLiberty/open-liberty
dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/AbstractDirector.java
AbstractDirector.fireProgressEvent
void fireProgressEvent(int state, int progress, String message) { try { fireProgressEvent(state, progress, message, false); } catch (InstallException e) { } }
java
void fireProgressEvent(int state, int progress, String message) { try { fireProgressEvent(state, progress, message, false); } catch (InstallException e) { } }
[ "void", "fireProgressEvent", "(", "int", "state", ",", "int", "progress", ",", "String", "message", ")", "{", "try", "{", "fireProgressEvent", "(", "state", ",", "progress", ",", "message", ",", "false", ")", ";", "}", "catch", "(", "InstallException", "e"...
Creates a Progress event message. @param state the state integer @param progress the progress integer @param message the message to be displayed
[ "Creates", "a", "Progress", "event", "message", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/AbstractDirector.java#L58-L63
70,641
OpenLiberty/open-liberty
dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/AbstractDirector.java
AbstractDirector.fireProgressEvent
void fireProgressEvent(int state, int progress, String message, boolean allowCancel) throws InstallException { log(Level.FINEST, message); if (enableEvent) { try { eventManager.fireProgressEvent(state, progress, message); } catch (CancelException ce) { ...
java
void fireProgressEvent(int state, int progress, String message, boolean allowCancel) throws InstallException { log(Level.FINEST, message); if (enableEvent) { try { eventManager.fireProgressEvent(state, progress, message); } catch (CancelException ce) { ...
[ "void", "fireProgressEvent", "(", "int", "state", ",", "int", "progress", ",", "String", "message", ",", "boolean", "allowCancel", ")", "throws", "InstallException", "{", "log", "(", "Level", ".", "FINEST", ",", "message", ")", ";", "if", "(", "enableEvent",...
Creates a Progress event message that can handle cancel exceptions. @param state the state integer @param progress the progress integer @param message the message to be displayed @param allowCancel if cancel exceptions should be handled @throws InstallException
[ "Creates", "a", "Progress", "event", "message", "that", "can", "handle", "cancel", "exceptions", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/AbstractDirector.java#L74-L88
70,642
OpenLiberty/open-liberty
dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/AbstractDirector.java
AbstractDirector.log
void log(Level level, String msg, Exception e) { if (e != null) logger.log(level, msg, e); }
java
void log(Level level, String msg, Exception e) { if (e != null) logger.log(level, msg, e); }
[ "void", "log", "(", "Level", "level", ",", "String", "msg", ",", "Exception", "e", ")", "{", "if", "(", "e", "!=", "null", ")", "logger", ".", "log", "(", "level", ",", "msg", ",", "e", ")", ";", "}" ]
Logs a message with an exception. @param level the level of the message @param msg the message @param e the exception causing the message
[ "Logs", "a", "message", "with", "an", "exception", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/AbstractDirector.java#L108-L111
70,643
OpenLiberty/open-liberty
dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/AbstractDirector.java
AbstractDirector.isEmpty
boolean isEmpty(Map<String, List<List<RepositoryResource>>> installResources) { if (installResources == null) return true; for (List<List<RepositoryResource>> targetList : installResources.values()) { for (List<RepositoryResource> mrList : targetList) { if (!mrLis...
java
boolean isEmpty(Map<String, List<List<RepositoryResource>>> installResources) { if (installResources == null) return true; for (List<List<RepositoryResource>> targetList : installResources.values()) { for (List<RepositoryResource> mrList : targetList) { if (!mrLis...
[ "boolean", "isEmpty", "(", "Map", "<", "String", ",", "List", "<", "List", "<", "RepositoryResource", ">", ">", ">", "installResources", ")", "{", "if", "(", "installResources", "==", "null", ")", "return", "true", ";", "for", "(", "List", "<", "List", ...
Checks if installResources map contains any resources @param installResources the map of installResources @return true if all lists in the map are empty
[ "Checks", "if", "installResources", "map", "contains", "any", "resources" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/AbstractDirector.java#L119-L129
70,644
OpenLiberty/open-liberty
dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/AbstractDirector.java
AbstractDirector.isEmpty
boolean isEmpty(List<List<RepositoryResource>> installResources) { if (installResources == null) return true; for (List<RepositoryResource> mrList : installResources) { if (!mrList.isEmpty()) return false; } return true; }
java
boolean isEmpty(List<List<RepositoryResource>> installResources) { if (installResources == null) return true; for (List<RepositoryResource> mrList : installResources) { if (!mrList.isEmpty()) return false; } return true; }
[ "boolean", "isEmpty", "(", "List", "<", "List", "<", "RepositoryResource", ">", ">", "installResources", ")", "{", "if", "(", "installResources", "==", "null", ")", "return", "true", ";", "for", "(", "List", "<", "RepositoryResource", ">", "mrList", ":", "...
Checks if installResources contains any resources @param installResources the list of lists containing Install Resources @return true if all lists are empty
[ "Checks", "if", "installResources", "contains", "any", "resources" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/AbstractDirector.java#L137-L145
70,645
OpenLiberty/open-liberty
dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/AbstractDirector.java
AbstractDirector.containFeature
boolean containFeature(Map<String, ProvisioningFeatureDefinition> installedFeatures, String feature) { if (installedFeatures.containsKey(feature)) return true; for (ProvisioningFeatureDefinition pfd : installedFeatures.values()) { String shortName = InstallUtils.getShortName(pfd)...
java
boolean containFeature(Map<String, ProvisioningFeatureDefinition> installedFeatures, String feature) { if (installedFeatures.containsKey(feature)) return true; for (ProvisioningFeatureDefinition pfd : installedFeatures.values()) { String shortName = InstallUtils.getShortName(pfd)...
[ "boolean", "containFeature", "(", "Map", "<", "String", ",", "ProvisioningFeatureDefinition", ">", "installedFeatures", ",", "String", "feature", ")", "{", "if", "(", "installedFeatures", ".", "containsKey", "(", "feature", ")", ")", "return", "true", ";", "for"...
Checks if the feature is in installedFeatures @param installedFeatures the map of installed features @param feature the feature to look for @return true if feature is in installedFeatures
[ "Checks", "if", "the", "feature", "is", "in", "installedFeatures" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/AbstractDirector.java#L154-L163
70,646
OpenLiberty/open-liberty
dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/AbstractDirector.java
AbstractDirector.getFeaturesToInstall
Collection<String> getFeaturesToInstall(Collection<String> requiredFeatures, boolean download) { Collection<String> featuresToInstall = new ArrayList<String>(requiredFeatures.size()); if (!requiredFeatures.isEmpty()) { Map<String, ProvisioningFeatureDefinition> installedFeatures = product.ge...
java
Collection<String> getFeaturesToInstall(Collection<String> requiredFeatures, boolean download) { Collection<String> featuresToInstall = new ArrayList<String>(requiredFeatures.size()); if (!requiredFeatures.isEmpty()) { Map<String, ProvisioningFeatureDefinition> installedFeatures = product.ge...
[ "Collection", "<", "String", ">", "getFeaturesToInstall", "(", "Collection", "<", "String", ">", "requiredFeatures", ",", "boolean", "download", ")", "{", "Collection", "<", "String", ">", "featuresToInstall", "=", "new", "ArrayList", "<", "String", ">", "(", ...
Creates a collection of features that still need to be installed @param requiredFeatures Collection of all features that should be installed @param download if all features (including already installed) should be downloaded @return The subset of requiredFeatures containing features that still need to be installed
[ "Creates", "a", "collection", "of", "features", "that", "still", "need", "to", "be", "installed" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/AbstractDirector.java#L172-L182
70,647
OpenLiberty/open-liberty
dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/AbstractDirector.java
AbstractDirector.containScript
boolean containScript(List<File> filesInstalled) { for (File f : filesInstalled) { String path = f.getAbsolutePath().toLowerCase(); if (path.contains("/bin/") || path.contains("\\bin\\")) { return true; } } return false; }
java
boolean containScript(List<File> filesInstalled) { for (File f : filesInstalled) { String path = f.getAbsolutePath().toLowerCase(); if (path.contains("/bin/") || path.contains("\\bin\\")) { return true; } } return false; }
[ "boolean", "containScript", "(", "List", "<", "File", ">", "filesInstalled", ")", "{", "for", "(", "File", "f", ":", "filesInstalled", ")", "{", "String", "path", "=", "f", ".", "getAbsolutePath", "(", ")", ".", "toLowerCase", "(", ")", ";", "if", "(",...
Checks if filesInstalled includes scripts in a bin folder. @param filesInstalled the list of files that are installed @return true if at least one file is in the bin path
[ "Checks", "if", "filesInstalled", "includes", "scripts", "in", "a", "bin", "folder", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/AbstractDirector.java#L190-L198
70,648
OpenLiberty/open-liberty
dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/impl/core/util/AnnotationsUtils.java
AnnotationsUtils.getNameOfReferenceableItem
public static String getNameOfReferenceableItem(Object annotation) { if (annotation == null) { return ""; } String name = "", ref = ""; if (annotation instanceof org.eclipse.microprofile.openapi.annotations.headers.Header) { name = ((org.eclipse.microprofile.open...
java
public static String getNameOfReferenceableItem(Object annotation) { if (annotation == null) { return ""; } String name = "", ref = ""; if (annotation instanceof org.eclipse.microprofile.openapi.annotations.headers.Header) { name = ((org.eclipse.microprofile.open...
[ "public", "static", "String", "getNameOfReferenceableItem", "(", "Object", "annotation", ")", "{", "if", "(", "annotation", "==", "null", ")", "{", "return", "\"\"", ";", "}", "String", "name", "=", "\"\"", ",", "ref", "=", "\"\"", ";", "if", "(", "annot...
Retrieve the name If the item is a reference and name attribute is not specified then returns the simple name of the reference. @param annotation item @return name of the item
[ "Retrieve", "the", "name" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/impl/core/util/AnnotationsUtils.java#L175-L203
70,649
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/ConsumerMonitorRegistrar.java
ConsumerMonitorRegistrar.getExactSubsSize
public int getExactSubsSize(String topicExpression) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getExactSubsSize", topicExpression); int numSubs = 0; // Test whether table is now empty if(!_registeredExactConsumerMonitors.isEmpty()) { if(_registe...
java
public int getExactSubsSize(String topicExpression) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getExactSubsSize", topicExpression); int numSubs = 0; // Test whether table is now empty if(!_registeredExactConsumerMonitors.isEmpty()) { if(_registe...
[ "public", "int", "getExactSubsSize", "(", "String", "topicExpression", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"getExactSubsSize\"",...
Methods for integrity checks - used in unit testing
[ "Methods", "for", "integrity", "checks", "-", "used", "in", "unit", "testing" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/ConsumerMonitorRegistrar.java#L1297-L1322
70,650
OpenLiberty/open-liberty
dev/com.ibm.ws.security.common/src/com/ibm/ws/security/common/time/TimeUtils.java
TimeUtils.setSimpleDateFormat
@FFDCIgnore(value = { Exception.class }) public void setSimpleDateFormat(String formatString) { if (formatString == null) { if (tc.isDebugEnabled()) { Tr.debug(tc, "Null format string provided; date format will not be changed"); } return; } ...
java
@FFDCIgnore(value = { Exception.class }) public void setSimpleDateFormat(String formatString) { if (formatString == null) { if (tc.isDebugEnabled()) { Tr.debug(tc, "Null format string provided; date format will not be changed"); } return; } ...
[ "@", "FFDCIgnore", "(", "value", "=", "{", "Exception", ".", "class", "}", ")", "public", "void", "setSimpleDateFormat", "(", "String", "formatString", ")", "{", "if", "(", "formatString", "==", "null", ")", "{", "if", "(", "tc", ".", "isDebugEnabled", "...
Set the SimpleDateFormat string that should be used to format date strings created by this class. @param formatString
[ "Set", "the", "SimpleDateFormat", "string", "that", "should", "be", "used", "to", "format", "date", "strings", "created", "by", "this", "class", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.common/src/com/ibm/ws/security/common/time/TimeUtils.java#L43-L59
70,651
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/InboundVirtualConnectionImpl.java
InboundVirtualConnectionImpl.cleanUpMaybeDiscriminatorState
public void cleanUpMaybeDiscriminatorState() { if (this.dp != null) { Discriminator d; Iterator<Discriminator> it = this.dp.getDiscriminators().iterator(); int i = 0; while (it.hasNext()) { d = it.next(); if (Discriminator.MAYBE == ...
java
public void cleanUpMaybeDiscriminatorState() { if (this.dp != null) { Discriminator d; Iterator<Discriminator> it = this.dp.getDiscriminators().iterator(); int i = 0; while (it.hasNext()) { d = it.next(); if (Discriminator.MAYBE == ...
[ "public", "void", "cleanUpMaybeDiscriminatorState", "(", ")", "{", "if", "(", "this", ".", "dp", "!=", "null", ")", "{", "Discriminator", "d", ";", "Iterator", "<", "Discriminator", ">", "it", "=", "this", ".", "dp", ".", "getDiscriminators", "(", ")", "...
Clean up potential state information left in this VC from any of the discriminators in the group which resulted in MAYBE during the discrimination process.
[ "Clean", "up", "potential", "state", "information", "left", "in", "this", "VC", "from", "any", "of", "the", "discriminators", "in", "the", "group", "which", "resulted", "in", "MAYBE", "during", "the", "discrimination", "process", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/InboundVirtualConnectionImpl.java#L92-L104
70,652
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/InboundVirtualConnectionImpl.java
InboundVirtualConnectionImpl.cleanUpAllDiscriminatorState
public void cleanUpAllDiscriminatorState() { if (this.dp != null) { Iterator<Discriminator> it = this.dp.getDiscriminators().iterator(); while (it.hasNext()) { it.next().cleanUpState(this); } } }
java
public void cleanUpAllDiscriminatorState() { if (this.dp != null) { Iterator<Discriminator> it = this.dp.getDiscriminators().iterator(); while (it.hasNext()) { it.next().cleanUpState(this); } } }
[ "public", "void", "cleanUpAllDiscriminatorState", "(", ")", "{", "if", "(", "this", ".", "dp", "!=", "null", ")", "{", "Iterator", "<", "Discriminator", ">", "it", "=", "this", ".", "dp", ".", "getDiscriminators", "(", ")", ".", "iterator", "(", ")", "...
Clean up potential state information left in this VC from any of the discriminators in the group.
[ "Clean", "up", "potential", "state", "information", "left", "in", "this", "VC", "from", "any", "of", "the", "discriminators", "in", "the", "group", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/InboundVirtualConnectionImpl.java#L110-L117
70,653
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/flow/cdi/FlowScopeBeanHolder.java
FlowScopeBeanHolder.getContextualStorage
public ContextualStorage getContextualStorage(BeanManager beanManager, String flowClientWindowId) { ContextualStorage contextualStorage = storageMap.get(flowClientWindowId); if (contextualStorage == null) { synchronized (this) { contextualStorage = sto...
java
public ContextualStorage getContextualStorage(BeanManager beanManager, String flowClientWindowId) { ContextualStorage contextualStorage = storageMap.get(flowClientWindowId); if (contextualStorage == null) { synchronized (this) { contextualStorage = sto...
[ "public", "ContextualStorage", "getContextualStorage", "(", "BeanManager", "beanManager", ",", "String", "flowClientWindowId", ")", "{", "ContextualStorage", "contextualStorage", "=", "storageMap", ".", "get", "(", "flowClientWindowId", ")", ";", "if", "(", "contextualS...
This method will return the ContextualStorage or create a new one if no one is yet assigned to the current flowClientWindowId. @param beanManager we need the CDI {@link BeanManager} for serialisation. @param flowClientWindowId the flowClientWindowId for the current flow.
[ "This", "method", "will", "return", "the", "ContextualStorage", "or", "create", "a", "new", "one", "if", "no", "one", "is", "yet", "assigned", "to", "the", "current", "flowClientWindowId", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/flow/cdi/FlowScopeBeanHolder.java#L104-L121
70,654
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/flow/cdi/FlowScopeBeanHolder.java
FlowScopeBeanHolder.destroyBeansOnPreDestroy
@PreDestroy public void destroyBeansOnPreDestroy() { Map<String, ContextualStorage> oldWindowContextStorages = forceNewStorage(); if (!oldWindowContextStorages.isEmpty()) { FacesContext facesContext = FacesContext.getCurrentInstance(); ServletContext servletContex...
java
@PreDestroy public void destroyBeansOnPreDestroy() { Map<String, ContextualStorage> oldWindowContextStorages = forceNewStorage(); if (!oldWindowContextStorages.isEmpty()) { FacesContext facesContext = FacesContext.getCurrentInstance(); ServletContext servletContex...
[ "@", "PreDestroy", "public", "void", "destroyBeansOnPreDestroy", "(", ")", "{", "Map", "<", "String", ",", "ContextualStorage", ">", "oldWindowContextStorages", "=", "forceNewStorage", "(", ")", ";", "if", "(", "!", "oldWindowContextStorages", ".", "isEmpty", "(",...
See description on ViewScopeBeanHolder for details about how this works
[ "See", "description", "on", "ViewScopeBeanHolder", "for", "details", "about", "how", "this", "works" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/flow/cdi/FlowScopeBeanHolder.java#L210-L259
70,655
OpenLiberty/open-liberty
dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/IncidentStreamImpl.java
IncidentStreamImpl.printValueIntro
private void printValueIntro(String text) { if (text != null) { ffdcLog.print(text); ffdcLog.print(EQUALS); } }
java
private void printValueIntro(String text) { if (text != null) { ffdcLog.print(text); ffdcLog.print(EQUALS); } }
[ "private", "void", "printValueIntro", "(", "String", "text", ")", "{", "if", "(", "text", "!=", "null", ")", "{", "ffdcLog", ".", "print", "(", "text", ")", ";", "ffdcLog", ".", "print", "(", "EQUALS", ")", ";", "}", "}" ]
Print the introductory text for a value @param text The introductory text (null if there is to be no intro)
[ "Print", "the", "introductory", "text", "for", "a", "value" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/IncidentStreamImpl.java#L297-L302
70,656
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/CookieHelper.java
CookieHelper.getCookieValue
@Sensitive public static String getCookieValue(Cookie[] cookies, String cookieName) { if (cookies == null) { return null; } String retVal = null; for (int i = 0; i < cookies.length; ++i) { if (cookieName.equalsIgnoreCase(cookies[i].getName())) { ...
java
@Sensitive public static String getCookieValue(Cookie[] cookies, String cookieName) { if (cookies == null) { return null; } String retVal = null; for (int i = 0; i < cookies.length; ++i) { if (cookieName.equalsIgnoreCase(cookies[i].getName())) { ...
[ "@", "Sensitive", "public", "static", "String", "getCookieValue", "(", "Cookie", "[", "]", "cookies", ",", "String", "cookieName", ")", "{", "if", "(", "cookies", "==", "null", ")", "{", "return", "null", ";", "}", "String", "retVal", "=", "null", ";", ...
Retrieve the value of the first instance of the specified Cookie name from the array of Cookies. Note name matching ignores case. @param cookies array of Cookie objects, may be {@code null}. @param cookieName the name of the cookie @return String value associated with the specified cookieName, {@code null} if no match...
[ "Retrieve", "the", "value", "of", "the", "first", "instance", "of", "the", "specified", "Cookie", "name", "from", "the", "array", "of", "Cookies", ".", "Note", "name", "matching", "ignores", "case", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/CookieHelper.java#L39-L54
70,657
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/CookieHelper.java
CookieHelper.getCookieValues
public static String[] getCookieValues(Cookie[] cookies, String cookieName) { if (cookies == null) { return null; } Vector<String> retValues = new Vector<String>(); for (int i = 0; i < cookies.length; ++i) { if (cookieName.equalsIgnoreCase(cookies[i].getName())) ...
java
public static String[] getCookieValues(Cookie[] cookies, String cookieName) { if (cookies == null) { return null; } Vector<String> retValues = new Vector<String>(); for (int i = 0; i < cookies.length; ++i) { if (cookieName.equalsIgnoreCase(cookies[i].getName())) ...
[ "public", "static", "String", "[", "]", "getCookieValues", "(", "Cookie", "[", "]", "cookies", ",", "String", "cookieName", ")", "{", "if", "(", "cookies", "==", "null", ")", "{", "return", "null", ";", "}", "Vector", "<", "String", ">", "retValues", "...
Retrieve the value of the all instances of the specified Cookie name from the array of Cookies. Note name matching ignores case. @param cookies array of Cookie objects, may be {@code null}. @param cookieName the name of the cookie @return String[] of the values associated with the specified cookieName, {@code null} if...
[ "Retrieve", "the", "value", "of", "the", "all", "instances", "of", "the", "specified", "Cookie", "name", "from", "the", "array", "of", "Cookies", ".", "Note", "name", "matching", "ignores", "case", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/CookieHelper.java#L64-L81
70,658
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/CookieHelper.java
CookieHelper.addCookiesToResponse
public static void addCookiesToResponse(List<Cookie> cookieList, HttpServletResponse resp) { Iterator<Cookie> iterator = cookieList.listIterator(); while (iterator.hasNext()) { Cookie cookie = iterator.next(); if (cookie != null) { resp.addCookie(cookie); ...
java
public static void addCookiesToResponse(List<Cookie> cookieList, HttpServletResponse resp) { Iterator<Cookie> iterator = cookieList.listIterator(); while (iterator.hasNext()) { Cookie cookie = iterator.next(); if (cookie != null) { resp.addCookie(cookie); ...
[ "public", "static", "void", "addCookiesToResponse", "(", "List", "<", "Cookie", ">", "cookieList", ",", "HttpServletResponse", "resp", ")", "{", "Iterator", "<", "Cookie", ">", "iterator", "=", "cookieList", ".", "listIterator", "(", ")", ";", "while", "(", ...
Given a list of Cookie objects, set them into the HttpServletResponse. This method does not alter the cookies in any way. @param cookieList A List of Cookie objects @param resp HttpServletResponse into which to set the cookie
[ "Given", "a", "list", "of", "Cookie", "objects", "set", "them", "into", "the", "HttpServletResponse", ".", "This", "method", "does", "not", "alter", "the", "cookies", "in", "any", "way", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/CookieHelper.java#L90-L98
70,659
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.osgi/src/com/ibm/ws/logging/internal/osgi/MessageRouterImpl.java
MessageRouterImpl.setLogHandler
public void setLogHandler(String id, LogHandler ref) { if (id != null && ref != null) { logHandlerServices.put(id, ref); } }
java
public void setLogHandler(String id, LogHandler ref) { if (id != null && ref != null) { logHandlerServices.put(id, ref); } }
[ "public", "void", "setLogHandler", "(", "String", "id", ",", "LogHandler", "ref", ")", "{", "if", "(", "id", "!=", "null", "&&", "ref", "!=", "null", ")", "{", "logHandlerServices", ".", "put", "(", "id", ",", "ref", ")", ";", "}", "}" ]
Add the LogHandler ref. 1 or more LogHandlers may be set.
[ "Add", "the", "LogHandler", "ref", ".", "1", "or", "more", "LogHandlers", "may", "be", "set", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.osgi/src/com/ibm/ws/logging/internal/osgi/MessageRouterImpl.java#L50-L54
70,660
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.osgi/src/com/ibm/ws/logging/internal/osgi/MessageRouterImpl.java
MessageRouterImpl.modified
public synchronized void modified(Properties props) { for (Object key : props.keySet()) { String msgId = (String) key; String logHandlerIds = props.getProperty(msgId); Set<String> logHandlerIdSet = getOrCreateLogHandlerIdSet(msgId); // "logHandlerIds" is a comm...
java
public synchronized void modified(Properties props) { for (Object key : props.keySet()) { String msgId = (String) key; String logHandlerIds = props.getProperty(msgId); Set<String> logHandlerIdSet = getOrCreateLogHandlerIdSet(msgId); // "logHandlerIds" is a comm...
[ "public", "synchronized", "void", "modified", "(", "Properties", "props", ")", "{", "for", "(", "Object", "key", ":", "props", ".", "keySet", "(", ")", ")", "{", "String", "msgId", "=", "(", "String", ")", "key", ";", "String", "logHandlerIds", "=", "p...
Process the MessageRouter.properties file contents, given by the Properties parm. A typical MessageRouter.properties entry looks like this: CWWKF0008I=+WTO,+HARDCOPY,-DEFAULT The property key is a msg ID. The property value is a list of LogHandler IDs. The +/- indicates whether to add or remove the LogHandler to/fro...
[ "Process", "the", "MessageRouter", ".", "properties", "file", "contents", "given", "by", "the", "Properties", "parm", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.osgi/src/com/ibm/ws/logging/internal/osgi/MessageRouterImpl.java#L123-L165
70,661
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.osgi/src/com/ibm/ws/logging/internal/osgi/MessageRouterImpl.java
MessageRouterImpl.addMsgToLogHandler
protected void addMsgToLogHandler(String msgId, String handlerId) { Set<String> logHandlerIdSet = getOrCreateLogHandlerIdSet(msgId); logHandlerIdSet.add(handlerId); }
java
protected void addMsgToLogHandler(String msgId, String handlerId) { Set<String> logHandlerIdSet = getOrCreateLogHandlerIdSet(msgId); logHandlerIdSet.add(handlerId); }
[ "protected", "void", "addMsgToLogHandler", "(", "String", "msgId", ",", "String", "handlerId", ")", "{", "Set", "<", "String", ">", "logHandlerIdSet", "=", "getOrCreateLogHandlerIdSet", "(", "msgId", ")", ";", "logHandlerIdSet", ".", "add", "(", "handlerId", ")"...
Add the specified log handler to the message ID's routing list.
[ "Add", "the", "specified", "log", "handler", "to", "the", "message", "ID", "s", "routing", "list", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.osgi/src/com/ibm/ws/logging/internal/osgi/MessageRouterImpl.java#L170-L173
70,662
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.osgi/src/com/ibm/ws/logging/internal/osgi/MessageRouterImpl.java
MessageRouterImpl.removeMsgFromLogHandler
protected void removeMsgFromLogHandler(String msgId, String handlerId) { Set<String> logHandlerIdSet = getOrCreateLogHandlerIdSet(msgId); logHandlerIdSet.remove(handlerId); }
java
protected void removeMsgFromLogHandler(String msgId, String handlerId) { Set<String> logHandlerIdSet = getOrCreateLogHandlerIdSet(msgId); logHandlerIdSet.remove(handlerId); }
[ "protected", "void", "removeMsgFromLogHandler", "(", "String", "msgId", ",", "String", "handlerId", ")", "{", "Set", "<", "String", ">", "logHandlerIdSet", "=", "getOrCreateLogHandlerIdSet", "(", "msgId", ")", ";", "logHandlerIdSet", ".", "remove", "(", "handlerId...
Remove the specified log handler from the message ID's routing list.
[ "Remove", "the", "specified", "log", "handler", "from", "the", "message", "ID", "s", "routing", "list", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.osgi/src/com/ibm/ws/logging/internal/osgi/MessageRouterImpl.java#L178-L181
70,663
OpenLiberty/open-liberty
dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/security/csiv2/config/ssl/SSLConfig.java
SSLConfig.filter
private String[] filter(String[] candidateCipherSuites, String[] requested, OptionsKey options) { List<String> candidates = Arrays.asList(candidateCipherSuites); EnumSet<Options> supports = toOptions(options.supports, true); EnumSet<Options> requires = toOptions(options.requires, false); ...
java
private String[] filter(String[] candidateCipherSuites, String[] requested, OptionsKey options) { List<String> candidates = Arrays.asList(candidateCipherSuites); EnumSet<Options> supports = toOptions(options.supports, true); EnumSet<Options> requires = toOptions(options.requires, false); ...
[ "private", "String", "[", "]", "filter", "(", "String", "[", "]", "candidateCipherSuites", ",", "String", "[", "]", "requested", ",", "OptionsKey", "options", ")", "{", "List", "<", "String", ">", "candidates", "=", "Arrays", ".", "asList", "(", "candidate...
This method will warn if any requested cipher suites appear to not match the options @param candidateCipherSuites locally supported cipher suites @param requested cipher suites explicitly configured @param options association options configured @return intersection of candidates and requested
[ "This", "method", "will", "warn", "if", "any", "requested", "cipher", "suites", "appear", "to", "not", "match", "the", "options" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/security/csiv2/config/ssl/SSLConfig.java#L119-L133
70,664
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/BaseStepControllerImpl.java
BaseStepControllerImpl.markStepForFailure
protected void markStepForFailure() { StopLock stopLock = getStopLock(); // Store in local variable to facilitate Ctrl+Shift+G search in Eclipse synchronized (stopLock) { updateStepBatchStatus(BatchStatus.FAILED); if (!issuedFailureMessageToJobLog) { stepThreadHel...
java
protected void markStepForFailure() { StopLock stopLock = getStopLock(); // Store in local variable to facilitate Ctrl+Shift+G search in Eclipse synchronized (stopLock) { updateStepBatchStatus(BatchStatus.FAILED); if (!issuedFailureMessageToJobLog) { stepThreadHel...
[ "protected", "void", "markStepForFailure", "(", ")", "{", "StopLock", "stopLock", "=", "getStopLock", "(", ")", ";", "// Store in local variable to facilitate Ctrl+Shift+G search in Eclipse", "synchronized", "(", "stopLock", ")", "{", "updateStepBatchStatus", "(", "BatchSta...
Updates in-memory status and issues message to job log, but does not persist final status. Possible this routine gets called more than once, e.g. we might fail during normal step execution, then also fail in afterStep().
[ "Updates", "in", "-", "memory", "status", "and", "issues", "message", "to", "job", "log", "but", "does", "not", "persist", "final", "status", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/BaseStepControllerImpl.java#L426-L435
70,665
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/BaseStepControllerImpl.java
BaseStepControllerImpl.wasStopIssuedOnJob
protected boolean wasStopIssuedOnJob() { StopLock stopLock = getStopLock(); // Store in local variable to facilitate Ctrl+Shift+G search in Eclipse synchronized (stopLock) { if (runtimeWorkUnitExecution.getBatchStatus().equals(BatchStatus.STOPPING)) { return true; ...
java
protected boolean wasStopIssuedOnJob() { StopLock stopLock = getStopLock(); // Store in local variable to facilitate Ctrl+Shift+G search in Eclipse synchronized (stopLock) { if (runtimeWorkUnitExecution.getBatchStatus().equals(BatchStatus.STOPPING)) { return true; ...
[ "protected", "boolean", "wasStopIssuedOnJob", "(", ")", "{", "StopLock", "stopLock", "=", "getStopLock", "(", ")", ";", "// Store in local variable to facilitate Ctrl+Shift+G search in Eclipse", "synchronized", "(", "stopLock", ")", "{", "if", "(", "runtimeWorkUnitExecution...
We need this because the stop can come in at the job level, while the step-level constructs are still getting set up. @return true if jobexecution is STOPPING.
[ "We", "need", "this", "because", "the", "stop", "can", "come", "in", "at", "the", "job", "level", "while", "the", "step", "-", "level", "constructs", "are", "still", "getting", "set", "up", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/BaseStepControllerImpl.java#L523-L532
70,666
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/BaseStepControllerImpl.java
BaseStepControllerImpl.createStepExecutionIfStepShouldBeExecuted
protected StepThreadExecutionEntity createStepExecutionIfStepShouldBeExecuted() throws DoNotRestartStepThreadException { StepThreadExecutionEntity newStepExecution = null; StepThreadInstanceKey stepThreadInstanceKey = getStepThreadInstanceKey(); stepThreadInstance = getPersistenceManagerServic...
java
protected StepThreadExecutionEntity createStepExecutionIfStepShouldBeExecuted() throws DoNotRestartStepThreadException { StepThreadExecutionEntity newStepExecution = null; StepThreadInstanceKey stepThreadInstanceKey = getStepThreadInstanceKey(); stepThreadInstance = getPersistenceManagerServic...
[ "protected", "StepThreadExecutionEntity", "createStepExecutionIfStepShouldBeExecuted", "(", ")", "throws", "DoNotRestartStepThreadException", "{", "StepThreadExecutionEntity", "newStepExecution", "=", "null", ";", "StepThreadInstanceKey", "stepThreadInstanceKey", "=", "getStepThreadI...
stepThreadInstance and stepThreadExecution are either retrieved from the DB, or if they don't exist yet, they're created. @return stepThreadExecution
[ "stepThreadInstance", "and", "stepThreadExecution", "are", "either", "retrieved", "from", "the", "DB", "or", "if", "they", "don", "t", "exist", "yet", "they", "re", "created", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/BaseStepControllerImpl.java#L589-L613
70,667
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java
XPath10ParserImpl.parseWholeSelector
public Selector parseWholeSelector(String selector) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry( cclass, "parseWholeSelector", "selector: " + selector); // Need to set the domain to XPATH1.0 Identifier ident = new IdentifierImpl(selector); // S...
java
public Selector parseWholeSelector(String selector) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry( cclass, "parseWholeSelector", "selector: " + selector); // Need to set the domain to XPATH1.0 Identifier ident = new IdentifierImpl(selector); // S...
[ "public", "Selector", "parseWholeSelector", "(", "String", "selector", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "tc", ".", "entry", "(", "cclass", ",", "\"parseWholeSelector\...
This method retains the behaviour of the first implementation of XPath support, where the entire expression is wrapped in a single identifier. @param selector @return
[ "This", "method", "retains", "the", "behaviour", "of", "the", "first", "implementation", "of", "XPath", "support", "where", "the", "entire", "expression", "is", "wrapped", "in", "a", "single", "identifier", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java#L83-L136
70,668
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java
XPath10ParserImpl.parseSelector
private void parseSelector(String selector) throws InvalidXPathSyntaxException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "parseSelector", "selector: " + selector); // Set the locationStep to -1 locationStep = -1; int star...
java
private void parseSelector(String selector) throws InvalidXPathSyntaxException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "parseSelector", "selector: " + selector); // Set the locationStep to -1 locationStep = -1; int star...
[ "private", "void", "parseSelector", "(", "String", "selector", ")", "throws", "InvalidXPathSyntaxException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "tc", ".", "entry", "(", "ccl...
Parse the XPath Selector expression. @param selector @throws InvalidXPathSyntaxException
[ "Parse", "the", "XPath", "Selector", "expression", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java#L191-L296
70,669
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java
XPath10ParserImpl.parseLocationStep
private void parseLocationStep(String selector, int start, int stepEnd) throws InvalidXPathSyntaxException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "parseLocationStep", ...
java
private void parseLocationStep(String selector, int start, int stepEnd) throws InvalidXPathSyntaxException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "parseLocationStep", ...
[ "private", "void", "parseLocationStep", "(", "String", "selector", ",", "int", "start", ",", "int", "stepEnd", ")", "throws", "InvalidXPathSyntaxException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", ...
Break a location step into predicates that can be driven against the MatchParser. @param selector @param start @param stepEnd @throws InvalidXPathSyntaxException
[ "Break", "a", "location", "step", "into", "predicates", "that", "can", "be", "driven", "against", "the", "MatchParser", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java#L307-L420
70,670
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java
XPath10ParserImpl.createIdentifierForSubExpression
private IdentifierImpl createIdentifierForSubExpression(String subExpression, String fullExpression, boolean isLocationStep, boolean isLastStep) ...
java
private IdentifierImpl createIdentifierForSubExpression(String subExpression, String fullExpression, boolean isLocationStep, boolean isLastStep) ...
[ "private", "IdentifierImpl", "createIdentifierForSubExpression", "(", "String", "subExpression", ",", "String", "fullExpression", ",", "boolean", "isLocationStep", ",", "boolean", "isLastStep", ")", "throws", "InvalidXPathSyntaxException", "{", "if", "(", "TraceComponent", ...
When we've isolated a subexpression we wrap it in an Identifier. @param subExpression @param isLocationStep @param isLastStep @return @throws InvalidXPathSyntaxException
[ "When", "we", "ve", "isolated", "a", "subexpression", "we", "wrap", "it", "in", "an", "Identifier", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java#L579-L612
70,671
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java
XPath10ParserImpl.createIdentifierForWildExpression
private IdentifierImpl createIdentifierForWildExpression(String selector) throws InvalidXPathSyntaxException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "createIdentifierForWildExpression", "selector: " + selector); Identif...
java
private IdentifierImpl createIdentifierForWildExpression(String selector) throws InvalidXPathSyntaxException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "createIdentifierForWildExpression", "selector: " + selector); Identif...
[ "private", "IdentifierImpl", "createIdentifierForWildExpression", "(", "String", "selector", ")", "throws", "InvalidXPathSyntaxException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "tc", ...
Wrap a selector with a multilevel wildcard in an Identifier. @param selector @return @throws InvalidXPathSyntaxException
[ "Wrap", "a", "selector", "with", "a", "multilevel", "wildcard", "in", "an", "Identifier", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java#L621-L638
70,672
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java
XPath10ParserImpl.setXPathCharacteristics
private void setXPathCharacteristics(IdentifierImpl identifier) throws InvalidXPathSyntaxException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "setXPathCharacteristics", "identifier: " + identifier); // Need to set the domain...
java
private void setXPathCharacteristics(IdentifierImpl identifier) throws InvalidXPathSyntaxException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "setXPathCharacteristics", "identifier: " + identifier); // Need to set the domain...
[ "private", "void", "setXPathCharacteristics", "(", "IdentifierImpl", "identifier", ")", "throws", "InvalidXPathSyntaxException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "tc", ".", "e...
Configure the Identifier with appropriate XPath parameters. @param identifier @throws InvalidXPathSyntaxException
[ "Configure", "the", "Identifier", "with", "appropriate", "XPath", "parameters", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java#L646-L694
70,673
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java
XPath10ParserImpl.parsePredicate
private Selector parsePredicate(String predicate, String fullPath) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "parsePredicate", "predicate: " + predicate); Selector parsed = null; try { // Preprocess predicate for sp...
java
private Selector parsePredicate(String predicate, String fullPath) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "parsePredicate", "predicate: " + predicate); Selector parsed = null; try { // Preprocess predicate for sp...
[ "private", "Selector", "parsePredicate", "(", "String", "predicate", ",", "String", "fullPath", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "tc", ".", "entry", "(", "cclass", ...
Attempt to parse an isolated predicate using the MatchParser. @param predicate @return
[ "Attempt", "to", "parse", "an", "isolated", "predicate", "using", "the", "MatchParser", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java#L702-L743
70,674
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java
XPath10ParserImpl.preProcessForSpecials
private String preProcessForSpecials(String predicate) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "preProcessForSpecials", "predicate: " + predicate); String processed = predicate; String replace = replaceSpecialsWithSu...
java
private String preProcessForSpecials(String predicate) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "preProcessForSpecials", "predicate: " + predicate); String processed = predicate; String replace = replaceSpecialsWithSu...
[ "private", "String", "preProcessForSpecials", "(", "String", "predicate", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "tc", ".", "entry", "(", "cclass", ",", "\"preProcessForSpe...
Locate and replace any special characters that are going to cause problems fr the MatchParser. @param predicate @return
[ "Locate", "and", "replace", "any", "special", "characters", "that", "are", "going", "to", "cause", "problems", "fr", "the", "MatchParser", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java#L752-L770
70,675
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java
XPath10ParserImpl.postProcessSelectorTree
private void postProcessSelectorTree(Selector parsed, String fullPath) throws InvalidXPathSyntaxException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "postProcessSelectorTree", "parsed: " + parsed + ", fullPath: " + fullPath); ...
java
private void postProcessSelectorTree(Selector parsed, String fullPath) throws InvalidXPathSyntaxException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "postProcessSelectorTree", "parsed: " + parsed + ", fullPath: " + fullPath); ...
[ "private", "void", "postProcessSelectorTree", "(", "Selector", "parsed", ",", "String", "fullPath", ")", "throws", "InvalidXPathSyntaxException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", "...
Handle special character substitution. @param parsed @throws InvalidXPathSyntaxException
[ "Handle", "special", "character", "substitution", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java#L778-L865
70,676
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java
XPath10ParserImpl.postProcessOperands
private void postProcessOperands(OperatorImpl opImpl, String fullPath) throws InvalidXPathSyntaxException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "postProcessOperands", "opImpl: " + opImpl + ", fullPath: " + fullPath); ...
java
private void postProcessOperands(OperatorImpl opImpl, String fullPath) throws InvalidXPathSyntaxException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "postProcessOperands", "opImpl: " + opImpl + ", fullPath: " + fullPath); ...
[ "private", "void", "postProcessOperands", "(", "OperatorImpl", "opImpl", ",", "String", "fullPath", ")", "throws", "InvalidXPathSyntaxException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", "...
Traverse an Operator tree handling special character substitution. @param opImpl @throws InvalidXPathSyntaxException
[ "Traverse", "an", "Operator", "tree", "handling", "special", "character", "substitution", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java#L873-L888
70,677
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java
XPath10ParserImpl.replaceSpecialsWithSub
private String replaceSpecialsWithSub(String inString) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "replaceSpecialsWithSub", "inString: " + inString); String outString = null; StringBuffer sb = null; // First of...
java
private String replaceSpecialsWithSub(String inString) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "replaceSpecialsWithSub", "inString: " + inString); String outString = null; StringBuffer sb = null; // First of...
[ "private", "String", "replaceSpecialsWithSub", "(", "String", "inString", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "tc", ".", "entry", "(", "cclass", ",", "\"replaceSpecialsW...
Replace special characters in the string with substitutions. @param inString @return
[ "Replace", "special", "characters", "in", "the", "string", "with", "substitutions", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java#L896-L1015
70,678
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java
XPath10ParserImpl.replaceSubForSpecials
private String replaceSubForSpecials(String inString) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "replaceSubForSpecials", "inString: " + inString); String outString = null; StringBuffer sb = null; // First deal with a...
java
private String replaceSubForSpecials(String inString) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "replaceSubForSpecials", "inString: " + inString); String outString = null; StringBuffer sb = null; // First deal with a...
[ "private", "String", "replaceSubForSpecials", "(", "String", "inString", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "tc", ".", "entry", "(", "cclass", ",", "\"replaceSubForSpec...
Replace substitutions in the string with the original special characters. @param inString @return
[ "Replace", "substitutions", "in", "the", "string", "with", "the", "original", "special", "characters", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java#L1023-L1113
70,679
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java
XPath10ParserImpl.wrapLocationStep
private void wrapLocationStep(String selector, int start, int stepEnd) throws InvalidXPathSyntaxException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "wrapLocationStep", ...
java
private void wrapLocationStep(String selector, int start, int stepEnd) throws InvalidXPathSyntaxException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "wrapLocationStep", ...
[ "private", "void", "wrapLocationStep", "(", "String", "selector", ",", "int", "start", ",", "int", "stepEnd", ")", "throws", "InvalidXPathSyntaxException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", ...
Wrap a location step in an Identifier. @param selector @param start @param stepEnd @throws InvalidXPathSyntaxException
[ "Wrap", "a", "location", "step", "in", "an", "Identifier", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java#L1386-L1403
70,680
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java
XPath10ParserImpl.wrapLastLocationStep
private void wrapLastLocationStep(String selector, int start, boolean bumpLocationStep) throws InvalidXPathSyntaxException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "wrapLastL...
java
private void wrapLastLocationStep(String selector, int start, boolean bumpLocationStep) throws InvalidXPathSyntaxException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "wrapLastL...
[ "private", "void", "wrapLastLocationStep", "(", "String", "selector", ",", "int", "start", ",", "boolean", "bumpLocationStep", ")", "throws", "InvalidXPathSyntaxException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "i...
Wrap the last location step in an Identifier. @param selector @param start @param bumpLocationStep @throws InvalidXPathSyntaxException
[ "Wrap", "the", "last", "location", "step", "in", "an", "Identifier", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10ParserImpl.java#L1413-L1432
70,681
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainGroupDataImpl.java
ChainGroupDataImpl.addChain
public void addChain(ChainData newChain) throws ChainException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "addChain: " + newChain.getName()); } if (containsChain(newChain.getName())) { ChainException e = new ChainException("Chain al...
java
public void addChain(ChainData newChain) throws ChainException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "addChain: " + newChain.getName()); } if (containsChain(newChain.getName())) { ChainException e = new ChainException("Chain al...
[ "public", "void", "addChain", "(", "ChainData", "newChain", ")", "throws", "ChainException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", "entry", "(", "tc", ",", ...
Adds the input chain to the group. All chain event listeners associated with the group are also added to the chain. @param newChain @throws ChainException if chain already exists in group.
[ "Adds", "the", "input", "chain", "to", "the", "group", ".", "All", "chain", "event", "listeners", "associated", "with", "the", "group", "are", "also", "added", "to", "the", "chain", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainGroupDataImpl.java#L112-L141
70,682
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainGroupDataImpl.java
ChainGroupDataImpl.removeChain
public void removeChain(ChainData inputChain) throws ChainException { String chainname = inputChain.getName(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "removeChain: " + chainname); } if (!containsChain(chainname)) { ChainEx...
java
public void removeChain(ChainData inputChain) throws ChainException { String chainname = inputChain.getName(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "removeChain: " + chainname); } if (!containsChain(chainname)) { ChainEx...
[ "public", "void", "removeChain", "(", "ChainData", "inputChain", ")", "throws", "ChainException", "{", "String", "chainname", "=", "inputChain", ".", "getName", "(", ")", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", ...
Removes the input chain from the group. All group chain event listeners all also removed from the chain unless the chain is in another group which is associated with the listener. @param inputChain chain object to be removed. @throws ChainException if chain doesn't exist in group.
[ "Removes", "the", "input", "chain", "from", "the", "group", ".", "All", "group", "chain", "event", "listeners", "all", "also", "removed", "from", "the", "chain", "unless", "the", "chain", "is", "in", "another", "group", "which", "is", "associated", "with", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainGroupDataImpl.java#L153-L185
70,683
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainGroupDataImpl.java
ChainGroupDataImpl.updateChain
public void updateChain(ChainData inputChain) { String chainname = inputChain.getName(); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "updateChain: " + chainname); } // Find the chain in the group. for (int i = 0; i < this.chainArra...
java
public void updateChain(ChainData inputChain) { String chainname = inputChain.getName(); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "updateChain: " + chainname); } // Find the chain in the group. for (int i = 0; i < this.chainArra...
[ "public", "void", "updateChain", "(", "ChainData", "inputChain", ")", "{", "String", "chainname", "=", "inputChain", ".", "getName", "(", ")", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")"...
Search the group for the input chain. If found, update it. Otherwise do nothing. @param inputChain
[ "Search", "the", "group", "for", "the", "input", "chain", ".", "If", "found", "update", "it", ".", "Otherwise", "do", "nothing", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainGroupDataImpl.java#L193-L210
70,684
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainGroupDataImpl.java
ChainGroupDataImpl.removeListenerFromChain
private void removeListenerFromChain(ChainEventListener listener, ChainData chainData) { ChainGroupData[] otherGroups = null; boolean foundOtherGroupWithListener = false; // Extract the groups that this chain is involved in. try { otherGroups = this.framework.getAllChainGroup...
java
private void removeListenerFromChain(ChainEventListener listener, ChainData chainData) { ChainGroupData[] otherGroups = null; boolean foundOtherGroupWithListener = false; // Extract the groups that this chain is involved in. try { otherGroups = this.framework.getAllChainGroup...
[ "private", "void", "removeListenerFromChain", "(", "ChainEventListener", "listener", ",", "ChainData", "chainData", ")", "{", "ChainGroupData", "[", "]", "otherGroups", "=", "null", ";", "boolean", "foundOtherGroupWithListener", "=", "false", ";", "// Extract the groups...
Remove the listener from the chain, but only if the chain is not associated with the listener through another group. @param listener chain event listener to be removed from the chain @param chainData chain from which to remove chain event listener
[ "Remove", "the", "listener", "from", "the", "chain", "but", "only", "if", "the", "chain", "is", "not", "associated", "with", "the", "listener", "through", "another", "group", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainGroupDataImpl.java#L248-L284
70,685
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainGroupDataImpl.java
ChainGroupDataImpl.addChainEventListener
public final void addChainEventListener(ChainEventListener listener) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "addChainEventListener: " + listener); } if ((null != listener) && (!getChainEventListeners().contains(listener))) { // A...
java
public final void addChainEventListener(ChainEventListener listener) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "addChainEventListener: " + listener); } if ((null != listener) && (!getChainEventListeners().contains(listener))) { // A...
[ "public", "final", "void", "addChainEventListener", "(", "ChainEventListener", "listener", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "debug", "(", "tc", ",",...
Method addChainEventListener. Enables external entities to be notified of chain events on each of the chains in the group described in ChainEventListener interface. @param listener
[ "Method", "addChainEventListener", ".", "Enables", "external", "entities", "to", "be", "notified", "of", "chain", "events", "on", "each", "of", "the", "chains", "in", "the", "group", "described", "in", "ChainEventListener", "interface", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainGroupDataImpl.java#L293-L309
70,686
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainGroupDataImpl.java
ChainGroupDataImpl.removeChainEventListener
public final void removeChainEventListener(ChainEventListener listener) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "removeChainEventListener: " + listener); } if (null != listener) { // Remove the listener from the list monitored by...
java
public final void removeChainEventListener(ChainEventListener listener) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "removeChainEventListener: " + listener); } if (null != listener) { // Remove the listener from the list monitored by...
[ "public", "final", "void", "removeChainEventListener", "(", "ChainEventListener", "listener", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "debug", "(", "tc", "...
Method removeChainEventListener. Removes a listener from the list of those being informed of chain events on this chain. The listener is also removed from each chain in the group unless the chain is in another group which is associated with the listener. @param listener
[ "Method", "removeChainEventListener", ".", "Removes", "a", "listener", "from", "the", "list", "of", "those", "being", "informed", "of", "chain", "events", "on", "this", "chain", ".", "The", "listener", "is", "also", "removed", "from", "each", "chain", "in", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainGroupDataImpl.java#L319-L336
70,687
OpenLiberty/open-liberty
dev/com.ibm.json4j/src/com/ibm/json/xml/internal/JSONObject.java
JSONObject.addJSONObject
public void addJSONObject(JSONObject obj) { if (logger.isLoggable(Level.FINER)) logger.entering(className, "addJSONObject(JSONObject)"); Vector vect = (Vector) this.jsonObjects.get(obj.objectName); if (vect != null) { vect.add(obj); } else { ...
java
public void addJSONObject(JSONObject obj) { if (logger.isLoggable(Level.FINER)) logger.entering(className, "addJSONObject(JSONObject)"); Vector vect = (Vector) this.jsonObjects.get(obj.objectName); if (vect != null) { vect.add(obj); } else { ...
[ "public", "void", "addJSONObject", "(", "JSONObject", "obj", ")", "{", "if", "(", "logger", ".", "isLoggable", "(", "Level", ".", "FINER", ")", ")", "logger", ".", "entering", "(", "className", ",", "\"addJSONObject(JSONObject)\"", ")", ";", "Vector", "vect"...
Method to add a JSON child object to this JSON object. @param obj The child JSON object to add to this JSON object.
[ "Method", "to", "add", "a", "JSON", "child", "object", "to", "this", "JSON", "object", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.json4j/src/com/ibm/json/xml/internal/JSONObject.java#L98-L115
70,688
OpenLiberty/open-liberty
dev/com.ibm.json4j/src/com/ibm/json/xml/internal/JSONObject.java
JSONObject.writeObject
public void writeObject(Writer writer, int indentDepth, boolean contentOnly, boolean compact) throws IOException { if (logger.isLoggable(Level.FINER)) logger.entering(className, "writeObject(Writer, int, boolean, boolean)"); if (writer != null) { try { ...
java
public void writeObject(Writer writer, int indentDepth, boolean contentOnly, boolean compact) throws IOException { if (logger.isLoggable(Level.FINER)) logger.entering(className, "writeObject(Writer, int, boolean, boolean)"); if (writer != null) { try { ...
[ "public", "void", "writeObject", "(", "Writer", "writer", ",", "int", "indentDepth", ",", "boolean", "contentOnly", ",", "boolean", "compact", ")", "throws", "IOException", "{", "if", "(", "logger", ".", "isLoggable", "(", "Level", ".", "FINER", ")", ")", ...
Method to write out the JSON formatted object. @param writer The writer to use when serializing the JSON structure. @param indentDepth How far to indent the text for object's JSON format. @param contentOnly Flag to debnnote whether to assign this as an attribute name, or as a nameless object. Commonly used for seriali...
[ "Method", "to", "write", "out", "the", "JSON", "formatted", "object", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.json4j/src/com/ibm/json/xml/internal/JSONObject.java#L158-L194
70,689
OpenLiberty/open-liberty
dev/com.ibm.json4j/src/com/ibm/json/xml/internal/JSONObject.java
JSONObject.writeIndention
private void writeIndention(Writer writer, int indentDepth) throws IOException { if (logger.isLoggable(Level.FINER)) logger.entering(className, "writeIndention(Writer, int)"); try { for (int i = 0; i < indentDepth; i++) { writer.write(indent); ...
java
private void writeIndention(Writer writer, int indentDepth) throws IOException { if (logger.isLoggable(Level.FINER)) logger.entering(className, "writeIndention(Writer, int)"); try { for (int i = 0; i < indentDepth; i++) { writer.write(indent); ...
[ "private", "void", "writeIndention", "(", "Writer", "writer", ",", "int", "indentDepth", ")", "throws", "IOException", "{", "if", "(", "logger", ".", "isLoggable", "(", "Level", ".", "FINER", ")", ")", "logger", ".", "entering", "(", "className", ",", "\"w...
Internal method for doing a simple indention write. @param writer The writer to use while writing the JSON text. @param indentDepth How deep to indent the text. @throws IOException Trhown if an error occurs on write.
[ "Internal", "method", "for", "doing", "a", "simple", "indention", "write", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.json4j/src/com/ibm/json/xml/internal/JSONObject.java#L242-L262
70,690
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertDateTimeHandler.java
ConvertDateTimeHandler.setAttributes
public void setAttributes(FaceletContext ctx, Object obj) { DateTimeConverter c = (DateTimeConverter) obj; if (this.locale != null) { c.setLocale(ComponentSupport.getLocale(ctx, this.locale)); } if (this.pattern != null) { c.setPattern(this.pat...
java
public void setAttributes(FaceletContext ctx, Object obj) { DateTimeConverter c = (DateTimeConverter) obj; if (this.locale != null) { c.setLocale(ComponentSupport.getLocale(ctx, this.locale)); } if (this.pattern != null) { c.setPattern(this.pat...
[ "public", "void", "setAttributes", "(", "FaceletContext", "ctx", ",", "Object", "obj", ")", "{", "DateTimeConverter", "c", "=", "(", "DateTimeConverter", ")", "obj", ";", "if", "(", "this", ".", "locale", "!=", "null", ")", "{", "c", ".", "setLocale", "(...
Implements tag spec, see taglib documentation. @see org.apache.myfaces.view.facelets.tag.ObjectHandler#setAttributes(javax.faces.view.facelets.FaceletContext, java.lang.Object)
[ "Implements", "tag", "spec", "see", "taglib", "documentation", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertDateTimeHandler.java#L97-L146
70,691
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/InternalOutputStreamManager.java
InternalOutputStreamManager.createShellStreamSet
public void createShellStreamSet() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createShellStreamSet"); StreamSet streamSet = null; synchronized (streamSets) { streamSet = new StreamSet(null, ...
java
public void createShellStreamSet() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createShellStreamSet"); StreamSet streamSet = null; synchronized (streamSets) { streamSet = new StreamSet(null, ...
[ "public", "void", "createShellStreamSet", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"createShellStreamSet\"", ")", ";", "Stream...
This method will create a StreamSet with null StreamId.
[ "This", "method", "will", "create", "a", "StreamSet", "with", "null", "StreamId", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/InternalOutputStreamManager.java#L112-L130
70,692
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/InternalOutputStreamManager.java
InternalOutputStreamManager.processAckExpected
public void processAckExpected(long stamp, int priority, Reliability reliability, SIBUuid12 streamID) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEnt...
java
public void processAckExpected(long stamp, int priority, Reliability reliability, SIBUuid12 streamID) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEnt...
[ "public", "void", "processAckExpected", "(", "long", "stamp", ",", "int", "priority", ",", "Reliability", "reliability", ",", "SIBUuid12", "streamID", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&...
needs to send an AckExpected downstream.
[ "needs", "to", "send", "an", "AckExpected", "downstream", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/InternalOutputStreamManager.java#L274-L321
70,693
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/InternalOutputStreamManager.java
InternalOutputStreamManager.forceFlush
public void forceFlush(SIBUuid12 streamID) throws SIErrorException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "forceFlush", streamID); StreamSet streamSet = streamSets.get(streamID); streamSet.dereferenceControlAdapter(); // Send ...
java
public void forceFlush(SIBUuid12 streamID) throws SIErrorException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "forceFlush", streamID); StreamSet streamSet = streamSets.get(streamID); streamSet.dereferenceControlAdapter(); // Send ...
[ "public", "void", "forceFlush", "(", "SIBUuid12", "streamID", ")", "throws", "SIErrorException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", ...
This method will be called to force flush of streamSet
[ "This", "method", "will", "be", "called", "to", "force", "flush", "of", "streamSet" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/InternalOutputStreamManager.java#L712-L746
70,694
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/InternalOutputStreamManager.java
InternalOutputStreamManager.stampNotFlushed
public ControlNotFlushed stampNotFlushed(ControlNotFlushed msg, SIBUuid12 streamID) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "stampNotFlushed", new Object[] { msg }); int count = 0; //the maximum possible numb...
java
public ControlNotFlushed stampNotFlushed(ControlNotFlushed msg, SIBUuid12 streamID) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "stampNotFlushed", new Object[] { msg }); int count = 0; //the maximum possible numb...
[ "public", "ControlNotFlushed", "stampNotFlushed", "(", "ControlNotFlushed", "msg", ",", "SIBUuid12", "streamID", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")"...
Attach the appropriate completed and duplicate prefixes for the stream stored in this array to a ControlNotFlushed message. @param msg The ControlNotFlushed message to stamp. @throws SIResourceException
[ "Attach", "the", "appropriate", "completed", "and", "duplicate", "prefixes", "for", "the", "stream", "stored", "in", "this", "array", "to", "a", "ControlNotFlushed", "message", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/InternalOutputStreamManager.java#L806-L860
70,695
OpenLiberty/open-liberty
dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/data/SpdStatisticExternal.java
SpdStatisticExternal.getStatistic
public StatisticImpl getStatistic() { if (enabled) { if (proxy == null) { System.out.println("[SpdStatisticExternal] null proxy"); return null; } proxy.updateStatisticOnRequest(dataId); // onReqStatistic will be updated by the com...
java
public StatisticImpl getStatistic() { if (enabled) { if (proxy == null) { System.out.println("[SpdStatisticExternal] null proxy"); return null; } proxy.updateStatisticOnRequest(dataId); // onReqStatistic will be updated by the com...
[ "public", "StatisticImpl", "getStatistic", "(", ")", "{", "if", "(", "enabled", ")", "{", "if", "(", "proxy", "==", "null", ")", "{", "System", ".", "out", ".", "println", "(", "\"[SpdStatisticExternal] null proxy\"", ")", ";", "return", "null", ";", "}", ...
return a wire level data using given time as snapshotTime
[ "return", "a", "wire", "level", "data", "using", "given", "time", "as", "snapshotTime" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/data/SpdStatisticExternal.java#L66-L80
70,696
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.core/src/com/ibm/websphere/ras/TraceComponent.java
TraceComponent.uniquify
static String[] uniquify(String[] arr, boolean alwaysClone) { int numUnique = uniquifyCountAndCopy(arr, null); if (numUnique == 0) return EMPTY_STRING_ARRAY; if (numUnique == arr.length) return alwaysClone ? arr.clone() : arr; String[] out = new String[numUnique]...
java
static String[] uniquify(String[] arr, boolean alwaysClone) { int numUnique = uniquifyCountAndCopy(arr, null); if (numUnique == 0) return EMPTY_STRING_ARRAY; if (numUnique == arr.length) return alwaysClone ? arr.clone() : arr; String[] out = new String[numUnique]...
[ "static", "String", "[", "]", "uniquify", "(", "String", "[", "]", "arr", ",", "boolean", "alwaysClone", ")", "{", "int", "numUnique", "=", "uniquifyCountAndCopy", "(", "arr", ",", "null", ")", ";", "if", "(", "numUnique", "==", "0", ")", "return", "EM...
Remove null and duplicate elements from an array. @param arr the input array @param alwaysClone true if the input array should be copied even if it doesn't contain nulls or duplicates @return the output array
[ "Remove", "null", "and", "duplicate", "elements", "from", "an", "array", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/websphere/ras/TraceComponent.java#L154-L164
70,697
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.core/src/com/ibm/websphere/ras/TraceComponent.java
TraceComponent.uniquifyCountAndCopy
private static int uniquifyCountAndCopy(String[] in, String[] out) { int count = 0; outer: for (int i = 0; i < in.length; i++) { if (in[i] != null) { for (int j = 0; j < i; j++) if (in[i].equals(in[j])) continue outer; ...
java
private static int uniquifyCountAndCopy(String[] in, String[] out) { int count = 0; outer: for (int i = 0; i < in.length; i++) { if (in[i] != null) { for (int j = 0; j < i; j++) if (in[i].equals(in[j])) continue outer; ...
[ "private", "static", "int", "uniquifyCountAndCopy", "(", "String", "[", "]", "in", ",", "String", "[", "]", "out", ")", "{", "int", "count", "=", "0", ";", "outer", ":", "for", "(", "int", "i", "=", "0", ";", "i", "<", "in", ".", "length", ";", ...
Count the number of non-null non-duplicate elements in an array, and copy those elements to an output array if provided. @param in the input array @param out an output array, or null to count rather than copying @return the number of non-null non-duplicate elements
[ "Count", "the", "number", "of", "non", "-", "null", "non", "-", "duplicate", "elements", "in", "an", "array", "and", "copy", "those", "elements", "to", "an", "output", "array", "if", "provided", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/websphere/ras/TraceComponent.java#L174-L187
70,698
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.core/src/com/ibm/websphere/ras/TraceComponent.java
TraceComponent.findMinimumSafeLevel
private Integer findMinimumSafeLevel(PackageIndex<Integer> index) { if (index == null) { return null; } Integer minimumLevel = index.find(name); if (minimumLevel == null) { // Find by groups for (String group : groups) { minimumLevel = ...
java
private Integer findMinimumSafeLevel(PackageIndex<Integer> index) { if (index == null) { return null; } Integer minimumLevel = index.find(name); if (minimumLevel == null) { // Find by groups for (String group : groups) { minimumLevel = ...
[ "private", "Integer", "findMinimumSafeLevel", "(", "PackageIndex", "<", "Integer", ">", "index", ")", "{", "if", "(", "index", "==", "null", ")", "{", "return", "null", ";", "}", "Integer", "minimumLevel", "=", "index", ".", "find", "(", "name", ")", ";"...
Search by name first and if not found, then search by groups. @param index @return the minimum safe level to enable trace for, or null if not found.
[ "Search", "by", "name", "first", "and", "if", "not", "found", "then", "search", "by", "groups", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/websphere/ras/TraceComponent.java#L453-L468
70,699
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/TxRecoveryAgentImpl.java
TxRecoveryAgentImpl.createCustomTranLogConfiguration
private TranLogConfiguration createCustomTranLogConfiguration(String recoveredServerIdentity, String logDir, boolean isPeerRecoverySupported) throws URISyntaxException { if (tc.isEntryEnabled()) Tr.entry(tc, "createCustomTranLogConfiguration", new java.lang.Object[] { recoveredServerIdentity, logDir...
java
private TranLogConfiguration createCustomTranLogConfiguration(String recoveredServerIdentity, String logDir, boolean isPeerRecoverySupported) throws URISyntaxException { if (tc.isEntryEnabled()) Tr.entry(tc, "createCustomTranLogConfiguration", new java.lang.Object[] { recoveredServerIdentity, logDir...
[ "private", "TranLogConfiguration", "createCustomTranLogConfiguration", "(", "String", "recoveredServerIdentity", ",", "String", "logDir", ",", "boolean", "isPeerRecoverySupported", ")", "throws", "URISyntaxException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")",...
Creates a custom TranLogConfiguration object appropriate for storing transaction logs in an RDBMS or other custom repository. @param recoveredServerIdentity @param logDir @param isPeerRecoverySupported @return @throws URISyntaxException
[ "Creates", "a", "custom", "TranLogConfiguration", "object", "appropriate", "for", "storing", "transaction", "logs", "in", "an", "RDBMS", "or", "other", "custom", "repository", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/TxRecoveryAgentImpl.java#L631-L662