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
110,100
OpenLiberty/open-liberty
dev/com.ibm.ws.beanvalidation.core/src/com/ibm/ws/beanvalidation/config/ValidationConfigurator.java
ValidationConfigurator.loadClass
protected Class<?> loadClass(String className) throws ClassNotFoundException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "loadClass", className); } Class<?> theClass = null; try { if (appClassloader != null) { ...
java
protected Class<?> loadClass(String className) throws ClassNotFoundException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "loadClass", className); } Class<?> theClass = null; try { if (appClassloader != null) { ...
[ "protected", "Class", "<", "?", ">", "loadClass", "(", "String", "className", ")", "throws", "ClassNotFoundException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", ...
Load the class on the application class loader given the class name. If the application class loader wasn't passed in, it is assumed that the current TCCL is already set so that is what is used. @param className - class name to find. Cannot be null. @throws ClassNotFoundException
[ "Load", "the", "class", "on", "the", "application", "class", "loader", "given", "the", "class", "name", ".", "If", "the", "application", "class", "loader", "wasn", "t", "passed", "in", "it", "is", "assumed", "that", "the", "current", "TCCL", "is", "already...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.beanvalidation.core/src/com/ibm/ws/beanvalidation/config/ValidationConfigurator.java#L439-L470
110,101
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java
PoolManager.checkForConnectionInFreePool
private void checkForConnectionInFreePool(MCWrapper mcw) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(this, tc, "checkForConnectionInFreePool"); } int hashMapBucket = mcw.getHashMapBucket(); /* * Attempt to remove the mcw from the fr...
java
private void checkForConnectionInFreePool(MCWrapper mcw) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(this, tc, "checkForConnectionInFreePool"); } int hashMapBucket = mcw.getHashMapBucket(); /* * Attempt to remove the mcw from the fr...
[ "private", "void", "checkForConnectionInFreePool", "(", "MCWrapper", "mcw", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", "entry", "(", "this", ",", "tc", ",",...
Check for a connection in the free pool. If a connection is found, cleanup and destroy the connection and remove the mcwrapper from the free pool. @param mcw
[ "Check", "for", "a", "connection", "in", "the", "free", "pool", ".", "If", "a", "connection", "is", "found", "cleanup", "and", "destroy", "the", "connection", "and", "remove", "the", "mcwrapper", "from", "the", "free", "pool", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java#L557-L590
110,102
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java
PoolManager.checkForActiveConnections
private boolean checkForActiveConnections(int value) { /* * Check for active connections in the SharedPool */ boolean activeConnections = false; /* * We have active connections or active pool requests if active requests * > 0 or the pool state is not = 1. In ...
java
private boolean checkForActiveConnections(int value) { /* * Check for active connections in the SharedPool */ boolean activeConnections = false; /* * We have active connections or active pool requests if active requests * > 0 or the pool state is not = 1. In ...
[ "private", "boolean", "checkForActiveConnections", "(", "int", "value", ")", "{", "/*\n * Check for active connections in the SharedPool\n */", "boolean", "activeConnections", "=", "false", ";", "/*\n * We have active connections or active pool requests if active ...
Look for active connection requests and connections in the shared and un-shared pools. @param value @return
[ "Look", "for", "active", "connection", "requests", "and", "connections", "in", "the", "shared", "and", "un", "-", "shared", "pools", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java#L1992-L2040
110,103
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java
PoolManager.startReclaimConnectionThread
protected void startReclaimConnectionThread() { if (tc.isEntryEnabled()) { Tr.entry(this, tc, "startReclaimConnectionThread"); } //long reapTime; synchronized (taskTimerLockObject) { if (!reaperThreadStarted) { if (reapTime > 0) { ...
java
protected void startReclaimConnectionThread() { if (tc.isEntryEnabled()) { Tr.entry(this, tc, "startReclaimConnectionThread"); } //long reapTime; synchronized (taskTimerLockObject) { if (!reaperThreadStarted) { if (reapTime > 0) { ...
[ "protected", "void", "startReclaimConnectionThread", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", "entry", "(", "this", ",", "tc", ",", "\"startReclaimConnectionThread\"", ")", ";", "}", "//long reapTime;", "synchronize...
Starts the reclaim collection thread that remove unused connection based on the UnusedTimeout, agedTime and the ReapTime.
[ "Starts", "the", "reclaim", "collection", "thread", "that", "remove", "unused", "connection", "based", "on", "the", "UnusedTimeout", "agedTime", "and", "the", "ReapTime", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java#L2719-L2755
110,104
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java
PoolManager.needToReclaimConnections
private boolean needToReclaimConnections() { boolean removemcw = false; for (int j = 0; j < maxFreePoolHashSize; ++j) { synchronized (freePool[j].freeConnectionLockObject) { int localtotalConnectionCount = totalConnectionCount.get(); int mcwlSize = freePool[j]...
java
private boolean needToReclaimConnections() { boolean removemcw = false; for (int j = 0; j < maxFreePoolHashSize; ++j) { synchronized (freePool[j].freeConnectionLockObject) { int localtotalConnectionCount = totalConnectionCount.get(); int mcwlSize = freePool[j]...
[ "private", "boolean", "needToReclaimConnections", "(", ")", "{", "boolean", "removemcw", "=", "false", ";", "for", "(", "int", "j", "=", "0", ";", "j", "<", "maxFreePoolHashSize", ";", "++", "j", ")", "{", "synchronized", "(", "freePool", "[", "j", "]", ...
Do we need to reclaim connections.
[ "Do", "we", "need", "to", "reclaim", "connections", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java#L3367-L3395
110,105
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java
PoolManager.computeHashCode
protected final int computeHashCode(Subject subject, ConnectionRequestInfo cri) { final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled(); if (isTracingEnabled && tc.isEntryEnabled()) { Tr.entry(this, tc, "computeHashCode"); } if (isTracingEnabled && tc.isDeb...
java
protected final int computeHashCode(Subject subject, ConnectionRequestInfo cri) { final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled(); if (isTracingEnabled && tc.isEntryEnabled()) { Tr.entry(this, tc, "computeHashCode"); } if (isTracingEnabled && tc.isDeb...
[ "protected", "final", "int", "computeHashCode", "(", "Subject", "subject", ",", "ConnectionRequestInfo", "cri", ")", "{", "final", "boolean", "isTracingEnabled", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTracingEnabled", "&&", ...
173212 - computeHashCode @param subject @param cri @return
[ "173212", "-", "computeHashCode" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java#L3603-L3684
110,106
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java
PoolManager.getMCWFromMctoMCWMap
public Object getMCWFromMctoMCWMap(Object mc) { Object mcw = null; mcToMCWMapRead.lock(); try { mcw = mcToMCWMap.get(mc); } finally { mcToMCWMapRead.unlock(); } return mcw; }
java
public Object getMCWFromMctoMCWMap(Object mc) { Object mcw = null; mcToMCWMapRead.lock(); try { mcw = mcToMCWMap.get(mc); } finally { mcToMCWMapRead.unlock(); } return mcw; }
[ "public", "Object", "getMCWFromMctoMCWMap", "(", "Object", "mc", ")", "{", "Object", "mcw", "=", "null", ";", "mcToMCWMapRead", ".", "lock", "(", ")", ";", "try", "{", "mcw", "=", "mcToMCWMap", ".", "get", "(", "mc", ")", ";", "}", "finally", "{", "m...
Get the mcw from the hash map @param mc @return
[ "Get", "the", "mcw", "from", "the", "hash", "map" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java#L3692-L3701
110,107
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java
PoolManager.putMcToMCWMap
public void putMcToMCWMap(ManagedConnection mc, MCWrapper mcw) { mcToMCWMapWrite.lock(); try { mcToMCWMap.put(mc, mcw); } finally { mcToMCWMapWrite.unlock(); } }
java
public void putMcToMCWMap(ManagedConnection mc, MCWrapper mcw) { mcToMCWMapWrite.lock(); try { mcToMCWMap.put(mc, mcw); } finally { mcToMCWMapWrite.unlock(); } }
[ "public", "void", "putMcToMCWMap", "(", "ManagedConnection", "mc", ",", "MCWrapper", "mcw", ")", "{", "mcToMCWMapWrite", ".", "lock", "(", ")", ";", "try", "{", "mcToMCWMap", ".", "put", "(", "mc", ",", "mcw", ")", ";", "}", "finally", "{", "mcToMCWMapWr...
Put the mcw in the hash map @param mc @param mcw
[ "Put", "the", "mcw", "in", "the", "hash", "map" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java#L3728-L3735
110,108
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java
PoolManager.removeMcToMCWMap
public void removeMcToMCWMap(Object mc) { if (tc.isEntryEnabled()) { Tr.entry(this, tc, "removeMcToMCWMap"); } mcToMCWMapWrite.lock(); try { mcToMCWMap.remove(mc); } finally { mcToMCWMapWrite.unlock(); } if (tc.isDebugEnabled())...
java
public void removeMcToMCWMap(Object mc) { if (tc.isEntryEnabled()) { Tr.entry(this, tc, "removeMcToMCWMap"); } mcToMCWMapWrite.lock(); try { mcToMCWMap.remove(mc); } finally { mcToMCWMapWrite.unlock(); } if (tc.isDebugEnabled())...
[ "public", "void", "removeMcToMCWMap", "(", "Object", "mc", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", "entry", "(", "this", ",", "tc", ",", "\"removeMcToMCWMap\"", ")", ";", "}", "mcToMCWMapWrite", ".", "lock", "("...
Remove the mcw from the hash map @param mc, mcw
[ "Remove", "the", "mcw", "from", "the", "hash", "map" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java#L3742-L3758
110,109
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java
PoolManager.run
@Override public void run() { final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled(); if (isTracingEnabled && tc.isEntryEnabled()) { Tr.entry(this, tc, "run", "alarm"); } if (isTracingEnabled && tc.isDebugEnabled()) { Tr.debug(this, tc, "run:...
java
@Override public void run() { final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled(); if (isTracingEnabled && tc.isEntryEnabled()) { Tr.entry(this, tc, "run", "alarm"); } if (isTracingEnabled && tc.isDebugEnabled()) { Tr.debug(this, tc, "run:...
[ "@", "Override", "public", "void", "run", "(", ")", "{", "final", "boolean", "isTracingEnabled", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTracingEnabled", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", "...
This method can be submitted to a ScheduledExecutorService to run in the future.
[ "This", "method", "can", "be", "submitted", "to", "a", "ScheduledExecutorService", "to", "run", "in", "the", "future", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java#L3935-L3985
110,110
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java
PoolManager.createReaperAlarm
private void createReaperAlarm() { final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled(); if (pmQuiesced) { if (isTracingEnabled && tc.isDebugEnabled()) Tr.debug(tc, " PM has been Quiesced, so cancel old reaper alarm."); if (am != null) ...
java
private void createReaperAlarm() { final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled(); if (pmQuiesced) { if (isTracingEnabled && tc.isDebugEnabled()) Tr.debug(tc, " PM has been Quiesced, so cancel old reaper alarm."); if (am != null) ...
[ "private", "void", "createReaperAlarm", "(", ")", "{", "final", "boolean", "isTracingEnabled", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "pmQuiesced", ")", "{", "if", "(", "isTracingEnabled", "&&", "tc", ".", "isDebugEnabled", ...
Creates a new alarm thread. Method that combines common code from run() and checkForStartingReaperThread()
[ "Creates", "a", "new", "alarm", "thread", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/PoolManager.java#L4326-L4407
110,111
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.core/src/com/ibm/websphere/ras/TrConfigurator.java
TrConfigurator.setTraceSpec
synchronized static TraceSpecification setTraceSpec(String spec) { // If logger is used & configured by logger properties, // we're done as far as trace string processing is concerned if (WsLogManager.isConfiguredByLoggingProperties()) { return null; } // If the spe...
java
synchronized static TraceSpecification setTraceSpec(String spec) { // If logger is used & configured by logger properties, // we're done as far as trace string processing is concerned if (WsLogManager.isConfiguredByLoggingProperties()) { return null; } // If the spe...
[ "synchronized", "static", "TraceSpecification", "setTraceSpec", "(", "String", "spec", ")", "{", "// If logger is used & configured by logger properties, ", "// we're done as far as trace string processing is concerned", "if", "(", "WsLogManager", ".", "isConfiguredByLoggingProperties"...
Set the trace specification of the service to the input value. @param spec New string trace specification @return new TraceSpecification, or null if unchanged
[ "Set", "the", "trace", "specification", "of", "the", "service", "to", "the", "input", "value", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/websphere/ras/TrConfigurator.java#L271-L305
110,112
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java
LinkedList.insert
protected Link insert(Token newToken, Link insertPoint, Transaction transaction) throws ObjectManagerException { final String methodName = "insert"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace....
java
protected Link insert(Token newToken, Link insertPoint, Transaction transaction) throws ObjectManagerException { final String methodName = "insert"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace....
[ "protected", "Link", "insert", "(", "Token", "newToken", ",", "Link", "insertPoint", ",", "Transaction", "transaction", ")", "throws", "ObjectManagerException", "{", "final", "String", "methodName", "=", "\"insert\"", ";", "if", "(", "Tracing", ".", "isAnyTracingE...
Insert before the given link. Caller must be synchronized on list. @param newToken to insert. @param insertPoint which the new link will be before. @param transaction controling the insertion. @return Link the inserted Link. @throws ObjectManagerException @exception java.util.NoSuchElementException if the current elem...
[ "Insert", "before", "the", "given", "link", ".", "Caller", "must", "be", "synchronized", "on", "list", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java#L377-L491
110,113
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java
LinkedList.undoAdd
void undoAdd(Link newLink) throws ObjectManagerException { final String methodName = "undoAdd"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, methodName, new Object[] { newLink }); // Detach this Link from the list. ...
java
void undoAdd(Link newLink) throws ObjectManagerException { final String methodName = "undoAdd"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, methodName, new Object[] { newLink }); // Detach this Link from the list. ...
[ "void", "undoAdd", "(", "Link", "newLink", ")", "throws", "ObjectManagerException", "{", "final", "String", "methodName", "=", "\"undoAdd\"", ";", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", ...
Reverse the action of addition to the list, used after an add has failed to log anything. Does not perform any logging. The caller must be synchronized on List. @param newLink to be removed from the list. @throws ObjectManagerException
[ "Reverse", "the", "action", "of", "addition", "to", "the", "list", "used", "after", "an", "add", "has", "failed", "to", "log", "anything", ".", "Does", "not", "perform", "any", "logging", ".", "The", "caller", "must", "be", "synchronized", "on", "List", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java#L502-L535
110,114
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java
LinkedList.unRemove
private synchronized void unRemove(Link link) throws StateErrorException, ObjectManagerException { // Make the link visible again. link.setState(Link.nextStateForRequestUnDelete); availableHead = head; skipToBeDeleted(); if (link.state == Link.stateAdded) { ...
java
private synchronized void unRemove(Link link) throws StateErrorException, ObjectManagerException { // Make the link visible again. link.setState(Link.nextStateForRequestUnDelete); availableHead = head; skipToBeDeleted(); if (link.state == Link.stateAdded) { ...
[ "private", "synchronized", "void", "unRemove", "(", "Link", "link", ")", "throws", "StateErrorException", ",", "ObjectManagerException", "{", "// Make the link visible again.", "link", ".", "setState", "(", "Link", ".", "nextStateForRequestUnDelete", ")", ";", "availabl...
Restore a link so that it is visible again in the list. @param link to be restored in the list. @throws StateErrorException @throws ObjectManagerException
[ "Restore", "a", "link", "so", "that", "it", "is", "visible", "again", "in", "the", "list", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java#L708-L720
110,115
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java
LinkedList.nextLink
protected Link nextLink(Link start, Transaction transaction, long transactionUnlockPoint) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, ...
java
protected Link nextLink(Link start, Transaction transaction, long transactionUnlockPoint) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, ...
[ "protected", "Link", "nextLink", "(", "Link", "start", ",", "Transaction", "transaction", ",", "long", "transactionUnlockPoint", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryE...
Find the next link after the start link, visible to a transaction, before the unlockPoint. Caller must be synchronized on LinkedList. @param start the link where the search for the next link is to start, null implies the head of the list. @param transaction which determines the visibility of Links. null indicates tha...
[ "Find", "the", "next", "link", "after", "the", "start", "link", "visible", "to", "a", "transaction", "before", "the", "unlockPoint", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java#L937-L999
110,116
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java
LinkedList.previousLink
protected Link previousLink(Link start, Transaction transaction, long transactionUnlockPoint) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass...
java
protected Link previousLink(Link start, Transaction transaction, long transactionUnlockPoint) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass...
[ "protected", "Link", "previousLink", "(", "Link", "start", ",", "Transaction", "transaction", ",", "long", "transactionUnlockPoint", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEn...
Find the previous link before the start link, visible to a transaction, before the unlockPoint. Caller must be synchronized on LinkedList. @param start the link where the search for the next link is to start, null implies the tail of the list. @param transaction which determines the visibility of Links. null indicate...
[ "Find", "the", "previous", "link", "before", "the", "start", "link", "visible", "to", "a", "transaction", "before", "the", "unlockPoint", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java#L1017-L1075
110,117
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java
LinkedList.nextLink
protected Link nextLink(Link start) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "nextLink", new Object[] { start }); Token nextToken = null; ...
java
protected Link nextLink(Link start) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "nextLink", new Object[] { start }); Token nextToken = null; ...
[ "protected", "Link", "nextLink", "(", "Link", "start", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this", ",", "...
Find the next link after the start link, even if it is part of a transaction. A dirty scan. Caller must be synchronized on LinkedList. @param start the link where the search for the next link is to start, null implies the head of the list. @return Link in the list following the start position. Returns null if there i...
[ "Find", "the", "next", "link", "after", "the", "start", "link", "even", "if", "it", "is", "part", "of", "a", "transaction", ".", "A", "dirty", "scan", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java#L1089-L1115
110,118
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java
LinkedList.previousLink
protected Link previousLink(Link start) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "previousLink", new Object[] { start }); Token previousToke...
java
protected Link previousLink(Link start) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "previousLink", new Object[] { start }); Token previousToke...
[ "protected", "Link", "previousLink", "(", "Link", "start", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this", ",",...
Find the previous link before the start link, even if it is part of a transaction. A dirty scan. Caller must be synchronized on LinkedList. @param start the link where the search for the previous link is to start, null implies the tail of the list. @return Link in the list before the start position. Returns null if t...
[ "Find", "the", "previous", "link", "before", "the", "start", "link", "even", "if", "it", "is", "part", "of", "a", "transaction", ".", "A", "dirty", "scan", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java#L1130-L1157
110,119
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java
LinkedList.firstAvailableLink
protected Link firstAvailableLink() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "firstAvailableLink"); if (availableHead == null) { availableHead = head; ...
java
protected Link firstAvailableLink() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "firstAvailableLink"); if (availableHead == null) { availableHead = head; ...
[ "protected", "Link", "firstAvailableLink", "(", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this", ",", "cclass", ...
Find the first available link after the start of the list. This search might return a link locked by a transaction toBeAdded. Caller must be synchronized on LinkedList. @return Link which is the first in the list not scheduled for deletion, or null of there is no such link. @throws ObjectManagerException
[ "Find", "the", "first", "available", "link", "after", "the", "start", "of", "the", "list", ".", "This", "search", "might", "return", "a", "link", "locked", "by", "a", "transaction", "toBeAdded", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java#L1169-L1190
110,120
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java
LinkedList.skipToBeDeleted
protected void skipToBeDeleted() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "skipToBeDeleted"); Token nextToken = availableHead; // Move forward past any link...
java
protected void skipToBeDeleted() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "skipToBeDeleted"); Token nextToken = availableHead; // Move forward past any link...
[ "protected", "void", "skipToBeDeleted", "(", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this", ",", "cclass", ","...
Move the availableHead past any ToBeDeleted links. Caller must be synchronized on LinkedList. @throws ObjectManagerException
[ "Move", "the", "availableHead", "past", "any", "ToBeDeleted", "links", ".", "Caller", "must", "be", "synchronized", "on", "LinkedList", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java#L1198-L1224
110,121
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java
LinkedList.validate
public synchronized boolean validate(java.io.PrintStream printStream) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "validate", new...
java
public synchronized boolean validate(java.io.PrintStream printStream) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "validate", new...
[ "public", "synchronized", "boolean", "validate", "(", "java", ".", "io", ".", "PrintStream", "printStream", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ...
Check that the head leads to the tail in both the forwards and backwards directions. Check that the number of messages in between matches the size. @see com.ibm.ws.objectManager.List#validate(java.io.PrintStream)
[ "Check", "that", "the", "head", "leads", "to", "the", "tail", "in", "both", "the", "forwards", "and", "backwards", "directions", ".", "Check", "that", "the", "number", "of", "messages", "in", "between", "matches", "the", "size", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java#L1260-L1305
110,122
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java
LinkedList.reserveSpaceInStore
void reserveSpaceInStore(ObjectManagerByteArrayOutputStream byteArrayOutputStream) throws ObjectManagerException { // During recovery we use the defeault mechanism because we have not pre-reserved the space, // store full exceptions are supressed during recovery. if (owningT...
java
void reserveSpaceInStore(ObjectManagerByteArrayOutputStream byteArrayOutputStream) throws ObjectManagerException { // During recovery we use the defeault mechanism because we have not pre-reserved the space, // store full exceptions are supressed during recovery. if (owningT...
[ "void", "reserveSpaceInStore", "(", "ObjectManagerByteArrayOutputStream", "byteArrayOutputStream", ")", "throws", "ObjectManagerException", "{", "// During recovery we use the defeault mechanism because we have not pre-reserved the space, ", "// store full exceptions are supressed during recover...
Modifiy the behaviour of the ManagedObject ObjectStore space reservation by taking storage from the previously allocated reservedSpaceInStore rather than the store itself this avoids the possibility of seeing an ObjectStoreFull exception here. @see com.ibm.ws.objectManager.ManagedObject#reserveSpaceInStore(com.ibm.ws....
[ "Modifiy", "the", "behaviour", "of", "the", "ManagedObject", "ObjectStore", "space", "reservation", "by", "taking", "storage", "from", "the", "previously", "allocated", "reservedSpaceInStore", "rather", "than", "the", "store", "itself", "this", "avoids", "the", "pos...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/LinkedList.java#L1366-L1384
110,123
OpenLiberty/open-liberty
dev/wlp.lib.extract/src/wlp/lib/extract/ProductMatch.java
ProductMatch.versionSatisfiesMinimum
public static boolean versionSatisfiesMinimum(int[] minimumVersion, int[] queryVersion) { if (minimumVersion.length == queryVersion.length) { for (int i = 0; i < minimumVersion.length; i++) { //Start at most significant digit if (queryVersion[i] < minimumVersion[i]) {...
java
public static boolean versionSatisfiesMinimum(int[] minimumVersion, int[] queryVersion) { if (minimumVersion.length == queryVersion.length) { for (int i = 0; i < minimumVersion.length; i++) { //Start at most significant digit if (queryVersion[i] < minimumVersion[i]) {...
[ "public", "static", "boolean", "versionSatisfiesMinimum", "(", "int", "[", "]", "minimumVersion", ",", "int", "[", "]", "queryVersion", ")", "{", "if", "(", "minimumVersion", ".", "length", "==", "queryVersion", ".", "length", ")", "{", "for", "(", "int", ...
Evaluate whether queryVersion is considered to be greater or equal than minimumVersion. Expects version numbers in array form, where the elements of the array are the digits of the version number, in order. Returns true if the version represented by queryVersion is greater than or equal to the version represented by ...
[ "Evaluate", "whether", "queryVersion", "is", "considered", "to", "be", "greater", "or", "equal", "than", "minimumVersion", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp.lib.extract/src/wlp/lib/extract/ProductMatch.java#L200-L219
110,124
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/ProtocolItemStream.java
ProtocolItemStream.getDestinationHandler
public BaseDestinationHandler getDestinationHandler() { if (tc.isEntryEnabled()) { SibTr.entry(tc, "getDestinationHandler"); SibTr.exit(tc, "getDestinationHandler", destinationHandler); } return destinationHandler; }
java
public BaseDestinationHandler getDestinationHandler() { if (tc.isEntryEnabled()) { SibTr.entry(tc, "getDestinationHandler"); SibTr.exit(tc, "getDestinationHandler", destinationHandler); } return destinationHandler; }
[ "public", "BaseDestinationHandler", "getDestinationHandler", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getDestinationHandler\"", ")", ";", "SibTr", ".", "exit", "(", "tc", ",", "\"g...
Return the destinationHandler that the protocol itemstream is associated with
[ "Return", "the", "destinationHandler", "that", "the", "protocol", "itemstream", "is", "associated", "with" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/ProtocolItemStream.java#L197-L205
110,125
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/jacc/WebAppJaccAuthorizationHelper.java
WebAppJaccAuthorizationHelper.authorize
@Override public boolean authorize(AuthenticationResult authResult, WebRequest webRequest, String uriName) { HttpServletRequest req = webRequest.getHttpServletRequest(); boolean isAuthorized = jaccServiceRef.getService().isAuthorized(getApplicationName(), getModuleName(), uriName, req.getMethod(), r...
java
@Override public boolean authorize(AuthenticationResult authResult, WebRequest webRequest, String uriName) { HttpServletRequest req = webRequest.getHttpServletRequest(); boolean isAuthorized = jaccServiceRef.getService().isAuthorized(getApplicationName(), getModuleName(), uriName, req.getMethod(), r...
[ "@", "Override", "public", "boolean", "authorize", "(", "AuthenticationResult", "authResult", ",", "WebRequest", "webRequest", ",", "String", "uriName", ")", "{", "HttpServletRequest", "req", "=", "webRequest", ".", "getHttpServletRequest", "(", ")", ";", "boolean",...
Call the JACC authorization service to determine if the subject is authorized @param authResult the authentication result, containing the subject, user name and realm @param uriName the uri being accessed @param previousCaller the previous caller, used to restore the previous state if authorization fails @return true ...
[ "Call", "the", "JACC", "authorization", "service", "to", "determine", "if", "the", "subject", "is", "authorized" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/jacc/WebAppJaccAuthorizationHelper.java#L68-L102
110,126
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/RRSLocalTransactionWrapper.java
RRSLocalTransactionWrapper.addSync
@Override public boolean addSync() throws ResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(this, tc, "addSync"); } UOWCoordinator uowCoord = mcWrapper.getUOWCoordinator(); if (uowCoord == null) { // No transac...
java
@Override public boolean addSync() throws ResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(this, tc, "addSync"); } UOWCoordinator uowCoord = mcWrapper.getUOWCoordinator(); if (uowCoord == null) { // No transac...
[ "@", "Override", "public", "boolean", "addSync", "(", ")", "throws", "ResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", "entry", "(", "this", ",", ...
Register the RRSLocalTransactionWrapper as a sync object with the Transaction Manager for the current transaction. @throws ResourceException. @return boolean
[ "Register", "the", "RRSLocalTransactionWrapper", "as", "a", "sync", "object", "with", "the", "Transaction", "Manager", "for", "the", "current", "transaction", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/RRSLocalTransactionWrapper.java#L107-L169
110,127
OpenLiberty/open-liberty
dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/component/UIInput.java
UIInput.shouldInterpretEmptyStringSubmittedValuesAsNullClearInput
private boolean shouldInterpretEmptyStringSubmittedValuesAsNullClearInput(FacesContext context) { ExternalContext ec = context.getExternalContext(); // parses the web.xml to get the // "org.apache.myfaces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL_CLEAR_INPUT" value String par...
java
private boolean shouldInterpretEmptyStringSubmittedValuesAsNullClearInput(FacesContext context) { ExternalContext ec = context.getExternalContext(); // parses the web.xml to get the // "org.apache.myfaces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL_CLEAR_INPUT" value String par...
[ "private", "boolean", "shouldInterpretEmptyStringSubmittedValuesAsNullClearInput", "(", "FacesContext", "context", ")", "{", "ExternalContext", "ec", "=", "context", ".", "getExternalContext", "(", ")", ";", "// parses the web.xml to get the", "// \"org.apache.myfaces.INTERPRET_E...
Get the value of context parameter org.apache.myfaces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL_CLEAR_INPUT from the web.xml @return the value of the context parameter
[ "Get", "the", "value", "of", "context", "parameter", "org", ".", "apache", ".", "myfaces", ".", "INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL_CLEAR_INPUT", "from", "the", "web", ".", "xml" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/component/UIInput.java#L571-L583
110,128
OpenLiberty/open-liberty
dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/component/UIInput.java
UIInput.isValid
@JSFProperty(defaultValue = "true", tagExcluded = true) public boolean isValid() { Object value = getStateHelper().get(PropertyKeys.valid); if (value != null) { return (Boolean) value; } return true; }
java
@JSFProperty(defaultValue = "true", tagExcluded = true) public boolean isValid() { Object value = getStateHelper().get(PropertyKeys.valid); if (value != null) { return (Boolean) value; } return true; }
[ "@", "JSFProperty", "(", "defaultValue", "=", "\"true\"", ",", "tagExcluded", "=", "true", ")", "public", "boolean", "isValid", "(", ")", "{", "Object", "value", "=", "getStateHelper", "(", ")", ".", "get", "(", "PropertyKeys", ".", "valid", ")", ";", "i...
Specifies whether the component's value is currently valid, ie whether the validators attached to this component have allowed it.
[ "Specifies", "whether", "the", "component", "s", "value", "is", "currently", "valid", "ie", "whether", "the", "validators", "attached", "to", "this", "component", "have", "allowed", "it", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/component/UIInput.java#L914-L923
110,129
OpenLiberty/open-liberty
dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/component/UIInput.java
UIInput._getDebugInfoMap
@SuppressWarnings("unchecked") private Map<String, List<Object[]>> _getDebugInfoMap() { Map<String, Object> requestMap = getFacesContext() .getExternalContext().getRequestMap(); Map<String, List<Object[]>> debugInfo = (Map<String, List<Object[]>>) requestMap.get(...
java
@SuppressWarnings("unchecked") private Map<String, List<Object[]>> _getDebugInfoMap() { Map<String, Object> requestMap = getFacesContext() .getExternalContext().getRequestMap(); Map<String, List<Object[]>> debugInfo = (Map<String, List<Object[]>>) requestMap.get(...
[ "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "private", "Map", "<", "String", ",", "List", "<", "Object", "[", "]", ">", ">", "_getDebugInfoMap", "(", ")", "{", "Map", "<", "String", ",", "Object", ">", "requestMap", "=", "getFacesContext", "(", "...
Returns the debug-info Map for this component. @return
[ "Returns", "the", "debug", "-", "info", "Map", "for", "this", "component", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/component/UIInput.java#L1141-L1155
110,130
OpenLiberty/open-liberty
dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/component/UIInput.java
UIInput._getFieldDebugInfos
private List<Object[]> _getFieldDebugInfos(final String field) { Map<String, List<Object[]>> debugInfo = _getDebugInfoMap(); List<Object[]> fieldDebugInfo = debugInfo.get(field); if (fieldDebugInfo == null) { // no field debug-infos yet, create them and store it in the Ma...
java
private List<Object[]> _getFieldDebugInfos(final String field) { Map<String, List<Object[]>> debugInfo = _getDebugInfoMap(); List<Object[]> fieldDebugInfo = debugInfo.get(field); if (fieldDebugInfo == null) { // no field debug-infos yet, create them and store it in the Ma...
[ "private", "List", "<", "Object", "[", "]", ">", "_getFieldDebugInfos", "(", "final", "String", "field", ")", "{", "Map", "<", "String", ",", "List", "<", "Object", "[", "]", ">", ">", "debugInfo", "=", "_getDebugInfoMap", "(", ")", ";", "List", "<", ...
Returns the field's debug-infos from the component's debug-info Map. @param field @return
[ "Returns", "the", "field", "s", "debug", "-", "infos", "from", "the", "component", "s", "debug", "-", "info", "Map", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/component/UIInput.java#L1162-L1173
110,131
OpenLiberty/open-liberty
dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/component/UIInput.java
UIInput._createFieldDebugInfo
private void _createFieldDebugInfo(FacesContext facesContext, final String field, Object oldValue, Object newValue, final int skipStackTaceElements) { if (oldValue == null && newValue == null) { // both values are null, not interesting and can // happ...
java
private void _createFieldDebugInfo(FacesContext facesContext, final String field, Object oldValue, Object newValue, final int skipStackTaceElements) { if (oldValue == null && newValue == null) { // both values are null, not interesting and can // happ...
[ "private", "void", "_createFieldDebugInfo", "(", "FacesContext", "facesContext", ",", "final", "String", "field", ",", "Object", "oldValue", ",", "Object", "newValue", ",", "final", "int", "skipStackTaceElements", ")", "{", "if", "(", "oldValue", "==", "null", "...
Creates the field debug-info for the given field, which changed from oldValue to newValue. @param facesContext @param field @param oldValue @param newValue @param skipStackTaceElements How many StackTraceElements should be skipped when the calling function will be determined.
[ "Creates", "the", "field", "debug", "-", "info", "for", "the", "given", "field", "which", "changed", "from", "oldValue", "to", "newValue", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/component/UIInput.java#L1186-L1256
110,132
OpenLiberty/open-liberty
dev/com.ibm.ws.artifact.bundle/src/com/ibm/ws/artifact/bundle/internal/BundleArchive.java
BundleArchive.getBundleEntry
@FFDCIgnore(IllegalStateException.class) public URL getBundleEntry(Bundle bundleToTest, String pathAndName) { try { URL bundleEntry = bundleToTest.getEntry(pathAndName); /* * Defect 54588 discovered that if a directory does not have a zip entry then calling getEntry wil...
java
@FFDCIgnore(IllegalStateException.class) public URL getBundleEntry(Bundle bundleToTest, String pathAndName) { try { URL bundleEntry = bundleToTest.getEntry(pathAndName); /* * Defect 54588 discovered that if a directory does not have a zip entry then calling getEntry wil...
[ "@", "FFDCIgnore", "(", "IllegalStateException", ".", "class", ")", "public", "URL", "getBundleEntry", "(", "Bundle", "bundleToTest", ",", "String", "pathAndName", ")", "{", "try", "{", "URL", "bundleEntry", "=", "bundleToTest", ".", "getEntry", "(", "pathAndNam...
This method will return a bundle entry URL for the supplied path, it will test for both a normal entry and a directory entry for it. @param pathAndName The path to the entry @return The URL for the bundle entry
[ "This", "method", "will", "return", "a", "bundle", "entry", "URL", "for", "the", "supplied", "path", "it", "will", "test", "for", "both", "a", "normal", "entry", "and", "a", "directory", "entry", "for", "it", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.artifact.bundle/src/com/ibm/ws/artifact/bundle/internal/BundleArchive.java#L106-L123
110,133
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/PubSubMessageItemStream.java
PubSubMessageItemStream.isRemoteQueueHighLimit
public boolean isRemoteQueueHighLimit() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "isRemoteQueueHighLimit"); boolean limited = false; if (_destHighMsgs != -1) { limited = (getTotalMsgCount() >= _remoteQueueHighLimit);...
java
public boolean isRemoteQueueHighLimit() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "isRemoteQueueHighLimit"); boolean limited = false; if (_destHighMsgs != -1) { limited = (getTotalMsgCount() >= _remoteQueueHighLimit);...
[ "public", "boolean", "isRemoteQueueHighLimit", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"isRemoteQueueHighLimit\"", ")", ";", ...
See defect 281311 Behaves like the isQHighLimit method call but allows an extra chunk of space for messages that have come in remotely. This is to avoid a deadlock situation. @return true if the destination is higher than the remoteQueueHighLimit for this topic space
[ "See", "defect", "281311", "Behaves", "like", "the", "isQHighLimit", "method", "call", "but", "allows", "an", "extra", "chunk", "of", "space", "for", "messages", "that", "have", "come", "in", "remotely", ".", "This", "is", "to", "avoid", "a", "deadlock", "...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/PubSubMessageItemStream.java#L339-L355
110,134
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/PubSubMessageItemStream.java
PubSubMessageItemStream.countAvailablePublications
public long countAvailablePublications() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "countAvailablePublications"); int subs = destinationHandler.getSubscriptionIndex().getTotalSubscriptions(); // Need to compensate for subscription refere...
java
public long countAvailablePublications() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "countAvailablePublications"); int subs = destinationHandler.getSubscriptionIndex().getTotalSubscriptions(); // Need to compensate for subscription refere...
[ "public", "long", "countAvailablePublications", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"countAvailablePublications\"", ")", ";...
Count the available publications. @return Number of available publications.
[ "Count", "the", "available", "publications", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/PubSubMessageItemStream.java#L411-L441
110,135
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/PubSubMessageItemStream.java
PubSubMessageItemStream.removeAllItemsWithNoRefCount
public boolean removeAllItemsWithNoRefCount(Transaction tran) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "removeAllItemsWithNoRefCount", tran); Item item = null; boolean deletedItems = false; try ...
java
public boolean removeAllItemsWithNoRefCount(Transaction tran) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "removeAllItemsWithNoRefCount", tran); Item item = null; boolean deletedItems = false; try ...
[ "public", "boolean", "removeAllItemsWithNoRefCount", "(", "Transaction", "tran", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", ...
Remove all the message items @throws SIResourceException
[ "Remove", "all", "the", "message", "items" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/PubSubMessageItemStream.java#L777-L841
110,136
OpenLiberty/open-liberty
dev/com.ibm.ws.persistence/src/com/ibm/wsspi/persistence/internal/DatabaseStoreImpl.java
DatabaseStoreImpl.createTables
private void createTables(PersistenceServiceUnit persistenceServiceUnit) throws Exception { // Run under a new transaction and commit right away LocalTransactionCurrent localTranCurrent = this.localTranCurrent; LocalTransactionCoordinator suspendedLTC = localTranCurrent.suspend(); Embedd...
java
private void createTables(PersistenceServiceUnit persistenceServiceUnit) throws Exception { // Run under a new transaction and commit right away LocalTransactionCurrent localTranCurrent = this.localTranCurrent; LocalTransactionCoordinator suspendedLTC = localTranCurrent.suspend(); Embedd...
[ "private", "void", "createTables", "(", "PersistenceServiceUnit", "persistenceServiceUnit", ")", "throws", "Exception", "{", "// Run under a new transaction and commit right away", "LocalTransactionCurrent", "localTranCurrent", "=", "this", ".", "localTranCurrent", ";", "LocalTra...
Automatic table creation. @param persistenceServiceUnit persistence service unit @throws Exception if an error occurs creating tables.
[ "Automatic", "table", "creation", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.persistence/src/com/ibm/wsspi/persistence/internal/DatabaseStoreImpl.java#L630-L655
110,137
OpenLiberty/open-liberty
dev/com.ibm.ws.persistence/src/com/ibm/wsspi/persistence/internal/DatabaseStoreImpl.java
DatabaseStoreImpl.getDatabaseProductName
private String getDatabaseProductName(WSDataSource dataSource) throws Exception { String dbProductName = dataSource.getDatabaseProductName(); if (dbProductName == null) { // Query the metadata under a new transaction and commit right away LocalTransactionCurrent localTranCurrent ...
java
private String getDatabaseProductName(WSDataSource dataSource) throws Exception { String dbProductName = dataSource.getDatabaseProductName(); if (dbProductName == null) { // Query the metadata under a new transaction and commit right away LocalTransactionCurrent localTranCurrent ...
[ "private", "String", "getDatabaseProductName", "(", "WSDataSource", "dataSource", ")", "throws", "Exception", "{", "String", "dbProductName", "=", "dataSource", ".", "getDatabaseProductName", "(", ")", ";", "if", "(", "dbProductName", "==", "null", ")", "{", "// Q...
Obtain the database product name from the database to which the data source connects. @param dataSource data source instance. @return the database product name. @throws Exception if unable to obtain the database product name.
[ "Obtain", "the", "database", "product", "name", "from", "the", "database", "to", "which", "the", "data", "source", "connects", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.persistence/src/com/ibm/wsspi/persistence/internal/DatabaseStoreImpl.java#L669-L701
110,138
OpenLiberty/open-liberty
dev/com.ibm.ws.persistence/src/com/ibm/wsspi/persistence/internal/DatabaseStoreImpl.java
DatabaseStoreImpl.setAuthData
@Reference(service = AuthData.class, cardinality = ReferenceCardinality.OPTIONAL, policy = ReferencePolicy.STATIC, target = "(id=unbound)", policyOption = ReferencePolicyOption.GREEDY) protected void setAuthData(ServiceReference<AuthData> ref) { au...
java
@Reference(service = AuthData.class, cardinality = ReferenceCardinality.OPTIONAL, policy = ReferencePolicy.STATIC, target = "(id=unbound)", policyOption = ReferencePolicyOption.GREEDY) protected void setAuthData(ServiceReference<AuthData> ref) { au...
[ "@", "Reference", "(", "service", "=", "AuthData", ".", "class", ",", "cardinality", "=", "ReferenceCardinality", ".", "OPTIONAL", ",", "policy", "=", "ReferencePolicy", ".", "STATIC", ",", "target", "=", "\"(id=unbound)\"", ",", "policyOption", "=", "ReferenceP...
Declarative Services method for setting the service reference for the default auth data @param ref reference to the service
[ "Declarative", "Services", "method", "for", "setting", "the", "service", "reference", "for", "the", "default", "auth", "data" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.persistence/src/com/ibm/wsspi/persistence/internal/DatabaseStoreImpl.java#L709-L716
110,139
OpenLiberty/open-liberty
dev/com.ibm.ws.persistence/src/com/ibm/wsspi/persistence/internal/DatabaseStoreImpl.java
DatabaseStoreImpl.setNonJTADataSourceFactory
@Reference(cardinality = ReferenceCardinality.OPTIONAL, policy = ReferencePolicy.STATIC, policyOption = ReferencePolicyOption.GREEDY, target = "(id=unbound)") protected void setNonJTADataSourceFactory(ResourceFactory svc) { nonJTADataSourceFactory = svc; }
java
@Reference(cardinality = ReferenceCardinality.OPTIONAL, policy = ReferencePolicy.STATIC, policyOption = ReferencePolicyOption.GREEDY, target = "(id=unbound)") protected void setNonJTADataSourceFactory(ResourceFactory svc) { nonJTADataSourceFactory = svc; }
[ "@", "Reference", "(", "cardinality", "=", "ReferenceCardinality", ".", "OPTIONAL", ",", "policy", "=", "ReferencePolicy", ".", "STATIC", ",", "policyOption", "=", "ReferencePolicyOption", ".", "GREEDY", ",", "target", "=", "\"(id=unbound)\"", ")", "protected", "v...
Declarative Services method for setting the resource factory for the non-transactional data source. @param svc the service
[ "Declarative", "Services", "method", "for", "setting", "the", "resource", "factory", "for", "the", "non", "-", "transactional", "data", "source", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.persistence/src/com/ibm/wsspi/persistence/internal/DatabaseStoreImpl.java#L743-L749
110,140
OpenLiberty/open-liberty
dev/com.ibm.ws.concurrent.mp.1.0/src/com/ibm/ws/concurrent/mp/ContextManagerImpl.java
ContextManagerImpl.findConflictingProvider
private ThreadContextProvider findConflictingProvider(ThreadContextProvider provider, ClassLoader classloader) { String conflictingType = provider.getThreadContextType(); for (ThreadContextProvider p : ServiceLoader.load(ThreadContextProvider.class, classloader)) { if (conflictingType.equals...
java
private ThreadContextProvider findConflictingProvider(ThreadContextProvider provider, ClassLoader classloader) { String conflictingType = provider.getThreadContextType(); for (ThreadContextProvider p : ServiceLoader.load(ThreadContextProvider.class, classloader)) { if (conflictingType.equals...
[ "private", "ThreadContextProvider", "findConflictingProvider", "(", "ThreadContextProvider", "provider", ",", "ClassLoader", "classloader", ")", "{", "String", "conflictingType", "=", "provider", ".", "getThreadContextType", "(", ")", ";", "for", "(", "ThreadContextProvid...
Finds and returns the first thread context provider that provides the same thread context type as the specified provider. @param provider provider that is found to provide a conflicting thread context type with another provider. @param classloader class loader from which to load thread context providers. @return threa...
[ "Finds", "and", "returns", "the", "first", "thread", "context", "provider", "that", "provides", "the", "same", "thread", "context", "type", "as", "the", "specified", "provider", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent.mp.1.0/src/com/ibm/ws/concurrent/mp/ContextManagerImpl.java#L118-L143
110,141
OpenLiberty/open-liberty
dev/com.ibm.ws.concurrent.mp.1.0/src/com/ibm/ws/concurrent/mp/ContextManagerImpl.java
ContextManagerImpl.getDefault
<T> T getDefault(String mpConfigPropName, T defaultValue) { MPConfigAccessor accessor = cmProvider.mpConfigAccessor; if (accessor != null) { Object mpConfig = mpConfigRef.get(); if (mpConfig == Boolean.FALSE) // not initialized yet if (!mpConfigRef.compareAndSet(B...
java
<T> T getDefault(String mpConfigPropName, T defaultValue) { MPConfigAccessor accessor = cmProvider.mpConfigAccessor; if (accessor != null) { Object mpConfig = mpConfigRef.get(); if (mpConfig == Boolean.FALSE) // not initialized yet if (!mpConfigRef.compareAndSet(B...
[ "<", "T", ">", "T", "getDefault", "(", "String", "mpConfigPropName", ",", "T", "defaultValue", ")", "{", "MPConfigAccessor", "accessor", "=", "cmProvider", ".", "mpConfigAccessor", ";", "if", "(", "accessor", "!=", "null", ")", "{", "Object", "mpConfig", "="...
Obtain a default value from MicroProfile Config if available. @param mpConfigPropName name of the MicroProfile Config property. @param defaultValue value to use if not found in MicroProfile Config. @return default value.
[ "Obtain", "a", "default", "value", "from", "MicroProfile", "Config", "if", "available", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent.mp.1.0/src/com/ibm/ws/concurrent/mp/ContextManagerImpl.java#L152-L164
110,142
OpenLiberty/open-liberty
dev/com.ibm.ws.app.manager.war/src/com/ibm/ws/app/manager/war/internal/WARDeployedAppInfoFactoryImpl.java
WARDeployedAppInfoFactoryImpl.getUpdatedStamp
private static Long getUpdatedStamp(String absPath, File file) { String methodName = "getUpdatedStamp"; boolean doDebug = tc.isDebugEnabled(); Long currentStamp = Long.valueOf( file.lastModified() ); Long newStamp; String newStampReason = null; synchronized ( expansion...
java
private static Long getUpdatedStamp(String absPath, File file) { String methodName = "getUpdatedStamp"; boolean doDebug = tc.isDebugEnabled(); Long currentStamp = Long.valueOf( file.lastModified() ); Long newStamp; String newStampReason = null; synchronized ( expansion...
[ "private", "static", "Long", "getUpdatedStamp", "(", "String", "absPath", ",", "File", "file", ")", "{", "String", "methodName", "=", "\"getUpdatedStamp\"", ";", "boolean", "doDebug", "=", "tc", ".", "isDebugEnabled", "(", ")", ";", "Long", "currentStamp", "="...
Tell if a file should be expanded by answering the updated time stamp of the file. If the file was previously expanded during this JVM run, and the file time stamp is the same as when the file was expanded, answer null. If either the file was not yet expanded during this JVM run, or if the the current file time stamp...
[ "Tell", "if", "a", "file", "should", "be", "expanded", "by", "answering", "the", "updated", "time", "stamp", "of", "the", "file", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.app.manager.war/src/com/ibm/ws/app/manager/war/internal/WARDeployedAppInfoFactoryImpl.java#L92-L126
110,143
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.core/src/com/ibm/ws/logging/internal/SafeTraceLevelIndexFactory.java
SafeTraceLevelIndexFactory.createPackageIndex
public static PackageIndex<Integer> createPackageIndex(String resourceName) { PackageIndex<Integer> packageIndex = new PackageIndex<Integer>(); BufferedReader br = null; try { br = getLibertyTraceListReader(resourceName); addFiltersAndValuesToIndex(br, packageIndex); ...
java
public static PackageIndex<Integer> createPackageIndex(String resourceName) { PackageIndex<Integer> packageIndex = new PackageIndex<Integer>(); BufferedReader br = null; try { br = getLibertyTraceListReader(resourceName); addFiltersAndValuesToIndex(br, packageIndex); ...
[ "public", "static", "PackageIndex", "<", "Integer", ">", "createPackageIndex", "(", "String", "resourceName", ")", "{", "PackageIndex", "<", "Integer", ">", "packageIndex", "=", "new", "PackageIndex", "<", "Integer", ">", "(", ")", ";", "BufferedReader", "br", ...
Create the package index from the contents of the resource. @param resourceName The resource name to load the trace list from.
[ "Create", "the", "package", "index", "from", "the", "contents", "of", "the", "resource", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/logging/internal/SafeTraceLevelIndexFactory.java#L36-L51
110,144
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/impl/BinaryLogRecordSerializerImpl.java
BinaryLogRecordSerializerImpl.writeFixedFields
private void writeFixedFields(long millis, Level level, int threadId, long seq, DataOutput writer) throws IOException { // Write time first for ease of time filtering. writer.writeLong(millis); // Write our own sequence number for merging purposes. long seqNumber; synchronized(BinaryLogRecordSerializerIm...
java
private void writeFixedFields(long millis, Level level, int threadId, long seq, DataOutput writer) throws IOException { // Write time first for ease of time filtering. writer.writeLong(millis); // Write our own sequence number for merging purposes. long seqNumber; synchronized(BinaryLogRecordSerializerIm...
[ "private", "void", "writeFixedFields", "(", "long", "millis", ",", "Level", "level", ",", "int", "threadId", ",", "long", "seq", ",", "DataOutput", "writer", ")", "throws", "IOException", "{", "// Write time first for ease of time filtering.", "writer", ".", "writeL...
sequence number of message.
[ "sequence", "number", "of", "message", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/impl/BinaryLogRecordSerializerImpl.java#L193-L209
110,145
OpenLiberty/open-liberty
dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/component/_DeltaStateHelper.java
_DeltaStateHelper.saveState
public Object saveState(FacesContext context) { Map serializableMap = (isInitialStateMarked()) ? _deltas : _fullState; if (_initialState != null && _deltas != null && !_deltas.isEmpty() && isInitialStateMarked()) { // Before save the state, check if the property was ...
java
public Object saveState(FacesContext context) { Map serializableMap = (isInitialStateMarked()) ? _deltas : _fullState; if (_initialState != null && _deltas != null && !_deltas.isEmpty() && isInitialStateMarked()) { // Before save the state, check if the property was ...
[ "public", "Object", "saveState", "(", "FacesContext", "context", ")", "{", "Map", "serializableMap", "=", "(", "isInitialStateMarked", "(", ")", ")", "?", "_deltas", ":", "_fullState", ";", "if", "(", "_initialState", "!=", "null", "&&", "_deltas", "!=", "nu...
Serializing cod the serialized data structure consists of key value pairs unless the value itself is an internal array or a map in case of an internal array or map the value itself is another array with its initial value myfaces.InternalArray, myfaces.internalMap the internal Array is then mapped to another array the...
[ "Serializing", "cod", "the", "serialized", "data", "structure", "consists", "of", "key", "value", "pairs", "unless", "the", "value", "itself", "is", "an", "internal", "array", "or", "a", "map", "in", "case", "of", "an", "internal", "array", "or", "map", "t...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/component/_DeltaStateHelper.java#L617-L749
110,146
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AbstractAsyncFuture.java
AbstractAsyncFuture.invokeCallback
protected void invokeCallback(ICompletionListener listener, AbstractAsyncFuture future, Object userState) { try { ExecutorService executorService = CHFWBundle.getExecutorService(); if (null == executorService) { if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnable...
java
protected void invokeCallback(ICompletionListener listener, AbstractAsyncFuture future, Object userState) { try { ExecutorService executorService = CHFWBundle.getExecutorService(); if (null == executorService) { if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnable...
[ "protected", "void", "invokeCallback", "(", "ICompletionListener", "listener", ",", "AbstractAsyncFuture", "future", ",", "Object", "userState", ")", "{", "try", "{", "ExecutorService", "executorService", "=", "CHFWBundle", ".", "getExecutorService", "(", ")", ";", ...
Runs a callback on the given listener safely. We cannot allow misbehaved application callback code to spoil the notification of subsequent listeners or other tidy-up work, so the callbacks have to be tightly wrappered in an exception hander that ignores the error and continues with the next callback. This could lead to...
[ "Runs", "a", "callback", "on", "the", "given", "listener", "safely", ".", "We", "cannot", "allow", "misbehaved", "application", "callback", "code", "to", "spoil", "the", "notification", "of", "subsequent", "listeners", "or", "other", "tidy", "-", "up", "work",...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AbstractAsyncFuture.java#L182-L205
110,147
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AbstractAsyncFuture.java
AbstractAsyncFuture.waitForCompletion
public void waitForCompletion() throws InterruptedException { try { waitForCompletion(0L); } catch (AsyncTimeoutException ate) { // cannot happen since arg of 0L means wait forever if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.d...
java
public void waitForCompletion() throws InterruptedException { try { waitForCompletion(0L); } catch (AsyncTimeoutException ate) { // cannot happen since arg of 0L means wait forever if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.d...
[ "public", "void", "waitForCompletion", "(", ")", "throws", "InterruptedException", "{", "try", "{", "waitForCompletion", "(", "0L", ")", ";", "}", "catch", "(", "AsyncTimeoutException", "ate", ")", "{", "// cannot happen since arg of 0L means wait forever", "if", "(",...
Blocks the calling thread indefinitely until the AsyncFuture has completed. If the AsyncFuture has already compeleted, the method returns immediately. @throws InterruptedException if the waiting thread is interrupted before the wait completes.
[ "Blocks", "the", "calling", "thread", "indefinitely", "until", "the", "AsyncFuture", "has", "completed", ".", "If", "the", "AsyncFuture", "has", "already", "compeleted", "the", "method", "returns", "immediately", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AbstractAsyncFuture.java#L271-L285
110,148
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AbstractAsyncFuture.java
AbstractAsyncFuture.waitForCompletion
public void waitForCompletion(long timeout) throws AsyncTimeoutException, InterruptedException { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "waitForCompletion: " + timeout); } // First do a non-sync test, to see if we can return quickly i...
java
public void waitForCompletion(long timeout) throws AsyncTimeoutException, InterruptedException { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "waitForCompletion: " + timeout); } // First do a non-sync test, to see if we can return quickly i...
[ "public", "void", "waitForCompletion", "(", "long", "timeout", ")", "throws", "AsyncTimeoutException", ",", "InterruptedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr...
Blocks the calling thread until either the Future has completed or the timeout period has expired. The timeout period is set in milliseconds. @param timeout the maximum time to wait in milliseconds. Specifying 0L means wait forever. @throws AsyncTimeoutException if the timeout period elapsed. @throws InterruptedExcept...
[ "Blocks", "the", "calling", "thread", "until", "either", "the", "Future", "has", "completed", "or", "the", "timeout", "period", "has", "expired", ".", "The", "timeout", "period", "is", "set", "in", "milliseconds", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AbstractAsyncFuture.java#L300-L341
110,149
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AbstractAsyncFuture.java
AbstractAsyncFuture.resetFuture
public void resetFuture() { // this must be done before "completed = false". Since reuseCount // is volatile, and we ONLY need it to be in sync with the thread // in AsyncSocketChannelHelper WHEN completed is detected as being // false, then we should not need further synchronization. ...
java
public void resetFuture() { // this must be done before "completed = false". Since reuseCount // is volatile, and we ONLY need it to be in sync with the thread // in AsyncSocketChannelHelper WHEN completed is detected as being // false, then we should not need further synchronization. ...
[ "public", "void", "resetFuture", "(", ")", "{", "// this must be done before \"completed = false\". Since reuseCount", "// is volatile, and we ONLY need it to be in sync with the thread", "// in AsyncSocketChannelHelper WHEN completed is detected as being", "// false, then we should not need furth...
Reset this future object back to the default values.
[ "Reset", "this", "future", "object", "back", "to", "the", "default", "values", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AbstractAsyncFuture.java#L346-L362
110,150
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/StringUtils.java
StringUtils.isFloatNoExponent
public static boolean isFloatNoExponent(String str) { int len = str.length(); if (len == 0) { return false; } // skip first char if sign char char c = str.charAt(0); int i = ((c == '-') || (c == '+')) ? 1 : 0; // is it only a sign? ...
java
public static boolean isFloatNoExponent(String str) { int len = str.length(); if (len == 0) { return false; } // skip first char if sign char char c = str.charAt(0); int i = ((c == '-') || (c == '+')) ? 1 : 0; // is it only a sign? ...
[ "public", "static", "boolean", "isFloatNoExponent", "(", "String", "str", ")", "{", "int", "len", "=", "str", ".", "length", "(", ")", ";", "if", "(", "len", "==", "0", ")", "{", "return", "false", ";", "}", "// skip first char if sign char", "char", "c"...
Checks that the string represents a floating point number that CANNOT be in exponential notation @param str the string to check @return boolean
[ "Checks", "that", "the", "string", "represents", "a", "floating", "point", "number", "that", "CANNOT", "be", "in", "exponential", "notation" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/StringUtils.java#L49-L92
110,151
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/StringUtils.java
StringUtils.splitLongString
public static String[] splitLongString(String str, char separator) { int len = (str == null) ? 0 : str.length(); if (str == null || len == 0) { return ArrayUtils.EMPTY_STRING_ARRAY; } int oldPos = 0; ArrayList list = new ArrayList(); int pos...
java
public static String[] splitLongString(String str, char separator) { int len = (str == null) ? 0 : str.length(); if (str == null || len == 0) { return ArrayUtils.EMPTY_STRING_ARRAY; } int oldPos = 0; ArrayList list = new ArrayList(); int pos...
[ "public", "static", "String", "[", "]", "splitLongString", "(", "String", "str", ",", "char", "separator", ")", "{", "int", "len", "=", "(", "str", "==", "null", ")", "?", "0", ":", "str", ".", "length", "(", ")", ";", "if", "(", "str", "==", "nu...
Split a string into an array of strings arround a character separator. This function will be efficient for longer strings @param str the string to be split @param separator the separator character @return array of string subparts
[ "Split", "a", "string", "into", "an", "array", "of", "strings", "arround", "a", "character", "separator", ".", "This", "function", "will", "be", "efficient", "for", "longer", "strings" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/StringUtils.java#L438-L460
110,152
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/StringUtils.java
StringUtils.splitShortString
public static String[] splitShortString(String str, char separator) { int len = (str == null) ? 0 : str.length(); if (str == null || len == 0) { return org.apache.myfaces.shared.util.ArrayUtils.EMPTY_STRING_ARRAY; } int lastTokenIndex = 0; // Step 1: how...
java
public static String[] splitShortString(String str, char separator) { int len = (str == null) ? 0 : str.length(); if (str == null || len == 0) { return org.apache.myfaces.shared.util.ArrayUtils.EMPTY_STRING_ARRAY; } int lastTokenIndex = 0; // Step 1: how...
[ "public", "static", "String", "[", "]", "splitShortString", "(", "String", "str", ",", "char", "separator", ")", "{", "int", "len", "=", "(", "str", "==", "null", ")", "?", "0", ":", "str", ".", "length", "(", ")", ";", "if", "(", "str", "==", "n...
Split a string into an array of strings arround a character separator. This function will be efficient for short strings, for longer strings, another approach may be better @param str the string to be split @param separator the separator character @return array of string subparts
[ "Split", "a", "string", "into", "an", "array", "of", "strings", "arround", "a", "character", "separator", ".", "This", "function", "will", "be", "efficient", "for", "short", "strings", "for", "longer", "strings", "another", "approach", "may", "be", "better" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/StringUtils.java#L541-L578
110,153
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/StringUtils.java
StringUtils.minIndex
public static int minIndex(int a, int b) { return (a < 0) ? b : (b < 0) ? a : (a < b) ? a : b; }
java
public static int minIndex(int a, int b) { return (a < 0) ? b : (b < 0) ? a : (a < b) ? a : b; }
[ "public", "static", "int", "minIndex", "(", "int", "a", ",", "int", "b", ")", "{", "return", "(", "a", "<", "0", ")", "?", "b", ":", "(", "b", "<", "0", ")", "?", "a", ":", "(", "a", "<", "b", ")", "?", "a", ":", "b", ";", "}" ]
Returns the minimum index >= 0, if any <p> Use to find the first of two characters in a string:<br> <code>minIndex(s.indexOf('/'), indexOf('\'))</code> </p>
[ "Returns", "the", "minimum", "index", ">", "=", "0", "if", "any" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/StringUtils.java#L730-L735
110,154
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/filter/FilterConfig.java
FilterConfig.setDispatchMode
public void setDispatchMode(int[] dispatchModeInts) { //convert to DispatcherType dispatchMode = new DispatcherType [dispatchModeInts.length]; for (int i=0;i<dispatchModeInts.length;i++){ int dispatchModeCur=dispatchModeInts[i]; switch (dispatchModeCur) { case 0: dispatchMode[i]=DispatcherType.RE...
java
public void setDispatchMode(int[] dispatchModeInts) { //convert to DispatcherType dispatchMode = new DispatcherType [dispatchModeInts.length]; for (int i=0;i<dispatchModeInts.length;i++){ int dispatchModeCur=dispatchModeInts[i]; switch (dispatchModeCur) { case 0: dispatchMode[i]=DispatcherType.RE...
[ "public", "void", "setDispatchMode", "(", "int", "[", "]", "dispatchModeInts", ")", "{", "//convert to DispatcherType", "dispatchMode", "=", "new", "DispatcherType", "[", "dispatchModeInts", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", ...
public static final int FILTER_ERROR = 3;
[ "public", "static", "final", "int", "FILTER_ERROR", "=", "3", ";" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/filter/FilterConfig.java#L97-L112
110,155
OpenLiberty/open-liberty
dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigValidator.java
ConfigValidator.getAttributeDefinition
private ExtendedAttributeDefinition getAttributeDefinition(RegistryEntry registryEntry, String attributeName) { if (registryEntry == null) { return null; } ExtendedObjectClassDefinition definition = registryEntry.getObjectClassDefinition(); if (definition == null) { ...
java
private ExtendedAttributeDefinition getAttributeDefinition(RegistryEntry registryEntry, String attributeName) { if (registryEntry == null) { return null; } ExtendedObjectClassDefinition definition = registryEntry.getObjectClassDefinition(); if (definition == null) { ...
[ "private", "ExtendedAttributeDefinition", "getAttributeDefinition", "(", "RegistryEntry", "registryEntry", ",", "String", "attributeName", ")", "{", "if", "(", "registryEntry", "==", "null", ")", "{", "return", "null", ";", "}", "ExtendedObjectClassDefinition", "definit...
Answer the definition of an attribute. Answer null if a definition is not available. @param registryEntry The registry entry from which to retrieve the attribute definition. @param attributeName The name of the attribute to locate. @return The definition of the attribute. Null if no definition is available for the at...
[ "Answer", "the", "definition", "of", "an", "attribute", ".", "Answer", "null", "if", "a", "definition", "is", "not", "available", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigValidator.java#L96-L109
110,156
OpenLiberty/open-liberty
dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigValidator.java
ConfigValidator.generateConflictMap
protected Map<String, ConfigElementList> generateConflictMap(List<? extends ConfigElement> list) { return generateConflictMap(null, list); }
java
protected Map<String, ConfigElementList> generateConflictMap(List<? extends ConfigElement> list) { return generateConflictMap(null, list); }
[ "protected", "Map", "<", "String", ",", "ConfigElementList", ">", "generateConflictMap", "(", "List", "<", "?", "extends", "ConfigElement", ">", "list", ")", "{", "return", "generateConflictMap", "(", "null", ",", "list", ")", ";", "}" ]
Look for conflicts between single-valued attributes. No metatype registry entry is available. @param elements The configuration elements to test. @return A table of conflicts between the configuration elements.
[ "Look", "for", "conflicts", "between", "single", "-", "valued", "attributes", ".", "No", "metatype", "registry", "entry", "is", "available", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigValidator.java#L229-L231
110,157
OpenLiberty/open-liberty
dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigValidator.java
ConfigValidator.generateConflictMap
protected Map<String, ConfigElementList> generateConflictMap(RegistryEntry registryEntry, List<? extends ConfigElement> list) { if (list.size() <= 1) { return Collections.emptyMap(); } boolean foundConflict = false; Map<String, ConfigElementList> conflictMap = new HashMap<S...
java
protected Map<String, ConfigElementList> generateConflictMap(RegistryEntry registryEntry, List<? extends ConfigElement> list) { if (list.size() <= 1) { return Collections.emptyMap(); } boolean foundConflict = false; Map<String, ConfigElementList> conflictMap = new HashMap<S...
[ "protected", "Map", "<", "String", ",", "ConfigElementList", ">", "generateConflictMap", "(", "RegistryEntry", "registryEntry", ",", "List", "<", "?", "extends", "ConfigElement", ">", "list", ")", "{", "if", "(", "list", ".", "size", "(", ")", "<=", "1", "...
Look for conflicts between single-valued attributes of a list of configuration elements. Match attributes by name. Conflicts are keyed by attribute name. @param registryEntry The registry entry for the configuration elements. @param list The configuration elements to test. @return A mapping of conflicts detected ac...
[ "Look", "for", "conflicts", "between", "single", "-", "valued", "attributes", "of", "a", "list", "of", "configuration", "elements", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigValidator.java#L245-L280
110,158
OpenLiberty/open-liberty
dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigValidator.java
ConfigValidator.generateCollisionMessage
private String generateCollisionMessage(String pid, ConfigID id, RegistryEntry registryEntry, Map<String, ConfigElementList> conflictMap) { StringBuilder builder = new StringBuilder(); if (id == null) { builder.append(Tr.formatMessage(tc, "config....
java
private String generateCollisionMessage(String pid, ConfigID id, RegistryEntry registryEntry, Map<String, ConfigElementList> conflictMap) { StringBuilder builder = new StringBuilder(); if (id == null) { builder.append(Tr.formatMessage(tc, "config....
[ "private", "String", "generateCollisionMessage", "(", "String", "pid", ",", "ConfigID", "id", ",", "RegistryEntry", "registryEntry", ",", "Map", "<", "String", ",", "ConfigElementList", ">", "conflictMap", ")", "{", "StringBuilder", "builder", "=", "new", "StringB...
Emit a message for all detected conflicting elements. Message lines are generated for each attribute which has a conflict, and for each value of each conflicted attribute. The conflict map should never be empty. Do not emit values for protected (password flagged) attributes. See {@link #isSecureAttribute(RegistryEnt...
[ "Emit", "a", "message", "for", "all", "detected", "conflicting", "elements", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigValidator.java#L297-L348
110,159
OpenLiberty/open-liberty
dev/com.ibm.ws.cdi.ejb.common/src/com/ibm/ws/cdi/ejb/impl/EJBInterceptorRegistry.java
EJBInterceptorRegistry.getInterceptors
public List<Interceptor<?>> getInterceptors(J2EEName ejbJ2EEName, Method method, InterceptionType interceptionType) { List<Interceptor<?>> interceptors = new ArrayList<Interceptor<?>>(); //find the Interceptor Bindings for the ejb InterceptorBindings ejbInterceptors = allInterceptors.get(ejbJ2E...
java
public List<Interceptor<?>> getInterceptors(J2EEName ejbJ2EEName, Method method, InterceptionType interceptionType) { List<Interceptor<?>> interceptors = new ArrayList<Interceptor<?>>(); //find the Interceptor Bindings for the ejb InterceptorBindings ejbInterceptors = allInterceptors.get(ejbJ2E...
[ "public", "List", "<", "Interceptor", "<", "?", ">", ">", "getInterceptors", "(", "J2EEName", "ejbJ2EEName", ",", "Method", "method", ",", "InterceptionType", "interceptionType", ")", "{", "List", "<", "Interceptor", "<", "?", ">", ">", "interceptors", "=", ...
Find all the interceptors of a given type for a given method on an ejb @param ejbName the J2EEName of the ejb @param method the method to be intercepted @param interceptionType the type of interception
[ "Find", "all", "the", "interceptors", "of", "a", "given", "type", "for", "a", "given", "method", "on", "an", "ejb" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.cdi.ejb.common/src/com/ibm/ws/cdi/ejb/impl/EJBInterceptorRegistry.java#L49-L73
110,160
OpenLiberty/open-liberty
dev/com.ibm.ws.microprofile.faulttolerance/src/com/ibm/ws/microprofile/faulttolerance/impl/async/QueuedFuture.java
QueuedFuture.start
public void start(ExecutorService executorService, Callable<Future<R>> innerTask, ThreadContextDescriptor threadContext) { synchronized (this) { this.innerTask = innerTask; this.threadContext = threadContext; //set up the future to hold the result this.resultFutur...
java
public void start(ExecutorService executorService, Callable<Future<R>> innerTask, ThreadContextDescriptor threadContext) { synchronized (this) { this.innerTask = innerTask; this.threadContext = threadContext; //set up the future to hold the result this.resultFutur...
[ "public", "void", "start", "(", "ExecutorService", "executorService", ",", "Callable", "<", "Future", "<", "R", ">", ">", "innerTask", ",", "ThreadContextDescriptor", "threadContext", ")", "{", "synchronized", "(", "this", ")", "{", "this", ".", "innerTask", "...
Submit this task for execution by the given executor service. @param executorService the executor service to use @param innerTask the task to run @param threadContext the thread context to apply when running the task
[ "Submit", "this", "task", "for", "execution", "by", "the", "given", "executor", "service", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.faulttolerance/src/com/ibm/ws/microprofile/faulttolerance/impl/async/QueuedFuture.java#L265-L274
110,161
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaStringGenerator.java
SibRaStringGenerator.addField
void addField(final String name, final Object value) throws IllegalStateException { checkNotCompleted(); _buffer.append(" <"); _buffer.append(name); _buffer.append("="); _buffer.append(value); _buffer.append(">"); }
java
void addField(final String name, final Object value) throws IllegalStateException { checkNotCompleted(); _buffer.append(" <"); _buffer.append(name); _buffer.append("="); _buffer.append(value); _buffer.append(">"); }
[ "void", "addField", "(", "final", "String", "name", ",", "final", "Object", "value", ")", "throws", "IllegalStateException", "{", "checkNotCompleted", "(", ")", ";", "_buffer", ".", "append", "(", "\" <\"", ")", ";", "_buffer", ".", "append", "(", "name", ...
Adds a string representation of the given object field. @param name the name of the field @param value the value of the field @throws IllegalStateException if the string representation has already been completed
[ "Adds", "a", "string", "representation", "of", "the", "given", "object", "field", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaStringGenerator.java#L75-L85
110,162
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaStringGenerator.java
SibRaStringGenerator.addField
void addField(final String name, final boolean value) throws IllegalStateException { addField(name, Boolean.toString(value)); }
java
void addField(final String name, final boolean value) throws IllegalStateException { addField(name, Boolean.toString(value)); }
[ "void", "addField", "(", "final", "String", "name", ",", "final", "boolean", "value", ")", "throws", "IllegalStateException", "{", "addField", "(", "name", ",", "Boolean", ".", "toString", "(", "value", ")", ")", ";", "}" ]
Adds a string representation of the given boolean field. @param name the name of the field @param value the value of the field @throws IllegalStateException if the string representation has already been completed
[ "Adds", "a", "string", "representation", "of", "the", "given", "boolean", "field", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaStringGenerator.java#L97-L102
110,163
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaStringGenerator.java
SibRaStringGenerator.addPasswordField
void addPasswordField(final String name, final String value) throws IllegalStateException { addField(name, (value == null) ? null : "*****"); }
java
void addPasswordField(final String name, final String value) throws IllegalStateException { addField(name, (value == null) ? null : "*****"); }
[ "void", "addPasswordField", "(", "final", "String", "name", ",", "final", "String", "value", ")", "throws", "IllegalStateException", "{", "addField", "(", "name", ",", "(", "value", "==", "null", ")", "?", "null", ":", "\"*****\"", ")", ";", "}" ]
Adds a string representation of the given password field. @param name the name of the field @param value the value of the field @throws IllegalStateException if the string representation has already been completed
[ "Adds", "a", "string", "representation", "of", "the", "given", "password", "field", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaStringGenerator.java#L114-L119
110,164
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaStringGenerator.java
SibRaStringGenerator.addField
void addField(final String name, final long value) throws IllegalStateException { addField(name, Long.toString(value)); }
java
void addField(final String name, final long value) throws IllegalStateException { addField(name, Long.toString(value)); }
[ "void", "addField", "(", "final", "String", "name", ",", "final", "long", "value", ")", "throws", "IllegalStateException", "{", "addField", "(", "name", ",", "Long", ".", "toString", "(", "value", ")", ")", ";", "}" ]
Adds a string representation of the given long field. @param name the name of the field @param value the value of the field @throws IllegalStateException if the string representation has already been completed
[ "Adds", "a", "string", "representation", "of", "the", "given", "long", "field", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaStringGenerator.java#L131-L136
110,165
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaStringGenerator.java
SibRaStringGenerator.addObjectIdentity
private void addObjectIdentity(final Object object) { if (object == null) { _buffer.append("null"); } else { _buffer.append(object.getClass().getName()); _buffer.append("@"); _buffer .append(Integer .toHexSt...
java
private void addObjectIdentity(final Object object) { if (object == null) { _buffer.append("null"); } else { _buffer.append(object.getClass().getName()); _buffer.append("@"); _buffer .append(Integer .toHexSt...
[ "private", "void", "addObjectIdentity", "(", "final", "Object", "object", ")", "{", "if", "(", "object", "==", "null", ")", "{", "_buffer", ".", "append", "(", "\"null\"", ")", ";", "}", "else", "{", "_buffer", ".", "append", "(", "object", ".", "getCl...
Adds a string identifying the given object to the buffer. @param object the object to add
[ "Adds", "a", "string", "identifying", "the", "given", "object", "to", "the", "buffer", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaStringGenerator.java#L174-L186
110,166
OpenLiberty/open-liberty
dev/com.ibm.ws.jpa.container/src/com/ibm/ws/jpa/container/osgi/internal/JPAComponentImpl.java
JPAComponentImpl.addIntegrationProperties
@Override public void addIntegrationProperties(String xmlSchemaVersion, Map<String, Object> integrationProperties) { for (JPAEMFPropertyProvider propProvider : propProviderSRs.services()) { propProvider.updateProperties(integrationProperties); ...
java
@Override public void addIntegrationProperties(String xmlSchemaVersion, Map<String, Object> integrationProperties) { for (JPAEMFPropertyProvider propProvider : propProviderSRs.services()) { propProvider.updateProperties(integrationProperties); ...
[ "@", "Override", "public", "void", "addIntegrationProperties", "(", "String", "xmlSchemaVersion", ",", "Map", "<", "String", ",", "Object", ">", "integrationProperties", ")", "{", "for", "(", "JPAEMFPropertyProvider", "propProvider", ":", "propProviderSRs", ".", "se...
F743-12524
[ "F743", "-", "12524" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jpa.container/src/com/ibm/ws/jpa/container/osgi/internal/JPAComponentImpl.java#L625-L635
110,167
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java
LogRepositoryComponent.getBinaryHandler
private static synchronized LogRecordHandler getBinaryHandler() { if (binaryHandler == null) { binaryHandler = new LogRecordHandler(TRACE_THRESHOLD, LogRepositoryManagerImpl.KNOWN_FORMATTERS[0]); } return binaryHandler; }
java
private static synchronized LogRecordHandler getBinaryHandler() { if (binaryHandler == null) { binaryHandler = new LogRecordHandler(TRACE_THRESHOLD, LogRepositoryManagerImpl.KNOWN_FORMATTERS[0]); } return binaryHandler; }
[ "private", "static", "synchronized", "LogRecordHandler", "getBinaryHandler", "(", ")", "{", "if", "(", "binaryHandler", "==", "null", ")", "{", "binaryHandler", "=", "new", "LogRecordHandler", "(", "TRACE_THRESHOLD", ",", "LogRepositoryManagerImpl", ".", "KNOWN_FORMAT...
16890.20771
[ "16890", ".", "20771" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java#L46-L51
110,168
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java
LogRepositoryComponent.removeFiles
public static boolean removeFiles(String destinationType) { LogRepositoryManager destManager = getManager(destinationType) ; if (destManager instanceof LogRepositoryManagerImpl) return destManager.purgeOldFiles() ; else return false ; }
java
public static boolean removeFiles(String destinationType) { LogRepositoryManager destManager = getManager(destinationType) ; if (destManager instanceof LogRepositoryManagerImpl) return destManager.purgeOldFiles() ; else return false ; }
[ "public", "static", "boolean", "removeFiles", "(", "String", "destinationType", ")", "{", "LogRepositoryManager", "destManager", "=", "getManager", "(", "destinationType", ")", ";", "if", "(", "destManager", "instanceof", "LogRepositoryManagerImpl", ")", "return", "de...
remove files from appropriate destination. Called by receiver of interProcess communication on parent process @param destinationType Type of destination/repository @return boolean, true = success, false = failed to remove files
[ "remove", "files", "from", "appropriate", "destination", ".", "Called", "by", "receiver", "of", "interProcess", "communication", "on", "parent", "process" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java#L58-L64
110,169
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java
LogRepositoryComponent.addRemoteProcessFile
public static String addRemoteProcessFile(String destinationType, long spTimeStamp, String spPid, String spLabel) { LogRepositoryManager destManager = getManager(destinationType) ; String subProcessFileName = null ; if (destManager instanceof LogRepositoryManagerImpl) subProcessFileName = ((LogRepositoryManage...
java
public static String addRemoteProcessFile(String destinationType, long spTimeStamp, String spPid, String spLabel) { LogRepositoryManager destManager = getManager(destinationType) ; String subProcessFileName = null ; if (destManager instanceof LogRepositoryManagerImpl) subProcessFileName = ((LogRepositoryManage...
[ "public", "static", "String", "addRemoteProcessFile", "(", "String", "destinationType", ",", "long", "spTimeStamp", ",", "String", "spPid", ",", "String", "spLabel", ")", "{", "LogRepositoryManager", "destManager", "=", "getManager", "(", "destinationType", ")", ";"...
add a remote file to the cache of files currently considered for retention on the parent. The child process uses some form of interProcessCommunication to notify receiver of file creation, and this method is driven @param destinationType Type of destination/repository @param spTimeStamp timeStamp to be associated with ...
[ "add", "a", "remote", "file", "to", "the", "cache", "of", "files", "currently", "considered", "for", "retention", "on", "the", "parent", ".", "The", "child", "process", "uses", "some", "form", "of", "interProcessCommunication", "to", "notify", "receiver", "of"...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java#L104-L110
110,170
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java
LogRepositoryComponent.inactivateSubProcess
public static void inactivateSubProcess(String spPid) { LogRepositoryManager destManager = getManager(LogRepositoryBaseImpl.TRACETYPE) ; ((LogRepositoryManagerImpl)destManager).inactivateSubProcess(spPid) ; destManager = getManager(LogRepositoryBaseImpl.LOGTYPE) ; ((LogRepositoryManagerImpl)destManager).inactiv...
java
public static void inactivateSubProcess(String spPid) { LogRepositoryManager destManager = getManager(LogRepositoryBaseImpl.TRACETYPE) ; ((LogRepositoryManagerImpl)destManager).inactivateSubProcess(spPid) ; destManager = getManager(LogRepositoryBaseImpl.LOGTYPE) ; ((LogRepositoryManagerImpl)destManager).inactiv...
[ "public", "static", "void", "inactivateSubProcess", "(", "String", "spPid", ")", "{", "LogRepositoryManager", "destManager", "=", "getManager", "(", "LogRepositoryBaseImpl", ".", "TRACETYPE", ")", ";", "(", "(", "LogRepositoryManagerImpl", ")", "destManager", ")", "...
process notification that child process has exited. @param spPid Process Id of the exiting process
[ "process", "notification", "that", "child", "process", "has", "exited", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java#L116-L121
110,171
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java
LogRepositoryComponent.setLogDirectoryDestination
public static synchronized void setLogDirectoryDestination(String location, boolean enablePurgeBySize, boolean enablePurgeByTime, boolean enableFileSwitch, boolean enableBuffering, long maxRepositorySize, long retentionTime, int fileSwitchHour, String outOfSpaceAction) { LOG_DESTINATION_CHANGER.setDirectoryDest...
java
public static synchronized void setLogDirectoryDestination(String location, boolean enablePurgeBySize, boolean enablePurgeByTime, boolean enableFileSwitch, boolean enableBuffering, long maxRepositorySize, long retentionTime, int fileSwitchHour, String outOfSpaceAction) { LOG_DESTINATION_CHANGER.setDirectoryDest...
[ "public", "static", "synchronized", "void", "setLogDirectoryDestination", "(", "String", "location", ",", "boolean", "enablePurgeBySize", ",", "boolean", "enablePurgeByTime", ",", "boolean", "enableFileSwitch", ",", "boolean", "enableBuffering", ",", "long", "maxRepositor...
Sets directory destination for log messages. @param location the base directory to use for log file repository. Value 'null' means to keep using current directory. @param enablePurgeBySize <code>true</code> if record purging due to the size constrain should be enabled. @param enablePurgeByTime <code>true</code> if rec...
[ "Sets", "directory", "destination", "for", "log", "messages", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java#L334-L339
110,172
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java
LogRepositoryComponent.setTraceDirectoryDestination
public static synchronized void setTraceDirectoryDestination(String location, boolean enablePurgeBySize, boolean enablePurgeByTime, boolean enableFileSwitch, boolean enableBuffering, long maxRepositorySize, long retentionTime, int fileSwitchHour, String outOfSpaceAction) { TRACE_DESTINATION_CHANGER.setDirectory...
java
public static synchronized void setTraceDirectoryDestination(String location, boolean enablePurgeBySize, boolean enablePurgeByTime, boolean enableFileSwitch, boolean enableBuffering, long maxRepositorySize, long retentionTime, int fileSwitchHour, String outOfSpaceAction) { TRACE_DESTINATION_CHANGER.setDirectory...
[ "public", "static", "synchronized", "void", "setTraceDirectoryDestination", "(", "String", "location", ",", "boolean", "enablePurgeBySize", ",", "boolean", "enablePurgeByTime", ",", "boolean", "enableFileSwitch", ",", "boolean", "enableBuffering", ",", "long", "maxReposit...
Sets directory destination for trace messages. @param location the base directory to use for trace file repository. Value 'null' means to keep using current directory. @param enablePurgeBySize <code>true</code> if record purging due to the size constrain should be enabled. @param enablePurgeByTime <code>true</code> i...
[ "Sets", "directory", "destination", "for", "trace", "messages", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java#L355-L360
110,173
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java
LogRepositoryComponent.setTraceMemoryDestination
public static synchronized void setTraceMemoryDestination(String location, long maxSize) { LogRepositoryWriter old = getBinaryHandler().getTraceWriter(); LogRepositoryWriterCBuffImpl writer; // Check if trace writer need to be changed. if (location == null && old instanceof LogRepositoryWriterCBuffImpl) { wr...
java
public static synchronized void setTraceMemoryDestination(String location, long maxSize) { LogRepositoryWriter old = getBinaryHandler().getTraceWriter(); LogRepositoryWriterCBuffImpl writer; // Check if trace writer need to be changed. if (location == null && old instanceof LogRepositoryWriterCBuffImpl) { wr...
[ "public", "static", "synchronized", "void", "setTraceMemoryDestination", "(", "String", "location", ",", "long", "maxSize", ")", "{", "LogRepositoryWriter", "old", "=", "getBinaryHandler", "(", ")", ".", "getTraceWriter", "(", ")", ";", "LogRepositoryWriterCBuffImpl",...
Sets memory destination for trace messages. @param location the base directory to use for trace file repository when in-memory records are dumped to the disk. Value 'null' means to keep using current directory. @param maxSize the maximum size of the in-memory buffer in bytes.
[ "Sets", "memory", "destination", "for", "trace", "messages", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java#L440-L488
110,174
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java
LogRepositoryComponent.dumpTraceMemory
public static synchronized void dumpTraceMemory() { LogRepositoryWriter writer = getBinaryHandler().getTraceWriter(); if (writer instanceof LogRepositoryWriterCBuffImpl) { ((LogRepositoryWriterCBuffImpl) writer).dumpItems(); } }
java
public static synchronized void dumpTraceMemory() { LogRepositoryWriter writer = getBinaryHandler().getTraceWriter(); if (writer instanceof LogRepositoryWriterCBuffImpl) { ((LogRepositoryWriterCBuffImpl) writer).dumpItems(); } }
[ "public", "static", "synchronized", "void", "dumpTraceMemory", "(", ")", "{", "LogRepositoryWriter", "writer", "=", "getBinaryHandler", "(", ")", ".", "getTraceWriter", "(", ")", ";", "if", "(", "writer", "instanceof", "LogRepositoryWriterCBuffImpl", ")", "{", "("...
Dumps trace records stored in the memory buffer to disk. This action happens only if trace destination was set to memory.
[ "Dumps", "trace", "records", "stored", "in", "the", "memory", "buffer", "to", "disk", ".", "This", "action", "happens", "only", "if", "trace", "destination", "was", "set", "to", "memory", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java#L494-L499
110,175
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java
LogRepositoryComponent.setTextDestination
public static synchronized void setTextDestination(String location, boolean enablePurgeBySize, boolean enablePurgeByTime, boolean enableFileSwitch, boolean enableBuffering, long maxRepositorySize, long retentionTime, int fileSwitchHour, String outOfSpaceAction, String outputFormat, boolean includeTrace) { // F00...
java
public static synchronized void setTextDestination(String location, boolean enablePurgeBySize, boolean enablePurgeByTime, boolean enableFileSwitch, boolean enableBuffering, long maxRepositorySize, long retentionTime, int fileSwitchHour, String outOfSpaceAction, String outputFormat, boolean includeTrace) { // F00...
[ "public", "static", "synchronized", "void", "setTextDestination", "(", "String", "location", ",", "boolean", "enablePurgeBySize", ",", "boolean", "enablePurgeByTime", ",", "boolean", "enableFileSwitch", ",", "boolean", "enableBuffering", ",", "long", "maxRepositorySize", ...
Sets directory destination for text logging. @param location the base directory to use for text log files. Value 'null' means to keep using current directory. @param enablePurgeBySize <code>true</code> if record purging due to the size constraint should be enabled. @param enablePurgeByTime <code>true</code> if record ...
[ "Sets", "directory", "destination", "for", "text", "logging", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java#L558-L595
110,176
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java
LogRepositoryComponent.disableTextDestination
public static synchronized void disableTextDestination() { if (textHandler != null) { Logger.getLogger("").removeHandler(textHandler); // ManagerAdmin.getWsHandlerManager().removeWsHandler(textHandler); //735356 Before deleting textHandler, we should close the file. Otherwise file remains open and causes han...
java
public static synchronized void disableTextDestination() { if (textHandler != null) { Logger.getLogger("").removeHandler(textHandler); // ManagerAdmin.getWsHandlerManager().removeWsHandler(textHandler); //735356 Before deleting textHandler, we should close the file. Otherwise file remains open and causes han...
[ "public", "static", "synchronized", "void", "disableTextDestination", "(", ")", "{", "if", "(", "textHandler", "!=", "null", ")", "{", "Logger", ".", "getLogger", "(", "\"\"", ")", ".", "removeHandler", "(", "textHandler", ")", ";", "// ManagerAdmin.getWsHandler...
Disable text logging.
[ "Disable", "text", "logging", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java#L600-L608
110,177
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java
LogRepositoryComponent.setProcessInfo
public static void setProcessInfo(String pid, String label, String superPid) { svPid = pid ; svLabel = label ; svSuperPid = superPid ; }
java
public static void setProcessInfo(String pid, String label, String superPid) { svPid = pid ; svLabel = label ; svSuperPid = superPid ; }
[ "public", "static", "void", "setProcessInfo", "(", "String", "pid", ",", "String", "label", ",", "String", "superPid", ")", "{", "svPid", "=", "pid", ";", "svLabel", "=", "label", ";", "svSuperPid", "=", "superPid", ";", "}" ]
identify whether this is a logical subProcess of another process or not @param pid processId of current process @param label label for current process (used in generating file names) @param superPid processId of logical parent process
[ "identify", "whether", "this", "is", "a", "logical", "subProcess", "of", "another", "process", "or", "not" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/handlers/LogRepositoryComponent.java#L616-L620
110,178
OpenLiberty/open-liberty
dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLLinkConfig.java
SSLLinkConfig.getEnabledCipherSuites
public String[] getEnabledCipherSuites(SSLEngine sslEngine) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "getEnabledCipherSuites"); } String ciphers[] = null; // First check the properties object for the ciphers. Object ciphersObj...
java
public String[] getEnabledCipherSuites(SSLEngine sslEngine) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "getEnabledCipherSuites"); } String ciphers[] = null; // First check the properties object for the ciphers. Object ciphersObj...
[ "public", "String", "[", "]", "getEnabledCipherSuites", "(", "SSLEngine", "sslEngine", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", "entry", "(", "tc", ",", ...
Query the list of enabled cipher suites for this connection. @param sslEngine @return String[]
[ "Query", "the", "list", "of", "enabled", "cipher", "suites", "for", "this", "connection", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLLinkConfig.java#L80-L130
110,179
OpenLiberty/open-liberty
dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLLinkConfig.java
SSLLinkConfig.getSSLProtocol
public String getSSLProtocol() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "getSSLProtocol"); } // First check the properties object for the ciphers. String protocol = (String) this.myConfig.get(Constants.SSLPROP_PROTOCOL); // w...
java
public String getSSLProtocol() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "getSSLProtocol"); } // First check the properties object for the ciphers. String protocol = (String) this.myConfig.get(Constants.SSLPROP_PROTOCOL); // w...
[ "public", "String", "getSSLProtocol", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", "entry", "(", "tc", ",", "\"getSSLProtocol\"", ")", ";", "}", "// Fi...
Query the SSL Protocol for this connection. @return String
[ "Query", "the", "SSL", "Protocol", "for", "this", "connection", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLLinkConfig.java#L137-L154
110,180
OpenLiberty/open-liberty
dev/wlp-mavenRepoTasks/src/com/ibm/ws/wlp/mavenFeatures/LibertyFeaturesToMavenRepo.java
LibertyFeaturesToMavenRepo.generatePom
private void generatePom(LibertyFeature feature, List<MavenCoordinates> featureCompileDependencies, Map<String, LibertyFeature> allFeatures, File outputDir, Constants.ArtifactType type) throws MavenRepoGeneratorException { MavenCoordinates coordinates = feature.getMavenCoordinates(); Model model = new Model(); ...
java
private void generatePom(LibertyFeature feature, List<MavenCoordinates> featureCompileDependencies, Map<String, LibertyFeature> allFeatures, File outputDir, Constants.ArtifactType type) throws MavenRepoGeneratorException { MavenCoordinates coordinates = feature.getMavenCoordinates(); Model model = new Model(); ...
[ "private", "void", "generatePom", "(", "LibertyFeature", "feature", ",", "List", "<", "MavenCoordinates", ">", "featureCompileDependencies", ",", "Map", "<", "String", ",", "LibertyFeature", ">", "allFeatures", ",", "File", "outputDir", ",", "Constants", ".", "Art...
Generate POM file. @param feature The Liberty feature to generate POM for. @param featureCompileDependencies List of compile dependencies that the feature should provide. @param allFeatures The map of feature symbolic names to LibertyFeature objects. @param outputDir The root directory of the target Maven repository. ...
[ "Generate", "POM", "file", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp-mavenRepoTasks/src/com/ibm/ws/wlp/mavenFeatures/LibertyFeaturesToMavenRepo.java#L244-L290
110,181
OpenLiberty/open-liberty
dev/wlp-mavenRepoTasks/src/com/ibm/ws/wlp/mavenFeatures/LibertyFeaturesToMavenRepo.java
LibertyFeaturesToMavenRepo.addDependency
private static void addDependency(List<Dependency> dependencies, MavenCoordinates requiredArtifact, Constants.ArtifactType type, String scope) { Dependency dependency = new Dependency(); dependency.setGroupId(requiredArtifact.getGroupId()); dependency.setArtifactId(requiredArtifact.getArtifactId()); dependency....
java
private static void addDependency(List<Dependency> dependencies, MavenCoordinates requiredArtifact, Constants.ArtifactType type, String scope) { Dependency dependency = new Dependency(); dependency.setGroupId(requiredArtifact.getGroupId()); dependency.setArtifactId(requiredArtifact.getArtifactId()); dependency....
[ "private", "static", "void", "addDependency", "(", "List", "<", "Dependency", ">", "dependencies", ",", "MavenCoordinates", "requiredArtifact", ",", "Constants", ".", "ArtifactType", "type", ",", "String", "scope", ")", "{", "Dependency", "dependency", "=", "new",...
Add dependency to the list of Maven Dependencies. @param dependencies The list of dependencies to append to. @param requiredArtifact The required artifact to add as a dependency. @param type The type of artifact, or null if jar.
[ "Add", "dependency", "to", "the", "list", "of", "Maven", "Dependencies", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp-mavenRepoTasks/src/com/ibm/ws/wlp/mavenFeatures/LibertyFeaturesToMavenRepo.java#L416-L429
110,182
OpenLiberty/open-liberty
dev/wlp-mavenRepoTasks/src/com/ibm/ws/wlp/mavenFeatures/LibertyFeaturesToMavenRepo.java
LibertyFeaturesToMavenRepo.getFeatureCompileDependencies
private static List<MavenCoordinates> getFeatureCompileDependencies(File inputDir, LibertyFeature feature) throws MavenRepoGeneratorException { List<MavenCoordinates> compileDependencies = new ArrayList<MavenCoordinates>(); File esa = new File(inputDir, feature.getSymbolicName() + Constants.ArtifactType.ESA.getLib...
java
private static List<MavenCoordinates> getFeatureCompileDependencies(File inputDir, LibertyFeature feature) throws MavenRepoGeneratorException { List<MavenCoordinates> compileDependencies = new ArrayList<MavenCoordinates>(); File esa = new File(inputDir, feature.getSymbolicName() + Constants.ArtifactType.ESA.getLib...
[ "private", "static", "List", "<", "MavenCoordinates", ">", "getFeatureCompileDependencies", "(", "File", "inputDir", ",", "LibertyFeature", "feature", ")", "throws", "MavenRepoGeneratorException", "{", "List", "<", "MavenCoordinates", ">", "compileDependencies", "=", "n...
Get list of compile dependencies for each feature by looking in its ESA file. @param inputDir Input dir with all ESAs. @param feature The feature to get dependencies for. @return List of MavenCoordinates for compile dependencies @throws MavenRepoGeneratorException If the ESA file could not be read
[ "Get", "list", "of", "compile", "dependencies", "for", "each", "feature", "by", "looking", "in", "its", "ESA", "file", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp-mavenRepoTasks/src/com/ibm/ws/wlp/mavenFeatures/LibertyFeaturesToMavenRepo.java#L439-L487
110,183
OpenLiberty/open-liberty
dev/wlp-mavenRepoTasks/src/com/ibm/ws/wlp/mavenFeatures/LibertyFeaturesToMavenRepo.java
LibertyFeaturesToMavenRepo.findCompileDependency
private static MavenCoordinates findCompileDependency(String zipEntryPath, String groupId) { int apiNameIndex = zipEntryPath.indexOf(groupId); int extensionIndex = zipEntryPath.lastIndexOf(".jar"); if (apiNameIndex >= 0 && extensionIndex >= 0) { String fileNameWithoutExtension = zipEntryPath.substring(apiNameI...
java
private static MavenCoordinates findCompileDependency(String zipEntryPath, String groupId) { int apiNameIndex = zipEntryPath.indexOf(groupId); int extensionIndex = zipEntryPath.lastIndexOf(".jar"); if (apiNameIndex >= 0 && extensionIndex >= 0) { String fileNameWithoutExtension = zipEntryPath.substring(apiNameI...
[ "private", "static", "MavenCoordinates", "findCompileDependency", "(", "String", "zipEntryPath", ",", "String", "groupId", ")", "{", "int", "apiNameIndex", "=", "zipEntryPath", ".", "indexOf", "(", "groupId", ")", ";", "int", "extensionIndex", "=", "zipEntryPath", ...
Find compile dependency from a zip entry in the ESA @param zipEntryPath The entry path in the zip @param groupId The group ID of the dependency to look for @return Maven coordinates corresponding to the entry
[ "Find", "compile", "dependency", "from", "a", "zip", "entry", "in", "the", "ESA" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp-mavenRepoTasks/src/com/ibm/ws/wlp/mavenFeatures/LibertyFeaturesToMavenRepo.java#L496-L509
110,184
OpenLiberty/open-liberty
dev/wlp-mavenRepoTasks/src/com/ibm/ws/wlp/mavenFeatures/LibertyFeaturesToMavenRepo.java
LibertyFeaturesToMavenRepo.findCompileDependenciesFromManifest
private static List<MavenCoordinates> findCompileDependenciesFromManifest(ZipFile zipFile, ZipEntry zipEntry) throws MavenRepoGeneratorException { List<MavenCoordinates> result = new ArrayList<MavenCoordinates>(); InputStream inputStream = null; try { inputStream = zipFile.getInputStream(zipEntr...
java
private static List<MavenCoordinates> findCompileDependenciesFromManifest(ZipFile zipFile, ZipEntry zipEntry) throws MavenRepoGeneratorException { List<MavenCoordinates> result = new ArrayList<MavenCoordinates>(); InputStream inputStream = null; try { inputStream = zipFile.getInputStream(zipEntr...
[ "private", "static", "List", "<", "MavenCoordinates", ">", "findCompileDependenciesFromManifest", "(", "ZipFile", "zipFile", ",", "ZipEntry", "zipEntry", ")", "throws", "MavenRepoGeneratorException", "{", "List", "<", "MavenCoordinates", ">", "result", "=", "new", "Ar...
Find compile dependencies from the manifest file in the ESA @param zipFile The ESA file @param zipEntry The manifest entry in the zip @return List of Maven coordinates for compile dependencies found in the manifest, or empty list if none found @throws MavenRepoGeneratorException If the manifest could not be parsed
[ "Find", "compile", "dependencies", "from", "the", "manifest", "file", "in", "the", "ESA" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp-mavenRepoTasks/src/com/ibm/ws/wlp/mavenFeatures/LibertyFeaturesToMavenRepo.java#L519-L568
110,185
OpenLiberty/open-liberty
dev/wlp-mavenRepoTasks/src/com/ibm/ws/wlp/mavenFeatures/LibertyFeaturesToMavenRepo.java
LibertyFeaturesToMavenRepo.copyArtifact
private static void copyArtifact(File inputDir, File outputDir, LibertyFeature feature, Constants.ArtifactType type) throws MavenRepoGeneratorException { MavenCoordinates artifact = feature.getMavenCoordinates(); File artifactDir = new File(outputDir, Utils.getRepositorySubpath(artifact)); artifactDir.mkdirs()...
java
private static void copyArtifact(File inputDir, File outputDir, LibertyFeature feature, Constants.ArtifactType type) throws MavenRepoGeneratorException { MavenCoordinates artifact = feature.getMavenCoordinates(); File artifactDir = new File(outputDir, Utils.getRepositorySubpath(artifact)); artifactDir.mkdirs()...
[ "private", "static", "void", "copyArtifact", "(", "File", "inputDir", ",", "File", "outputDir", ",", "LibertyFeature", "feature", ",", "Constants", ".", "ArtifactType", "type", ")", "throws", "MavenRepoGeneratorException", "{", "MavenCoordinates", "artifact", "=", "...
Copy artifact file from inputDir to outputDir. @param inputDir The input directory containing feature files. @param outputDir The root directory of the target Maven repository. @param feature The feature that you want to copy. @param type The type of artifact. @throws MavenRepoGeneratorException If the artifact could ...
[ "Copy", "artifact", "file", "from", "inputDir", "to", "outputDir", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp-mavenRepoTasks/src/com/ibm/ws/wlp/mavenFeatures/LibertyFeaturesToMavenRepo.java#L579-L601
110,186
OpenLiberty/open-liberty
dev/wlp-mavenRepoTasks/src/com/ibm/ws/wlp/mavenFeatures/LibertyFeaturesToMavenRepo.java
LibertyFeaturesToMavenRepo.addMavenCoordinates
private static void addMavenCoordinates(File modifiedJsonFile, JsonArray jsonArray, Map<String, LibertyFeature> features) throws IOException { JsonArrayBuilder jsonArrayBuilder = Json.createArrayBuilder(); for (int i = 0; i < jsonArray.size(); i++) { JsonObject jsonObject = jsonArray.getJsonObject(i); Jso...
java
private static void addMavenCoordinates(File modifiedJsonFile, JsonArray jsonArray, Map<String, LibertyFeature> features) throws IOException { JsonArrayBuilder jsonArrayBuilder = Json.createArrayBuilder(); for (int i = 0; i < jsonArray.size(); i++) { JsonObject jsonObject = jsonArray.getJsonObject(i); Jso...
[ "private", "static", "void", "addMavenCoordinates", "(", "File", "modifiedJsonFile", ",", "JsonArray", "jsonArray", ",", "Map", "<", "String", ",", "LibertyFeature", ">", "features", ")", "throws", "IOException", "{", "JsonArrayBuilder", "jsonArrayBuilder", "=", "Js...
Add Maven coordinates into the modified JSON file. @param modifiedJsonFile The location to write the modified JSON file. @param jsonArray The original JSON array of all features. @param features The map of symbolic names to LibertyFeature objects which has Maven coordinates. @throws IOException
[ "Add", "Maven", "coordinates", "into", "the", "modified", "JSON", "file", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp-mavenRepoTasks/src/com/ibm/ws/wlp/mavenFeatures/LibertyFeaturesToMavenRepo.java#L743-L777
110,187
OpenLiberty/open-liberty
dev/wlp-mavenRepoTasks/src/com/ibm/ws/wlp/mavenFeatures/LibertyFeaturesToMavenRepo.java
LibertyFeaturesToMavenRepo.getRequiredFeatures
public List<LibertyFeature> getRequiredFeatures(LibertyFeature feature, Map<String, LibertyFeature> allFeatures) throws MavenRepoGeneratorException { List<LibertyFeature> dependencies = new ArrayList<LibertyFeature>(); Map<String, Collection<String>> requiredFeaturesWithTolerates = feature.getRequiredFeaturesWit...
java
public List<LibertyFeature> getRequiredFeatures(LibertyFeature feature, Map<String, LibertyFeature> allFeatures) throws MavenRepoGeneratorException { List<LibertyFeature> dependencies = new ArrayList<LibertyFeature>(); Map<String, Collection<String>> requiredFeaturesWithTolerates = feature.getRequiredFeaturesWit...
[ "public", "List", "<", "LibertyFeature", ">", "getRequiredFeatures", "(", "LibertyFeature", "feature", ",", "Map", "<", "String", ",", "LibertyFeature", ">", "allFeatures", ")", "throws", "MavenRepoGeneratorException", "{", "List", "<", "LibertyFeature", ">", "depen...
Gets the list of features that this feature depends on. @param feature This feature. @param allFeatures The map of all features, mapping from symbolic name to LibertyFeature object @return List of LibertyFeature objects that this feature depends on. @throws MavenRepoGeneratorException If a required feature cannot be f...
[ "Gets", "the", "list", "of", "features", "that", "this", "feature", "depends", "on", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp-mavenRepoTasks/src/com/ibm/ws/wlp/mavenFeatures/LibertyFeaturesToMavenRepo.java#L804-L836
110,188
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATConsumer.java
CATConsumer.close
public void close(int requestNumber) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "close", requestNumber); try { ConsumerSession cs = getConsumerSession(); if (cs !=null) cs.close(); try { getConversation().sen...
java
public void close(int requestNumber) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "close", requestNumber); try { ConsumerSession cs = getConsumerSession(); if (cs !=null) cs.close(); try { getConversation().sen...
[ "public", "void", "close", "(", "int", "requestNumber", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"close\"", ",", ...
Performs the generic session close. A response is sent to the client when this has been comleted. @param requestNumber
[ "Performs", "the", "generic", "session", "close", ".", "A", "response", "is", "sent", "to", "the", "client", "when", "this", "has", "been", "comleted", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATConsumer.java#L156-L203
110,189
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATConsumer.java
CATConsumer.unsetAsynchConsumerCallback
public void unsetAsynchConsumerCallback(int requestNumber, boolean stoppable) //SIB0115d.comms { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "unsetAsynchConsumerCallback", "requestNumber="+requestNumber); try { if (stoppabl...
java
public void unsetAsynchConsumerCallback(int requestNumber, boolean stoppable) //SIB0115d.comms { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "unsetAsynchConsumerCallback", "requestNumber="+requestNumber); try { if (stoppabl...
[ "public", "void", "unsetAsynchConsumerCallback", "(", "int", "requestNumber", ",", "boolean", "stoppable", ")", "//SIB0115d.comms", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ...
This method will unset an asynch callback. @param requestNumber @param stoppable async consumer or not
[ "This", "method", "will", "unset", "an", "asynch", "callback", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATConsumer.java#L248-L302
110,190
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATConsumer.java
CATConsumer.start
public void start(int requestNumber, boolean deliverImmediately, boolean sendReply, SendListener sendListener) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "start", new Object[]{""+requestNumber, ...
java
public void start(int requestNumber, boolean deliverImmediately, boolean sendReply, SendListener sendListener) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "start", new Object[]{""+requestNumber, ...
[ "public", "void", "start", "(", "int", "requestNumber", ",", "boolean", "deliverImmediately", ",", "boolean", "sendReply", ",", "SendListener", "sendListener", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntry...
Performs the generic session start. No response is normally required to be sent to the client unless the sendReply parameter is true. @param requestNumber @param deliverImmediately @param sendReply Flag to indicate whether a reply should be sent or not @param sendListener A send listener that will be notified when the...
[ "Performs", "the", "generic", "session", "start", ".", "No", "response", "is", "normally", "required", "to", "be", "sent", "to", "the", "client", "unless", "the", "sendReply", "parameter", "is", "true", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATConsumer.java#L313-L405
110,191
OpenLiberty/open-liberty
dev/com.ibm.ws.logging/src/com/ibm/ws/logging/utils/RecursionCounter.java
RecursionCounter.incrementCount
public int incrementCount() { // get the logging recursion stack depth for the current thread int depth = stackDepth.get(); depth = depth + 1; stackDepth.set(depth); return depth; }
java
public int incrementCount() { // get the logging recursion stack depth for the current thread int depth = stackDepth.get(); depth = depth + 1; stackDepth.set(depth); return depth; }
[ "public", "int", "incrementCount", "(", ")", "{", "// get the logging recursion stack depth for the current thread", "int", "depth", "=", "stackDepth", ".", "get", "(", ")", ";", "depth", "=", "depth", "+", "1", ";", "stackDepth", ".", "set", "(", "depth", ")", ...
Increments the recursion count for this thread. @return new counter
[ "Increments", "the", "recursion", "count", "for", "this", "thread", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging/src/com/ibm/ws/logging/utils/RecursionCounter.java#L37-L43
110,192
OpenLiberty/open-liberty
dev/com.ibm.ws.jsp/src/com/ibm/ws/jsp/translator/visitor/validator/ELValidator.java
ELValidator.validateFunctions
private static void validateFunctions(ELNode.Nodes el, ValidateResult result, Element jspElement, HashMap prefixToUriMap ) throws JspTranslationException { el.visit(new FVVisitor(jspElement, result, prefixToUriMap)); }
java
private static void validateFunctions(ELNode.Nodes el, ValidateResult result, Element jspElement, HashMap prefixToUriMap ) throws JspTranslationException { el.visit(new FVVisitor(jspElement, result, prefixToUriMap)); }
[ "private", "static", "void", "validateFunctions", "(", "ELNode", ".", "Nodes", "el", ",", "ValidateResult", "result", ",", "Element", "jspElement", ",", "HashMap", "prefixToUriMap", ")", "throws", "JspTranslationException", "{", "el", ".", "visit", "(", "new", "...
Validate functions in EL expressions
[ "Validate", "functions", "in", "EL", "expressions" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsp/src/com/ibm/ws/jsp/translator/visitor/validator/ELValidator.java#L519-L522
110,193
OpenLiberty/open-liberty
dev/com.ibm.websphere.security.wim.base/src/com/ibm/wsspi/security/wim/model/PropertyControl.java
PropertyControl.getContextProperties
public List<PropertyControl.ContextProperties> getContextProperties() { if (contextProperties == null) { contextProperties = new ArrayList<PropertyControl.ContextProperties>(); } return this.contextProperties; }
java
public List<PropertyControl.ContextProperties> getContextProperties() { if (contextProperties == null) { contextProperties = new ArrayList<PropertyControl.ContextProperties>(); } return this.contextProperties; }
[ "public", "List", "<", "PropertyControl", ".", "ContextProperties", ">", "getContextProperties", "(", ")", "{", "if", "(", "contextProperties", "==", "null", ")", "{", "contextProperties", "=", "new", "ArrayList", "<", "PropertyControl", ".", "ContextProperties", ...
Gets the value of the contextProperties property. <p> This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the contextProperties property. <p> F...
[ "Gets", "the", "value", "of", "the", "contextProperties", "property", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.security.wim.base/src/com/ibm/wsspi/security/wim/model/PropertyControl.java#L152-L157
110,194
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/ServerLock.java
ServerLock.getServerLock
private synchronized boolean getServerLock() { Boolean fileExists = Boolean.FALSE; final File sDir = lockFile; try { fileExists = AccessController.doPrivileged(new java.security.PrivilegedExceptionAction<Boolean>() { @Override public Boolean run() thr...
java
private synchronized boolean getServerLock() { Boolean fileExists = Boolean.FALSE; final File sDir = lockFile; try { fileExists = AccessController.doPrivileged(new java.security.PrivilegedExceptionAction<Boolean>() { @Override public Boolean run() thr...
[ "private", "synchronized", "boolean", "getServerLock", "(", ")", "{", "Boolean", "fileExists", "=", "Boolean", ".", "FALSE", ";", "final", "File", "sDir", "=", "lockFile", ";", "try", "{", "fileExists", "=", "AccessController", ".", "doPrivileged", "(", "new",...
Try to obtain server lock @return true if server lock was obtained (!null & valid)
[ "Try", "to", "obtain", "server", "lock" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/ServerLock.java#L286-L341
110,195
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/ServerLock.java
ServerLock.releaseServerLock
public synchronized void releaseServerLock() { if (serverLock != null) { try { serverLock.release(); } catch (IOException e) { } finally { Utils.tryToClose(lockFileChannel); } serverLock = null; lockFileChann...
java
public synchronized void releaseServerLock() { if (serverLock != null) { try { serverLock.release(); } catch (IOException e) { } finally { Utils.tryToClose(lockFileChannel); } serverLock = null; lockFileChann...
[ "public", "synchronized", "void", "releaseServerLock", "(", ")", "{", "if", "(", "serverLock", "!=", "null", ")", "{", "try", "{", "serverLock", ".", "release", "(", ")", ";", "}", "catch", "(", "IOException", "e", ")", "{", "}", "finally", "{", "Utils...
Release server lock. @throws IOException
[ "Release", "server", "lock", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/ServerLock.java#L409-L420
110,196
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/ServerLock.java
ServerLock.calculateWaitCyclesFromWaitTime
private int calculateWaitCyclesFromWaitTime() { String serverWaitTime = System.getProperty(BootstrapConstants.SERVER_START_WAIT_TIME); if ((serverWaitTime == null) || serverWaitTime.trim().equals("")) { return BootstrapConstants.MAX_POLL_ATTEMPTS; } int waitTime = 0; ...
java
private int calculateWaitCyclesFromWaitTime() { String serverWaitTime = System.getProperty(BootstrapConstants.SERVER_START_WAIT_TIME); if ((serverWaitTime == null) || serverWaitTime.trim().equals("")) { return BootstrapConstants.MAX_POLL_ATTEMPTS; } int waitTime = 0; ...
[ "private", "int", "calculateWaitCyclesFromWaitTime", "(", ")", "{", "String", "serverWaitTime", "=", "System", ".", "getProperty", "(", "BootstrapConstants", ".", "SERVER_START_WAIT_TIME", ")", ";", "if", "(", "(", "serverWaitTime", "==", "null", ")", "||", "serve...
Calculate the number of times to wait 500ms
[ "Calculate", "the", "number", "of", "times", "to", "wait", "500ms" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/ServerLock.java#L518-L540
110,197
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/ServerLock.java
ServerLock.createServerRunningMarkerFile
public static void createServerRunningMarkerFile(BootstrapConfig bootConfig) { File serverWorkArea = bootConfig.getWorkareaFile(null); File serverRunningMarkerFile = null; try { serverRunningMarkerFile = new File(serverWorkArea, BootstrapConstants.SERVER_RUNNING_FILE); se...
java
public static void createServerRunningMarkerFile(BootstrapConfig bootConfig) { File serverWorkArea = bootConfig.getWorkareaFile(null); File serverRunningMarkerFile = null; try { serverRunningMarkerFile = new File(serverWorkArea, BootstrapConstants.SERVER_RUNNING_FILE); se...
[ "public", "static", "void", "createServerRunningMarkerFile", "(", "BootstrapConfig", "bootConfig", ")", "{", "File", "serverWorkArea", "=", "bootConfig", ".", "getWorkareaFile", "(", "null", ")", ";", "File", "serverRunningMarkerFile", "=", "null", ";", "try", "{", ...
Create a marker file when the server is running to determine if the JVM terminated normally. This file is deleted automatically when the JVM exits normally, on a normal server stop. If the marker file already exists when the server is starting, it assumes the JVM abended or the JVM process was forcefully terminated. In...
[ "Create", "a", "marker", "file", "when", "the", "server", "is", "running", "to", "determine", "if", "the", "JVM", "terminated", "normally", ".", "This", "file", "is", "deleted", "automatically", "when", "the", "JVM", "exits", "normally", "on", "a", "normal",...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/ServerLock.java#L590-L603
110,198
OpenLiberty/open-liberty
dev/com.ibm.ws.tx.embeddable/src/com/ibm/tx/ltc/embeddable/impl/LTCCallbacks.java
LTCCallbacks.contextChange
public void contextChange(int typeOfChange) throws IllegalStateException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { String type = "UNKNOWN"; switch (typeOfChange) { case UOWCallback.PRE_BEGIN: type = "PRE_BEGIN...
java
public void contextChange(int typeOfChange) throws IllegalStateException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { String type = "UNKNOWN"; switch (typeOfChange) { case UOWCallback.PRE_BEGIN: type = "PRE_BEGIN...
[ "public", "void", "contextChange", "(", "int", "typeOfChange", ")", "throws", "IllegalStateException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "String", "type", "=", "\"UNKN...
Notify registered callbacks of context change.
[ "Notify", "registered", "callbacks", "of", "context", "change", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.tx.embeddable/src/com/ibm/tx/ltc/embeddable/impl/LTCCallbacks.java#L72-L143
110,199
OpenLiberty/open-liberty
dev/com.ibm.ws.security.audit.file/src/com/ibm/ws/security/audit/logutils/FileLogSet.java
FileLogSet.removeFile
private void removeFile(int index) { String file = files.remove(index); FileLogUtils.deleteFile(directory, file); }
java
private void removeFile(int index) { String file = files.remove(index); FileLogUtils.deleteFile(directory, file); }
[ "private", "void", "removeFile", "(", "int", "index", ")", "{", "String", "file", "=", "files", ".", "remove", "(", "index", ")", ";", "FileLogUtils", ".", "deleteFile", "(", "directory", ",", "file", ")", ";", "}" ]
Remove and delete a file from the file list. @param index the file index
[ "Remove", "and", "delete", "a", "file", "from", "the", "file", "list", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.audit.file/src/com/ibm/ws/security/audit/logutils/FileLogSet.java#L400-L403