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
66,500
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileDirObjectStore.java
FileDirObjectStore.write
private void write(ManagedObject managedObject) throws ObjectManagerException { final String methodName = "write"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, methodName, ...
java
private void write(ManagedObject managedObject) throws ObjectManagerException { final String methodName = "write"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, methodName, ...
[ "private", "void", "write", "(", "ManagedObject", "managedObject", ")", "throws", "ObjectManagerException", "{", "final", "String", "methodName", "=", "\"write\"", ";", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled...
Writes an object to hardened storage, but may return before the write completes. @param managedObject to be written. @throws ObjectManagerException
[ "Writes", "an", "object", "to", "hardened", "storage", "but", "may", "return", "before", "the", "write", "completes", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileDirObjectStore.java#L607-L679
66,501
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileDirObjectStore.java
FileDirObjectStore.writeHeader
public void writeHeader() throws ObjectManagerException { final String methodName = "writeHeader"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, methodName); try { ...
java
public void writeHeader() throws ObjectManagerException { final String methodName = "writeHeader"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, methodName); try { ...
[ "public", "void", "writeHeader", "(", ")", "throws", "ObjectManagerException", "{", "final", "String", "methodName", "=", "\"writeHeader\"", ";", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "...
Write header information for disk in the file headerIdentifier and force it to disk. @throws ObjectManagerException
[ "Write", "header", "information", "for", "disk", "in", "the", "file", "headerIdentifier", "and", "force", "it", "to", "disk", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileDirObjectStore.java#L687-L727
66,502
OpenLiberty/open-liberty
dev/com.ibm.ws.repository.liberty/src/com/ibm/ws/repository/connections/liberty/MainRepository.java
MainRepository.createConnection
public static RestRepositoryConnection createConnection(RestRepositoryConnectionProxy proxy) throws RepositoryBackendIOException { readRepoProperties(proxy); RestRepositoryConnection connection = new RestRepositoryConnection(repoProperties.getProperty(REPOSITORY_URL_PROP).trim()); connection.se...
java
public static RestRepositoryConnection createConnection(RestRepositoryConnectionProxy proxy) throws RepositoryBackendIOException { readRepoProperties(proxy); RestRepositoryConnection connection = new RestRepositoryConnection(repoProperties.getProperty(REPOSITORY_URL_PROP).trim()); connection.se...
[ "public", "static", "RestRepositoryConnection", "createConnection", "(", "RestRepositoryConnectionProxy", "proxy", ")", "throws", "RepositoryBackendIOException", "{", "readRepoProperties", "(", "proxy", ")", ";", "RestRepositoryConnection", "connection", "=", "new", "RestRepo...
Creates a LoginInfoEntry with a proxy. This will then load the default repository using a hosted properties file on DHE. @param proxy @throws RepositoryBackendIOException
[ "Creates", "a", "LoginInfoEntry", "with", "a", "proxy", ".", "This", "will", "then", "load", "the", "default", "repository", "using", "a", "hosted", "properties", "file", "on", "DHE", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository.liberty/src/com/ibm/ws/repository/connections/liberty/MainRepository.java#L74-L103
66,503
OpenLiberty/open-liberty
dev/com.ibm.ws.repository.liberty/src/com/ibm/ws/repository/connections/liberty/MainRepository.java
MainRepository.repositoryDescriptionFileExists
public static boolean repositoryDescriptionFileExists(RestRepositoryConnectionProxy proxy) { boolean exists = false; try { URL propertiesFileURL = getPropertiesFileLocation(); // Are we accessing the properties file (from DHE) using a proxy ? if (proxy != null) { ...
java
public static boolean repositoryDescriptionFileExists(RestRepositoryConnectionProxy proxy) { boolean exists = false; try { URL propertiesFileURL = getPropertiesFileLocation(); // Are we accessing the properties file (from DHE) using a proxy ? if (proxy != null) { ...
[ "public", "static", "boolean", "repositoryDescriptionFileExists", "(", "RestRepositoryConnectionProxy", "proxy", ")", "{", "boolean", "exists", "=", "false", ";", "try", "{", "URL", "propertiesFileURL", "=", "getPropertiesFileLocation", "(", ")", ";", "// Are we accessi...
Tests if the repository description properties file exists as defined by the location override system property or at the default location @return true if the properties file exists, otherwise false
[ "Tests", "if", "the", "repository", "description", "properties", "file", "exists", "as", "defined", "by", "the", "location", "override", "system", "property", "or", "at", "the", "default", "location" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository.liberty/src/com/ibm/ws/repository/connections/liberty/MainRepository.java#L118-L160
66,504
OpenLiberty/open-liberty
dev/com.ibm.ws.repository.liberty/src/com/ibm/ws/repository/connections/liberty/MainRepository.java
MainRepository.checkHttpResponseCodeValid
private static void checkHttpResponseCodeValid(URLConnection connection) throws RepositoryHttpException, IOException { // if HTTP URL not File URL if (connection instanceof HttpURLConnection) { HttpURLConnection conn = (HttpURLConnection) connection; conn.setRequestMethod("GET");...
java
private static void checkHttpResponseCodeValid(URLConnection connection) throws RepositoryHttpException, IOException { // if HTTP URL not File URL if (connection instanceof HttpURLConnection) { HttpURLConnection conn = (HttpURLConnection) connection; conn.setRequestMethod("GET");...
[ "private", "static", "void", "checkHttpResponseCodeValid", "(", "URLConnection", "connection", ")", "throws", "RepositoryHttpException", ",", "IOException", "{", "// if HTTP URL not File URL", "if", "(", "connection", "instanceof", "HttpURLConnection", ")", "{", "HttpURLCon...
Checks for a valid response code and throws and exception with the response code if an error @param connection @throws RepositoryHttpException @throws IOException
[ "Checks", "for", "a", "valid", "response", "code", "and", "throws", "and", "exception", "with", "the", "response", "code", "if", "an", "error" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository.liberty/src/com/ibm/ws/repository/connections/liberty/MainRepository.java#L263-L273
66,505
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/commands/ServerDumpUtil.java
ServerDumpUtil.isZos
public static boolean isZos() { String os = AccessController.doPrivileged(new PrivilegedAction<String>() { @Override public String run() { return System.getProperty("os.name"); } }); return os != null && (os.equalsIgnoreCase("OS/390") || os.e...
java
public static boolean isZos() { String os = AccessController.doPrivileged(new PrivilegedAction<String>() { @Override public String run() { return System.getProperty("os.name"); } }); return os != null && (os.equalsIgnoreCase("OS/390") || os.e...
[ "public", "static", "boolean", "isZos", "(", ")", "{", "String", "os", "=", "AccessController", ".", "doPrivileged", "(", "new", "PrivilegedAction", "<", "String", ">", "(", ")", "{", "@", "Override", "public", "String", "run", "(", ")", "{", "return", "...
In general find another way to do what you are trying, this is meant as a VERY VERY last resort and agreed to by Gary.
[ "In", "general", "find", "another", "way", "to", "do", "what", "you", "are", "trying", "this", "is", "meant", "as", "a", "VERY", "VERY", "last", "resort", "and", "agreed", "to", "by", "Gary", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/commands/ServerDumpUtil.java#L25-L35
66,506
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/internal/DefaultWelcomePage.java
DefaultWelcomePage.safeOpen
private InputStream safeOpen(String file) { URL url = bundle.getEntry(file); if (url != null) { try { return url.openStream(); } catch (IOException e) { // if we get an IOException just return null for default page. } } return null; }
java
private InputStream safeOpen(String file) { URL url = bundle.getEntry(file); if (url != null) { try { return url.openStream(); } catch (IOException e) { // if we get an IOException just return null for default page. } } return null; }
[ "private", "InputStream", "safeOpen", "(", "String", "file", ")", "{", "URL", "url", "=", "bundle", ".", "getEntry", "(", "file", ")", ";", "if", "(", "url", "!=", "null", ")", "{", "try", "{", "return", "url", ".", "openStream", "(", ")", ";", "}"...
Attempt to open the file in the bundle and return null if something goes wrong.
[ "Attempt", "to", "open", "the", "file", "in", "the", "bundle", "and", "return", "null", "if", "something", "goes", "wrong", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/internal/DefaultWelcomePage.java#L78-L88
66,507
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/SIMPUtils.java
SIMPUtils.parseTempPrefix
public static String parseTempPrefix(String destinationName) { //Temporary dests are of the form _Q/_T<Prefix>_<MEId><TempdestId> String prefix = null; if (destinationName != null && (destinationName .startsWith(SIMPConstants.TEMPORARY_PUBSUB_DESTINATION_PREFIX)) || destinationName.sta...
java
public static String parseTempPrefix(String destinationName) { //Temporary dests are of the form _Q/_T<Prefix>_<MEId><TempdestId> String prefix = null; if (destinationName != null && (destinationName .startsWith(SIMPConstants.TEMPORARY_PUBSUB_DESTINATION_PREFIX)) || destinationName.sta...
[ "public", "static", "String", "parseTempPrefix", "(", "String", "destinationName", ")", "{", "//Temporary dests are of the form _Q/_T<Prefix>_<MEId><TempdestId>", "String", "prefix", "=", "null", ";", "if", "(", "destinationName", "!=", "null", "&&", "(", "destinationName...
Used to extract the destination prefix component of a full temporary destination name. @param destinationName @return temporary destination prefix
[ "Used", "to", "extract", "the", "destination", "prefix", "component", "of", "a", "full", "temporary", "destination", "name", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/SIMPUtils.java#L191-L210
66,508
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/SIMPUtils.java
SIMPUtils.setGuaranteedDeliveryProperties
public static void setGuaranteedDeliveryProperties(ControlMessage msg, SIBUuid8 sourceMEUuid, SIBUuid8 targetMEUuid, SIBUuid12 streamId, ...
java
public static void setGuaranteedDeliveryProperties(ControlMessage msg, SIBUuid8 sourceMEUuid, SIBUuid8 targetMEUuid, SIBUuid12 streamId, ...
[ "public", "static", "void", "setGuaranteedDeliveryProperties", "(", "ControlMessage", "msg", ",", "SIBUuid8", "sourceMEUuid", ",", "SIBUuid8", "targetMEUuid", ",", "SIBUuid12", "streamId", ",", "SIBUuid12", "gatheringTargetDestUuid", ",", "SIBUuid12", "targetDestUuid", ",...
Set up guaranteed delivery message properties. These are compulsory properties on a control message and are therefore set throughout the code. The method makes it easier to cope with new properties in the message. @param msg ControlMessage on which to set properties.
[ "Set", "up", "guaranteed", "delivery", "message", "properties", ".", "These", "are", "compulsory", "properties", "on", "a", "control", "message", "and", "are", "therefore", "set", "throughout", "the", "code", ".", "The", "method", "makes", "it", "easier", "to"...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/SIMPUtils.java#L334-L352
66,509
OpenLiberty/open-liberty
dev/com.ibm.ws.anno/src/com/ibm/ws/anno/util/internal/UtilImpl_InternMap.java
UtilImpl_InternMap.intern
@Override // Don't log this call: Rely on 'intern(String, boolean)' to log the intern call and result. @Trivial public String intern(String value) { return intern(value, Util_InternMap.DO_FORCE); }
java
@Override // Don't log this call: Rely on 'intern(String, boolean)' to log the intern call and result. @Trivial public String intern(String value) { return intern(value, Util_InternMap.DO_FORCE); }
[ "@", "Override", "// Don't log this call: Rely on 'intern(String, boolean)' to log the intern call and result. ", "@", "Trivial", "public", "String", "intern", "(", "String", "value", ")", "{", "return", "intern", "(", "value", ",", "Util_InternMap", ".", "DO_FORCE", ")"...
Intern a string value. Do force the value to be interned. See {@link #intern(String, boolean) and {@link Util_InternMap#DO_FORCE}. @param value The string value which is to be interned. @return The interned string value. Only null if the string value is null.
[ "Intern", "a", "string", "value", ".", "Do", "force", "the", "value", "to", "be", "interned", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.anno/src/com/ibm/ws/anno/util/internal/UtilImpl_InternMap.java#L241-L246
66,510
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsMsgMap.java
JsMsgMap.isChanged
public boolean isChanged() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "isChanged"); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "isChanged", changed); return changed; }
java
public boolean isChanged() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "isChanged"); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "isChanged", changed); return changed; }
[ "public", "boolean", "isChanged", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"isChanged\"", ")", ";", "if", "...
Is the map 'fluffed up' into a HashMap? d317373.1
[ "Is", "the", "map", "fluffed", "up", "into", "a", "HashMap?", "d317373", ".", "1" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsMsgMap.java#L92-L96
66,511
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsMsgMap.java
JsMsgMap.setUnChanged
public void setUnChanged() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setUnChanged"); changed = false; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "setUnChanged"); }
java
public void setUnChanged() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setUnChanged"); changed = false; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "setUnChanged"); }
[ "public", "void", "setUnChanged", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"setUnChanged\"", ")", ";", "chang...
Set the changed flag back to false if the map is written back to JMF
[ "Set", "the", "changed", "flag", "back", "to", "false", "if", "the", "map", "is", "written", "back", "to", "JMF" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsMsgMap.java#L99-L103
66,512
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsMsgMap.java
JsMsgMap.setChanged
public void setChanged() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setChanged"); changed = true; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "setChanged"); }
java
public void setChanged() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setChanged"); changed = true; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "setChanged"); }
[ "public", "void", "setChanged", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"setChanged\"", ")", ";", "changed",...
Set the changed flag to true if the caller knows better than the map itself
[ "Set", "the", "changed", "flag", "to", "true", "if", "the", "caller", "knows", "better", "than", "the", "map", "itself" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsMsgMap.java#L106-L110
66,513
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsMsgMap.java
JsMsgMap.put
public Object put(String key, Object value) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "put", new Object[]{key, PasswordUtils.replaceValueIfKeyIsPassword(key,value)}); // If the value is null (which is allowed for a Map Message) we can't tell // quickly whether...
java
public Object put(String key, Object value) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "put", new Object[]{key, PasswordUtils.replaceValueIfKeyIsPassword(key,value)}); // If the value is null (which is allowed for a Map Message) we can't tell // quickly whether...
[ "public", "Object", "put", "(", "String", "key", ",", "Object", "value", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", ...
Once we've made one update, others don't matter so save time by not checking. d317373.1
[ "Once", "we", "ve", "made", "one", "update", "others", "don", "t", "matter", "so", "save", "time", "by", "not", "checking", ".", "d317373", ".", "1" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsMsgMap.java#L142-L168
66,514
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/metadata/WebServiceRefInfo.java
WebServiceRefInfo.addWebServiceFeatureInfo
public void addWebServiceFeatureInfo(String seiName, WebServiceFeatureInfo featureInfo) { PortComponentRefInfo portComponentRefInfo = seiNamePortComponentRefInfoMap.get(seiName); if (portComponentRefInfo == null) { portComponentRefInfo = new PortComponentRefInfo(seiName); seiName...
java
public void addWebServiceFeatureInfo(String seiName, WebServiceFeatureInfo featureInfo) { PortComponentRefInfo portComponentRefInfo = seiNamePortComponentRefInfoMap.get(seiName); if (portComponentRefInfo == null) { portComponentRefInfo = new PortComponentRefInfo(seiName); seiName...
[ "public", "void", "addWebServiceFeatureInfo", "(", "String", "seiName", ",", "WebServiceFeatureInfo", "featureInfo", ")", "{", "PortComponentRefInfo", "portComponentRefInfo", "=", "seiNamePortComponentRefInfoMap", ".", "get", "(", "seiName", ")", ";", "if", "(", "portCo...
Add a feature info to the PortComponentRefInfo, if the target one does not exist, a new one with that port component interface will be created @param seiName port component interface name @param featureInfo feature info of the target port
[ "Add", "a", "feature", "info", "to", "the", "PortComponentRefInfo", "if", "the", "target", "one", "does", "not", "exist", "a", "new", "one", "with", "that", "port", "component", "interface", "will", "be", "created" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/metadata/WebServiceRefInfo.java#L197-L204
66,515
OpenLiberty/open-liberty
dev/com.ibm.ws.concurrent/src/com/ibm/ws/concurrent/internal/ScheduledTask.java
ScheduledTask.getName
@Trivial final String getName() { Map<String, String> execProps = getExecutionProperties(); String taskName = execProps == null ? null : execProps.get(ManagedTask.IDENTITY_NAME); return taskName == null ? task.toString() : taskName; }
java
@Trivial final String getName() { Map<String, String> execProps = getExecutionProperties(); String taskName = execProps == null ? null : execProps.get(ManagedTask.IDENTITY_NAME); return taskName == null ? task.toString() : taskName; }
[ "@", "Trivial", "final", "String", "getName", "(", ")", "{", "Map", "<", "String", ",", "String", ">", "execProps", "=", "getExecutionProperties", "(", ")", ";", "String", "taskName", "=", "execProps", "==", "null", "?", "null", ":", "execProps", ".", "g...
Returns the task name. @return the task name.
[ "Returns", "the", "task", "name", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent/src/com/ibm/ws/concurrent/internal/ScheduledTask.java#L638-L643
66,516
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/msgstore/WASConfiguration.java
WASConfiguration.getDefaultWasConfiguration
public static WASConfiguration getDefaultWasConfiguration() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getDefaultWasConfiguration()"); WASConfiguration config = new WASConfiguration(); if (TraceComponent.isAnyTracingEnabl...
java
public static WASConfiguration getDefaultWasConfiguration() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getDefaultWasConfiguration()"); WASConfiguration config = new WASConfiguration(); if (TraceComponent.isAnyTracingEnabl...
[ "public", "static", "WASConfiguration", "getDefaultWasConfiguration", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"getDefaultWasConfi...
Create a new WASConfiguration object @return a new WASConfiguration object
[ "Create", "a", "new", "WASConfiguration", "object" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/msgstore/WASConfiguration.java#L47-L57
66,517
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/TransactionCommitLogRecord.java
TransactionCommitLogRecord.performRecovery
public void performRecovery(ObjectManagerState objectManagerState) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "performRecovery", ...
java
public void performRecovery(ObjectManagerState objectManagerState) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "performRecovery", ...
[ "public", "void", "performRecovery", "(", "ObjectManagerState", "objectManagerState", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entr...
Called to perform recovery action during a warm start of the objectManager. @param ObjectManagerState of the ObjectManager performing recovery.
[ "Called", "to", "perform", "recovery", "action", "during", "a", "warm", "start", "of", "the", "objectManager", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/TransactionCommitLogRecord.java#L118-L138
66,518
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java
CacheUnitImpl.initialize
public void initialize(CacheConfig cc) { if (tc.isEntryEnabled()) Tr.entry(tc, "initialize"); cacheConfig = cc; if (null != cc){ try { if (tc.isDebugEnabled()) Tr.debug(tc, "Initializing CacheUnit " + uniqueServerNameFQ); nullRemoteSe...
java
public void initialize(CacheConfig cc) { if (tc.isEntryEnabled()) Tr.entry(tc, "initialize"); cacheConfig = cc; if (null != cc){ try { if (tc.isDebugEnabled()) Tr.debug(tc, "Initializing CacheUnit " + uniqueServerNameFQ); nullRemoteSe...
[ "public", "void", "initialize", "(", "CacheConfig", "cc", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"initialize\"", ")", ";", "cacheConfig", "=", "cc", ";", "if", "(", "null", "!=", "cc", ...
This is a helper method called by this CacheUnitImpl's constructor. It creates all the local objects - BatchUpdateDaemon, InvalidationAuditDaemon, and TimeLimitDaemon. These objects are used by all cache instances. @param The file name of the configuration xml file.
[ "This", "is", "a", "helper", "method", "called", "by", "this", "CacheUnitImpl", "s", "constructor", ".", "It", "creates", "all", "the", "local", "objects", "-", "BatchUpdateDaemon", "InvalidationAuditDaemon", "and", "TimeLimitDaemon", ".", "These", "objects", "are...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java#L69-L90
66,519
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java
CacheUnitImpl.batchUpdate
public void batchUpdate(String cacheName, HashMap invalidateIdEvents, HashMap invalidateTemplateEvents, ArrayList pushEntryEvents) { if (tc.isEntryEnabled()) Tr.entry(tc, "batchUpdate():"+cacheName); invalidationAuditDaemon.registerInvalidations(cacheName, invalidateIdEvents.values().iterat...
java
public void batchUpdate(String cacheName, HashMap invalidateIdEvents, HashMap invalidateTemplateEvents, ArrayList pushEntryEvents) { if (tc.isEntryEnabled()) Tr.entry(tc, "batchUpdate():"+cacheName); invalidationAuditDaemon.registerInvalidations(cacheName, invalidateIdEvents.values().iterat...
[ "public", "void", "batchUpdate", "(", "String", "cacheName", ",", "HashMap", "invalidateIdEvents", ",", "HashMap", "invalidateTemplateEvents", ",", "ArrayList", "pushEntryEvents", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry...
This implements the method in the CacheUnit interface. It applies the updates to the local internal caches and the external caches. It validates timestamps to prevent race conditions. @param invalidateIdEvents A HashMap of invalidate by id. @param invalidateTemplateEvents A HashMap of invalidate by template. @param pu...
[ "This", "implements", "the", "method", "in", "the", "CacheUnit", "interface", ".", "It", "applies", "the", "updates", "to", "the", "local", "internal", "caches", "and", "the", "external", "caches", ".", "It", "validates", "timestamps", "to", "prevent", "race",...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java#L116-L140
66,520
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java
CacheUnitImpl.getEntry
public CacheEntry getEntry(String cacheName, Object id, boolean ignoreCounting ) { if (tc.isEntryEnabled()) Tr.entry(tc, "getEntry: {0}", id); DCache cache = ServerCache.getCache(cacheName); CacheEntry cacheEntry = null; if ( cache != null ) { cacheEntry = (Cac...
java
public CacheEntry getEntry(String cacheName, Object id, boolean ignoreCounting ) { if (tc.isEntryEnabled()) Tr.entry(tc, "getEntry: {0}", id); DCache cache = ServerCache.getCache(cacheName); CacheEntry cacheEntry = null; if ( cache != null ) { cacheEntry = (Cac...
[ "public", "CacheEntry", "getEntry", "(", "String", "cacheName", ",", "Object", "id", ",", "boolean", "ignoreCounting", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"getEntry: {0}\"", ",", "id", ")...
This implements the method in the CacheUnit interface. This is called by DRSNotificationService and DRSMessageListener. A returned null indicates that the local cache should execute it and return the result to the coordinating CacheUnit. @param cacheName The cache name @param id The cache id for the entry. The id can...
[ "This", "implements", "the", "method", "in", "the", "CacheUnit", "interface", ".", "This", "is", "called", "by", "DRSNotificationService", "and", "DRSMessageListener", ".", "A", "returned", "null", "indicates", "that", "the", "local", "cache", "should", "execute",...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java#L153-L166
66,521
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java
CacheUnitImpl.setEntry
public void setEntry(String cacheName, CacheEntry cacheEntry) { if (tc.isEntryEnabled()) Tr.entry(tc, "setEntry: {0}", cacheEntry.id); cacheEntry = invalidationAuditDaemon.filterEntry(cacheName, cacheEntry); if (cacheEntry != null) { DCache cache = ServerCache.getCache(ca...
java
public void setEntry(String cacheName, CacheEntry cacheEntry) { if (tc.isEntryEnabled()) Tr.entry(tc, "setEntry: {0}", cacheEntry.id); cacheEntry = invalidationAuditDaemon.filterEntry(cacheName, cacheEntry); if (cacheEntry != null) { DCache cache = ServerCache.getCache(ca...
[ "public", "void", "setEntry", "(", "String", "cacheName", ",", "CacheEntry", "cacheEntry", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"setEntry: {0}\"", ",", "cacheEntry", ".", "id", ")", ";", ...
This implements the method in the CacheUnit interface. This is called by DRSNotificationService and DRSMessageListener. @param cacheName The cache name @param cacheEntry The entry to be set.
[ "This", "implements", "the", "method", "in", "the", "CacheUnit", "interface", ".", "This", "is", "called", "by", "DRSNotificationService", "and", "DRSMessageListener", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java#L175-L186
66,522
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java
CacheUnitImpl.setExternalCacheFragment
public void setExternalCacheFragment(ExternalInvalidation externalCacheFragment) { if (tc.isEntryEnabled()) Tr.entry(tc, "setExternalCacheFragment: {0}", externalCacheFragment.getUri()); externalCacheFragment = invalidationAuditDaemon.filterExternalCacheFragment(ServerCache.cache.getCacheNam...
java
public void setExternalCacheFragment(ExternalInvalidation externalCacheFragment) { if (tc.isEntryEnabled()) Tr.entry(tc, "setExternalCacheFragment: {0}", externalCacheFragment.getUri()); externalCacheFragment = invalidationAuditDaemon.filterExternalCacheFragment(ServerCache.cache.getCacheNam...
[ "public", "void", "setExternalCacheFragment", "(", "ExternalInvalidation", "externalCacheFragment", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"setExternalCacheFragment: {0}\"", ",", "externalCacheFragment", ...
This implements the method in the CacheUnit interface. This is called by DRSRemoteService and NullRemoteServices. @param externalCacheFragment The external cache fragment to be relayed.
[ "This", "implements", "the", "method", "in", "the", "CacheUnit", "interface", ".", "This", "is", "called", "by", "DRSRemoteService", "and", "NullRemoteServices", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java#L194-L203
66,523
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java
CacheUnitImpl.startServices
public void startServices(boolean startTLD) { synchronized (this.serviceMonitor) { //multiple threads can call this concurrently if (this.batchUpdateDaemon == null) { //---------------------------------------------- // Initialize BatchUpdateDaemon object //------------------...
java
public void startServices(boolean startTLD) { synchronized (this.serviceMonitor) { //multiple threads can call this concurrently if (this.batchUpdateDaemon == null) { //---------------------------------------------- // Initialize BatchUpdateDaemon object //------------------...
[ "public", "void", "startServices", "(", "boolean", "startTLD", ")", "{", "synchronized", "(", "this", ".", "serviceMonitor", ")", "{", "//multiple threads can call this concurrently ", "if", "(", "this", ".", "batchUpdateDaemon", "==", "null", ")", "{", "//---------...
This is called by ServerCache to start BatchUpdateDaemon, InvalidationAuditDaemon, TimeLimitDaemon and ExternalCacheServices These services should only start once for all cache instances @param startTLD this param is false for a third party cache provider
[ "This", "is", "called", "by", "ServerCache", "to", "start", "BatchUpdateDaemon", "InvalidationAuditDaemon", "TimeLimitDaemon", "and", "ExternalCacheServices", "These", "services", "should", "only", "start", "once", "for", "all", "cache", "instances" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java#L245-L321
66,524
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java
CacheUnitImpl.addAlias
public void addAlias(String cacheName, Object id, Object[] aliasArray) { if (id != null && aliasArray != null) { DCache cache = ServerCache.getCache(cacheName); if (cache != null) { try { cache.addAlias(id, aliasArray, false, false); } ...
java
public void addAlias(String cacheName, Object id, Object[] aliasArray) { if (id != null && aliasArray != null) { DCache cache = ServerCache.getCache(cacheName); if (cache != null) { try { cache.addAlias(id, aliasArray, false, false); } ...
[ "public", "void", "addAlias", "(", "String", "cacheName", ",", "Object", "id", ",", "Object", "[", "]", "aliasArray", ")", "{", "if", "(", "id", "!=", "null", "&&", "aliasArray", "!=", "null", ")", "{", "DCache", "cache", "=", "ServerCache", ".", "getC...
This implements the method in the CacheUnit interface. This is called to add alias ids for cache id. @param cacheName The cache name @param id The cache id @param aliasArray The array of alias ids
[ "This", "implements", "the", "method", "in", "the", "CacheUnit", "interface", ".", "This", "is", "called", "to", "add", "alias", "ids", "for", "cache", "id", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java#L334-L347
66,525
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java
CacheUnitImpl.removeAlias
public void removeAlias(String cacheName, Object alias) { if (alias != null) { DCache cache = ServerCache.getCache(cacheName); if (cache != null) { try { cache.removeAlias(alias, false, false); } catch (IllegalArgumentException e) { ...
java
public void removeAlias(String cacheName, Object alias) { if (alias != null) { DCache cache = ServerCache.getCache(cacheName); if (cache != null) { try { cache.removeAlias(alias, false, false); } catch (IllegalArgumentException e) { ...
[ "public", "void", "removeAlias", "(", "String", "cacheName", ",", "Object", "alias", ")", "{", "if", "(", "alias", "!=", "null", ")", "{", "DCache", "cache", "=", "ServerCache", ".", "getCache", "(", "cacheName", ")", ";", "if", "(", "cache", "!=", "nu...
This implements the method in the CacheUnit interface. This is called to remove alias ids from cache id. @param cacheName The cache name @param alias The alias ids
[ "This", "implements", "the", "method", "in", "the", "CacheUnit", "interface", ".", "This", "is", "called", "to", "remove", "alias", "ids", "from", "cache", "id", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java#L356-L369
66,526
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java
CacheUnitImpl.getCommandCache
public CommandCache getCommandCache(String cacheName) throws DynamicCacheServiceNotStarted, IllegalStateException { if (servletCacheUnit == null) { throw new DynamicCacheServiceNotStarted("Servlet cache service has not been started."); } return servletCacheUnit.getCommandCache(cacheName); }
java
public CommandCache getCommandCache(String cacheName) throws DynamicCacheServiceNotStarted, IllegalStateException { if (servletCacheUnit == null) { throw new DynamicCacheServiceNotStarted("Servlet cache service has not been started."); } return servletCacheUnit.getCommandCache(cacheName); }
[ "public", "CommandCache", "getCommandCache", "(", "String", "cacheName", ")", "throws", "DynamicCacheServiceNotStarted", ",", "IllegalStateException", "{", "if", "(", "servletCacheUnit", "==", "null", ")", "{", "throw", "new", "DynamicCacheServiceNotStarted", "(", "\"Se...
This implements the method in the CacheUnit interface. This is called to get Command Cache object. @param cacheName The cache name @return CommandCache object
[ "This", "implements", "the", "method", "in", "the", "CacheUnit", "interface", ".", "This", "is", "called", "to", "get", "Command", "Cache", "object", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java#L388-L393
66,527
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java
CacheUnitImpl.getJSPCache
public JSPCache getJSPCache(String cacheName) throws DynamicCacheServiceNotStarted, IllegalStateException { if (servletCacheUnit == null) { throw new DynamicCacheServiceNotStarted("Servlet cache service has not been started."); } return servletCacheUnit.getJSPCache(cacheName); }
java
public JSPCache getJSPCache(String cacheName) throws DynamicCacheServiceNotStarted, IllegalStateException { if (servletCacheUnit == null) { throw new DynamicCacheServiceNotStarted("Servlet cache service has not been started."); } return servletCacheUnit.getJSPCache(cacheName); }
[ "public", "JSPCache", "getJSPCache", "(", "String", "cacheName", ")", "throws", "DynamicCacheServiceNotStarted", ",", "IllegalStateException", "{", "if", "(", "servletCacheUnit", "==", "null", ")", "{", "throw", "new", "DynamicCacheServiceNotStarted", "(", "\"Servlet ca...
This implements the method in the CacheUnit interface. This is called to get JSP Cache object. @param cacheName The cache name @return JSPCache object
[ "This", "implements", "the", "method", "in", "the", "CacheUnit", "interface", ".", "This", "is", "called", "to", "get", "JSP", "Cache", "object", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java#L402-L407
66,528
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java
CacheUnitImpl.createObjectCache
public Object createObjectCache(String cacheName) throws DynamicCacheServiceNotStarted, IllegalStateException { if (objectCacheUnit == null) { throw new DynamicCacheServiceNotStarted("Object cache service has not been started."); } return objectCacheUnit.createObjectCache(cacheName); }
java
public Object createObjectCache(String cacheName) throws DynamicCacheServiceNotStarted, IllegalStateException { if (objectCacheUnit == null) { throw new DynamicCacheServiceNotStarted("Object cache service has not been started."); } return objectCacheUnit.createObjectCache(cacheName); }
[ "public", "Object", "createObjectCache", "(", "String", "cacheName", ")", "throws", "DynamicCacheServiceNotStarted", ",", "IllegalStateException", "{", "if", "(", "objectCacheUnit", "==", "null", ")", "{", "throw", "new", "DynamicCacheServiceNotStarted", "(", "\"Object ...
This implements the method in the CacheUnit interface. This is called to create object cache. It calls ObjectCacheUnit to perform this operation. @param cacheName The cache name
[ "This", "implements", "the", "method", "in", "the", "CacheUnit", "interface", ".", "This", "is", "called", "to", "create", "object", "cache", ".", "It", "calls", "ObjectCacheUnit", "to", "perform", "this", "operation", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java#L441-L446
66,529
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java
CacheUnitImpl.createEventSource
public EventSource createEventSource(boolean createAsyncEventSource, String cacheName) throws DynamicCacheServiceNotStarted { if (objectCacheUnit == null) { throw new DynamicCacheServiceNotStarted("Object cache service has not been started."); } return objectCacheUnit.createEventSource(createAsync...
java
public EventSource createEventSource(boolean createAsyncEventSource, String cacheName) throws DynamicCacheServiceNotStarted { if (objectCacheUnit == null) { throw new DynamicCacheServiceNotStarted("Object cache service has not been started."); } return objectCacheUnit.createEventSource(createAsync...
[ "public", "EventSource", "createEventSource", "(", "boolean", "createAsyncEventSource", ",", "String", "cacheName", ")", "throws", "DynamicCacheServiceNotStarted", "{", "if", "(", "objectCacheUnit", "==", "null", ")", "{", "throw", "new", "DynamicCacheServiceNotStarted", ...
This implements the method in the CacheUnit interface. This is called to create event source object. It calls ObjectCacheUnit to perform this operation. @param createAsyncEventSource boolean true - using async thread context for callback; false - using caller thread for callback @param cacheName The cache name @return...
[ "This", "implements", "the", "method", "in", "the", "CacheUnit", "interface", ".", "This", "is", "called", "to", "create", "event", "source", "object", ".", "It", "calls", "ObjectCacheUnit", "to", "perform", "this", "operation", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheUnitImpl.java#L457-L462
66,530
OpenLiberty/open-liberty
dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/x509/PolicyQualifierInfo.java
PolicyQualifierInfo.toASN1Object
public DERObject toASN1Object() { ASN1EncodableVector dev = new ASN1EncodableVector(); dev.add(policyQualifierId); dev.add(qualifier); return new DERSequence(dev); }
java
public DERObject toASN1Object() { ASN1EncodableVector dev = new ASN1EncodableVector(); dev.add(policyQualifierId); dev.add(qualifier); return new DERSequence(dev); }
[ "public", "DERObject", "toASN1Object", "(", ")", "{", "ASN1EncodableVector", "dev", "=", "new", "ASN1EncodableVector", "(", ")", ";", "dev", ".", "add", "(", "policyQualifierId", ")", ";", "dev", ".", "add", "(", "qualifier", ")", ";", "return", "new", "DE...
Returns a DER-encodable representation of this instance. @return a <code>DERObject</code> value
[ "Returns", "a", "DER", "-", "encodable", "representation", "of", "this", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/x509/PolicyQualifierInfo.java#L99-L106
66,531
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/PtoPOutputHandler.java
PtoPOutputHandler.sendAckExpectedMessage
public void sendAckExpectedMessage(long ackExpStamp, int priority, Reliability reliability, SIBUuid12 stream) // not used for ptp throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() ...
java
public void sendAckExpectedMessage(long ackExpStamp, int priority, Reliability reliability, SIBUuid12 stream) // not used for ptp throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() ...
[ "public", "void", "sendAckExpectedMessage", "(", "long", "ackExpStamp", ",", "int", "priority", ",", "Reliability", "reliability", ",", "SIBUuid12", "stream", ")", "// not used for ptp", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTra...
sendAckExpectedMessage is called from SourceStream timer alarm
[ "sendAckExpectedMessage", "is", "called", "from", "SourceStream", "timer", "alarm" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/PtoPOutputHandler.java#L631-L737
66,532
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/PtoPOutputHandler.java
PtoPOutputHandler.sendSilenceMessage
public void sendSilenceMessage( long startStamp, long endStamp, long completedPrefix, boolean requestedOnly, int priority, Reliability reliability, SIBUuid12 stream) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.ent...
java
public void sendSilenceMessage( long startStamp, long endStamp, long completedPrefix, boolean requestedOnly, int priority, Reliability reliability, SIBUuid12 stream) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.ent...
[ "public", "void", "sendSilenceMessage", "(", "long", "startStamp", ",", "long", "endStamp", ",", "long", "completedPrefix", ",", "boolean", "requestedOnly", ",", "int", "priority", ",", "Reliability", "reliability", ",", "SIBUuid12", "stream", ")", "throws", "SIRe...
sendSilenceMessage may be called from SourceStream when a Nack is recevied
[ "sendSilenceMessage", "may", "be", "called", "from", "SourceStream", "when", "a", "Nack", "is", "recevied" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/PtoPOutputHandler.java#L743-L834
66,533
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/PtoPOutputHandler.java
PtoPOutputHandler.handleRollback
protected void handleRollback(LocalTransaction transaction) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "handleRollback", transaction); // Roll back the transaction if we created it. if (transaction != null) { try { transaction.rollback...
java
protected void handleRollback(LocalTransaction transaction) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "handleRollback", transaction); // Roll back the transaction if we created it. if (transaction != null) { try { transaction.rollback...
[ "protected", "void", "handleRollback", "(", "LocalTransaction", "transaction", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"handleRollba...
This method checks to see if rollback is required @param transaction The transaction to rollback.
[ "This", "method", "checks", "to", "see", "if", "rollback", "is", "required" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/PtoPOutputHandler.java#L1542-L1569
66,534
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/PtoPOutputHandler.java
PtoPOutputHandler.updateTargetCellule
public void updateTargetCellule(SIBUuid8 targetMEUuid) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "updateTargetCellule", targetMEUuid); this.targetMEUuid = targetMEUuid; sourceStreamManager.updateTargetCellule(targetMEUui...
java
public void updateTargetCellule(SIBUuid8 targetMEUuid) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "updateTargetCellule", targetMEUuid); this.targetMEUuid = targetMEUuid; sourceStreamManager.updateTargetCellule(targetMEUui...
[ "public", "void", "updateTargetCellule", "(", "SIBUuid8", "targetMEUuid", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", ...
This method should only be called when the PtoPOutputHandler was created for a Link with an unknown targetCellule and WLM has now told us correct targetCellule.
[ "This", "method", "should", "only", "be", "called", "when", "the", "PtoPOutputHandler", "was", "created", "for", "a", "Link", "with", "an", "unknown", "targetCellule", "and", "WLM", "has", "now", "told", "us", "correct", "targetCellule", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/PtoPOutputHandler.java#L2542-L2554
66,535
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/PtoPOutputHandler.java
PtoPOutputHandler.updateRoutingCellule
public void updateRoutingCellule( SIBUuid8 routingME ) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "updateRoutingCellule", routingME); this.routingMEUuid = routingME; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr...
java
public void updateRoutingCellule( SIBUuid8 routingME ) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "updateRoutingCellule", routingME); this.routingMEUuid = routingME; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr...
[ "public", "void", "updateRoutingCellule", "(", "SIBUuid8", "routingME", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"updateRoutingCellul...
This method should only be called when the PtoPOutputHandler was created for a Link. It is called every time a message is sent
[ "This", "method", "should", "only", "be", "called", "when", "the", "PtoPOutputHandler", "was", "created", "for", "a", "Link", ".", "It", "is", "called", "every", "time", "a", "message", "is", "sent" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/PtoPOutputHandler.java#L2560-L2569
66,536
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/AsyncUpdateThread.java
AsyncUpdateThread.enqueueWork
public void enqueueWork(AsyncUpdate unit) throws ClosedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "enqueueWork", unit); synchronized (this) { if (closed) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
java
public void enqueueWork(AsyncUpdate unit) throws ClosedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "enqueueWork", unit); synchronized (this) { if (closed) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
[ "public", "void", "enqueueWork", "(", "AsyncUpdate", "unit", ")", "throws", "ClosedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", ...
Enqueue an AsyncUpdate @param unit the AsyncUpdate
[ "Enqueue", "an", "AsyncUpdate" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/AsyncUpdateThread.java#L129-L174
66,537
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/AsyncUpdateThread.java
AsyncUpdateThread.startExecutingUpdates
private void startExecutingUpdates() throws ClosedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "startExecutingUpdates"); // swap the enqueuedUnits and executingUnits. ArrayList temp = executingUnits; executingUnits = enqueuedUnits; enqueuedUni...
java
private void startExecutingUpdates() throws ClosedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "startExecutingUpdates"); // swap the enqueuedUnits and executingUnits. ArrayList temp = executingUnits; executingUnits = enqueuedUnits; enqueuedUni...
[ "private", "void", "startExecutingUpdates", "(", ")", "throws", "ClosedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"startExecutin...
Internal method. Should be called from within a synchronized block.
[ "Internal", "method", ".", "Should", "be", "called", "from", "within", "a", "synchronized", "block", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/AsyncUpdateThread.java#L179-L219
66,538
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/AsyncUpdateThread.java
AsyncUpdateThread.alarm
public void alarm(Object thandle) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "alarm", new Object[] {this, mp.getMessagingEngineUuid()}); synchronized (this) { if (!closed) { if ((executeSinceExpiry) || executing) { // has committed...
java
public void alarm(Object thandle) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "alarm", new Object[] {this, mp.getMessagingEngineUuid()}); synchronized (this) { if (!closed) { if ((executeSinceExpiry) || executing) { // has committed...
[ "public", "void", "alarm", "(", "Object", "thandle", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"alarm\"", ",", "new", "Object", ...
end class ExecutionThread ...
[ "end", "class", "ExecutionThread", "..." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/AsyncUpdateThread.java#L462-L498
66,539
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/AsyncUpdateThread.java
AsyncUpdateThread.waitTillAllUpdatesExecuted
public void waitTillAllUpdatesExecuted() throws InterruptedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "waitTillAllUpdatesExecuted"); synchronized (this) { while (enqueuedUnits.size() > 0 || executing) { try { thi...
java
public void waitTillAllUpdatesExecuted() throws InterruptedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "waitTillAllUpdatesExecuted"); synchronized (this) { while (enqueuedUnits.size() > 0 || executing) { try { thi...
[ "public", "void", "waitTillAllUpdatesExecuted", "(", ")", "throws", "InterruptedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"wait...
This method blocks till there are 0 enqueued updates and 0 executing updates. Useful for unit testing.
[ "This", "method", "blocks", "till", "there", "are", "0", "enqueued", "updates", "and", "0", "executing", "updates", ".", "Useful", "for", "unit", "testing", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/AsyncUpdateThread.java#L519-L542
66,540
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/event/FilterErrorEvent.java
FilterErrorEvent.getRootCause
public Throwable getRootCause() { Throwable root = getError(); while(true) { if(root instanceof ServletException) { ServletException se = (ServletException)_error; Throwable seRoot = se.getRootCause(); if(seRoot == null) { r...
java
public Throwable getRootCause() { Throwable root = getError(); while(true) { if(root instanceof ServletException) { ServletException se = (ServletException)_error; Throwable seRoot = se.getRootCause(); if(seRoot == null) { r...
[ "public", "Throwable", "getRootCause", "(", ")", "{", "Throwable", "root", "=", "getError", "(", ")", ";", "while", "(", "true", ")", "{", "if", "(", "root", "instanceof", "ServletException", ")", "{", "ServletException", "se", "=", "(", "ServletException", ...
Get the original cause of the error. Use of ServletExceptions by the engine to rethrow errors can cause the original error to be buried within one or more exceptions. This method will sift through the wrapped ServletExceptions to return the original error.
[ "Get", "the", "original", "cause", "of", "the", "error", ".", "Use", "of", "ServletExceptions", "by", "the", "engine", "to", "rethrow", "errors", "can", "cause", "the", "original", "error", "to", "be", "buried", "within", "one", "or", "more", "exceptions", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/event/FilterErrorEvent.java#L53-L73
66,541
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.inbound.security/src/com/ibm/ws/jca/inbound/security/SecurityInflowContextProviderImpl.java
SecurityInflowContextProviderImpl.activate
protected void activate(ComponentContext context) { securityServiceRef.activate(context); unauthSubjectServiceRef.activate(context); authServiceRef.activate(context); credServiceRef.activate(context); }
java
protected void activate(ComponentContext context) { securityServiceRef.activate(context); unauthSubjectServiceRef.activate(context); authServiceRef.activate(context); credServiceRef.activate(context); }
[ "protected", "void", "activate", "(", "ComponentContext", "context", ")", "{", "securityServiceRef", ".", "activate", "(", "context", ")", ";", "unauthSubjectServiceRef", ".", "activate", "(", "context", ")", ";", "authServiceRef", ".", "activate", "(", "context",...
Called during service activation. @param context
[ "Called", "during", "service", "activation", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.inbound.security/src/com/ibm/ws/jca/inbound/security/SecurityInflowContextProviderImpl.java#L66-L71
66,542
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java
ObjectManager.initialise
protected void initialise(String logFileName, int logFileType, java.util.Map objectStoreLocations, ObjectManagerEventCallback[] callbacks) throws ObjectManagerException { final String methodName = "init...
java
protected void initialise(String logFileName, int logFileType, java.util.Map objectStoreLocations, ObjectManagerEventCallback[] callbacks) throws ObjectManagerException { final String methodName = "init...
[ "protected", "void", "initialise", "(", "String", "logFileName", ",", "int", "logFileType", ",", "java", ".", "util", ".", "Map", "objectStoreLocations", ",", "ObjectManagerEventCallback", "[", "]", "callbacks", ")", "throws", "ObjectManagerException", "{", "final",...
Create a handle for the ObjectManagerState and initialise it of necessary. @param logFileName of the transaction log file, all instances of the ObjectManager must use exactly the same log file name. @param logFileType one of LOG_FILE_TYPE_XXX. @param objectStoreLocations to map ObjectStore names to their disk location...
[ "Create", "a", "handle", "for", "the", "ObjectManagerState", "and", "initialise", "it", "of", "necessary", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java#L203-L261
66,543
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java
ObjectManager.createObjectManagerState
protected ObjectManagerState createObjectManagerState(String logFileName, int logFileType, java.util.Map objectStoreLocations, ObjectManagerEventC...
java
protected ObjectManagerState createObjectManagerState(String logFileName, int logFileType, java.util.Map objectStoreLocations, ObjectManagerEventC...
[ "protected", "ObjectManagerState", "createObjectManagerState", "(", "String", "logFileName", ",", "int", "logFileType", ",", "java", ".", "util", ".", "Map", "objectStoreLocations", ",", "ObjectManagerEventCallback", "[", "]", "callbacks", ")", "throws", "ObjectManagerE...
Instantiate the ObjectManagerState. A subclass of ObjectManager should override this method if a subclass of ObjecManagerState is required. @param logFileName of the transaction log file. @param logFileType one of LOG_FILE_TYPE_XXX. @param objectStoreLocations referring ObjectStore name to their disk location, filenam...
[ "Instantiate", "the", "ObjectManagerState", ".", "A", "subclass", "of", "ObjectManager", "should", "override", "this", "method", "if", "a", "subclass", "of", "ObjecManagerState", "is", "required", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java#L277-L287
66,544
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java
ObjectManager.warmStarted
public final boolean warmStarted() { final String methodName = "warmStarted"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, methodName); boolean isWarmStarted = false; if (objectMana...
java
public final boolean warmStarted() { final String methodName = "warmStarted"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, methodName); boolean isWarmStarted = false; if (objectMana...
[ "public", "final", "boolean", "warmStarted", "(", ")", "{", "final", "String", "methodName", "=", "\"warmStarted\"", ";", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", ...
returns true if the objectManager was warm started. @return boolean true if warm started.
[ "returns", "true", "if", "the", "objectManager", "was", "warm", "started", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java#L294-L312
66,545
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java
ObjectManager.shutdown
public final void shutdown() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "shutdown" ); objectManagerState.shutdown(); if (Tracing....
java
public final void shutdown() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "shutdown" ); objectManagerState.shutdown(); if (Tracing....
[ "public", "final", "void", "shutdown", "(", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this", ",", "cclass", ",...
Terminates the ObjectManager. @throws ObjectManagerException
[ "Terminates", "the", "ObjectManager", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java#L319-L333
66,546
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java
ObjectManager.shutdownFast
public final void shutdownFast() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "shutdownFast" ); if (!testInterfaces) { if (Traci...
java
public final void shutdownFast() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "shutdownFast" ); if (!testInterfaces) { if (Traci...
[ "public", "final", "void", "shutdownFast", "(", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this", ",", "cclass", ...
Terminates the ObjectManager, without taking a checkpoint. The allows the ObjectManager to be restarted as if it had crashed and is only intended for testing emergency restart. @throws ObjectManagerException
[ "Terminates", "the", "ObjectManager", "without", "taking", "a", "checkpoint", ".", "The", "allows", "the", "ObjectManager", "to", "be", "restarted", "as", "if", "it", "had", "crashed", "and", "is", "only", "intended", "for", "testing", "emergency", "restart", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java#L342-L366
66,547
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java
ObjectManager.waitForCheckpoint
public final void waitForCheckpoint() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "waitForCheckpoint" ); if (!testInterfaces) { ...
java
public final void waitForCheckpoint() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "waitForCheckpoint" ); if (!testInterfaces) { ...
[ "public", "final", "void", "waitForCheckpoint", "(", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this", ",", "ccla...
Waits for one checkpoint to complete. @throws ObjectManagerException
[ "Waits", "for", "one", "checkpoint", "to", "complete", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java#L373-L396
66,548
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java
ObjectManager.getTransaction
public final Transaction getTransaction() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "getTransaction" ); // If the log is full introduce a ...
java
public final Transaction getTransaction() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "getTransaction" ); // If the log is full introduce a ...
[ "public", "final", "Transaction", "getTransaction", "(", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this", ",", "...
Factory method to crate a new transaction for use with the ObjectManager. @return Transaction the new transaction. @throws ObjectManagerException
[ "Factory", "method", "to", "crate", "a", "new", "transaction", "for", "use", "with", "the", "ObjectManager", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java#L533-L551
66,549
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java
ObjectManager.getTransactionByXID
public final Transaction getTransactionByXID(byte[] XID) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "getTransactionByXID" , "XIDe=" + XID + "(byte[]" ...
java
public final Transaction getTransactionByXID(byte[] XID) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "getTransactionByXID" , "XIDe=" + XID + "(byte[]" ...
[ "public", "final", "Transaction", "getTransactionByXID", "(", "byte", "[", "]", "XID", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", ...
Locate a transaction registered with this ObjectManager. with the same XID as the one passed. If a null XID is passed this will return any registered transaction with a null XID. @param XID Xopen identifier. @return Transaction identified by the XID. @throws ObjectManagerException
[ "Locate", "a", "transaction", "registered", "with", "this", "ObjectManager", ".", "with", "the", "same", "XID", "as", "the", "one", "passed", ".", "If", "a", "null", "XID", "is", "passed", "this", "will", "return", "any", "registered", "transaction", "with",...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java#L562-L579
66,550
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java
ObjectManager.getTransactionIterator
public final java.util.Iterator getTransactionIterator() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "getTransactionIterator" ); java.util.I...
java
public final java.util.Iterator getTransactionIterator() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "getTransactionIterator" ); java.util.I...
[ "public", "final", "java", ".", "util", ".", "Iterator", "getTransactionIterator", "(", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".",...
Create an iterator over all transactions known to this ObjectManager. The iterator returned is safe against concurrent modification of the set of transactions, new transactions created after the iterator is created may not be covered by the iterator. @return java.util.Iterator over Transactions. @throws ObjectManagerE...
[ "Create", "an", "iterator", "over", "all", "transactions", "known", "to", "this", "ObjectManager", ".", "The", "iterator", "returned", "is", "safe", "against", "concurrent", "modification", "of", "the", "set", "of", "transactions", "new", "transactions", "created"...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java#L589-L604
66,551
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java
ObjectManager.getObjectStore
public final ObjectStore getObjectStore(String objectStoreName) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "getObjectStore" , "objectStoreName=" + obje...
java
public final ObjectStore getObjectStore(String objectStoreName) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "getObjectStore" , "objectStoreName=" + obje...
[ "public", "final", "ObjectStore", "getObjectStore", "(", "String", "objectStoreName", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "en...
Locate an ObjectStore used by this objectManager. @param objectStoreName of the ObjectStore. @return ObjectStore found matching the identifier. @throws ObjectManagerException
[ "Locate", "an", "ObjectStore", "used", "by", "this", "objectManager", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java#L613-L630
66,552
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java
ObjectManager.getObjectStoreIterator
public final java.util.Iterator getObjectStoreIterator() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "getObjectStoreIterator" ); java.util.I...
java
public final java.util.Iterator getObjectStoreIterator() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "getObjectStoreIterator" ); java.util.I...
[ "public", "final", "java", ".", "util", ".", "Iterator", "getObjectStoreIterator", "(", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".",...
Create an iterator over all ObjectStores known to this ObjectManager. @return java.util.Iterator over Transactions. @throws ObjectManagerException
[ "Create", "an", "iterator", "over", "all", "ObjectStores", "known", "to", "this", "ObjectManager", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java#L638-L653
66,553
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java
ObjectManager.getNamedObject
public final Token getNamedObject(String name , Transaction transaction) throws ObjectManagerException { final String methodName = "getNamedObject"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cc...
java
public final Token getNamedObject(String name , Transaction transaction) throws ObjectManagerException { final String methodName = "getNamedObject"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cc...
[ "public", "final", "Token", "getNamedObject", "(", "String", "name", ",", "Transaction", "transaction", ")", "throws", "ObjectManagerException", "{", "final", "String", "methodName", "=", "\"getNamedObject\"", ";", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "...
Locate a Token by name within this objectManager. @param name The name of the Token to be located. @param transaction controlling visibility of the named ManagedObject. @return Token of the named ManagedObject or null. @throws ObjectManagerException
[ "Locate", "a", "Token", "by", "name", "within", "this", "objectManager", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java#L740-L770
66,554
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java
ObjectManager.removeNamedObject
public final Token removeNamedObject(String name , Transaction transaction) throws ObjectManagerException { final String methodName = "removeNamedObject"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(thi...
java
public final Token removeNamedObject(String name , Transaction transaction) throws ObjectManagerException { final String methodName = "removeNamedObject"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(thi...
[ "public", "final", "Token", "removeNamedObject", "(", "String", "name", ",", "Transaction", "transaction", ")", "throws", "ObjectManagerException", "{", "final", "String", "methodName", "=", "\"removeNamedObject\"", ";", "if", "(", "Tracing", ".", "isAnyTracingEnabled...
Remove a named ManagedObject locatable by name within this objectManager. @param name The name of the ManagedObject to be removed. @param transaction The transaction which scopes the naming. @return Token of any existing ManagedObject associated with this name or null. @throws ObjectManagerException
[ "Remove", "a", "named", "ManagedObject", "locatable", "by", "name", "within", "this", "objectManager", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java#L780-L827
66,555
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java
ObjectManager.setTransactionsPerCheckpoint
public final void setTransactionsPerCheckpoint(long persistentTransactionsPerCheckpoint , long nonPersistentTransactionsPerCheckpoint , Transaction transaction) throws ObjectManagerException { ...
java
public final void setTransactionsPerCheckpoint(long persistentTransactionsPerCheckpoint , long nonPersistentTransactionsPerCheckpoint , Transaction transaction) throws ObjectManagerException { ...
[ "public", "final", "void", "setTransactionsPerCheckpoint", "(", "long", "persistentTransactionsPerCheckpoint", ",", "long", "nonPersistentTransactionsPerCheckpoint", ",", "Transaction", "transaction", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", ...
Create a named ManagedObject by name within this objectManager. @param persistentTransactionsPerCheckpoint the number of persistent transactions that can commit or backout before a checkpoint is written in the log. A high number results in long restart times a low number impacts runtime performance. @param nonPersiste...
[ "Create", "a", "named", "ManagedObject", "by", "name", "within", "this", "objectManager", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java#L874-L899
66,556
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java
ObjectManager.setMaximumActiveTransactions
public final void setMaximumActiveTransactions(int maximumActiveTransactions , Transaction transaction) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass ...
java
public final void setMaximumActiveTransactions(int maximumActiveTransactions , Transaction transaction) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass ...
[ "public", "final", "void", "setMaximumActiveTransactions", "(", "int", "maximumActiveTransactions", ",", "Transaction", "transaction", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntr...
Change the maximum active transactrions that the ObjectManager will allow to start. If this call reduces the maximum then existing transactions continue but no new ones are allowed until the total has fallen below the new maximum. @param maximumActiveTransactions to set. @param transaction controling the update. @thro...
[ "Change", "the", "maximum", "active", "transactrions", "that", "the", "ObjectManager", "will", "allow", "to", "start", ".", "If", "this", "call", "reduces", "the", "maximum", "then", "existing", "transactions", "continue", "but", "no", "new", "ones", "are", "a...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java#L920-L942
66,557
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java
ObjectManager.captureStatistics
public java.util.Map captureStatistics(String name ) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "captureStatistics",...
java
public java.util.Map captureStatistics(String name ) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "captureStatistics",...
[ "public", "java", ".", "util", ".", "Map", "captureStatistics", "(", "String", "name", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", "."...
Capture statistics. @param name The name of the component to capture statistics from. @return java.util.Map the captured statistics. @throws ObjectManagerException
[ "Capture", "statistics", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java#L1041-L1091
66,558
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java
ObjectManager.registerEventCallback
public void registerEventCallback(ObjectManagerEventCallback callback) { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "registerEventCallback", callback); objectManagerState.registerEventCallback(callback); if (Tracing.isAnyTracingEnable...
java
public void registerEventCallback(ObjectManagerEventCallback callback) { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "registerEventCallback", callback); objectManagerState.registerEventCallback(callback); if (Tracing.isAnyTracingEnable...
[ "public", "void", "registerEventCallback", "(", "ObjectManagerEventCallback", "callback", ")", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this", ",", "cclas...
Defect 495856, 496893
[ "Defect", "495856", "496893" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManager.java#L1117-L1126
66,559
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/BootstrapDefaults.java
BootstrapDefaults.getLogProviderDefinition
public String getLogProviderDefinition(BootstrapConfig bootProps) { String logProvider = bootProps.get(BOOTPROP_LOG_PROVIDER); if (logProvider == null) logProvider = defaults.getProperty(MANIFEST_LOG_PROVIDER); if (logProvider != null) bootProps.put(BOOTPROP_LOG_PROVIDE...
java
public String getLogProviderDefinition(BootstrapConfig bootProps) { String logProvider = bootProps.get(BOOTPROP_LOG_PROVIDER); if (logProvider == null) logProvider = defaults.getProperty(MANIFEST_LOG_PROVIDER); if (logProvider != null) bootProps.put(BOOTPROP_LOG_PROVIDE...
[ "public", "String", "getLogProviderDefinition", "(", "BootstrapConfig", "bootProps", ")", "{", "String", "logProvider", "=", "bootProps", ".", "get", "(", "BOOTPROP_LOG_PROVIDER", ")", ";", "if", "(", "logProvider", "==", "null", ")", "logProvider", "=", "defaults...
Find and return the name of the log provider. Look in bootstrap properties first, if not explicitly defined there, get the default from the manifest. @return the selected log provider
[ "Find", "and", "return", "the", "name", "of", "the", "log", "provider", ".", "Look", "in", "bootstrap", "properties", "first", "if", "not", "explicitly", "defined", "there", "get", "the", "default", "from", "the", "manifest", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/BootstrapDefaults.java#L101-L111
66,560
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/BootstrapDefaults.java
BootstrapDefaults.getOSExtensionDefinition
public String getOSExtensionDefinition(BootstrapConfig bootProps) { String osExtension = bootProps.get(BOOTPROP_OS_EXTENSIONS); if (osExtension == null) { String normalizedName = getNormalizedOperatingSystemName(bootProps.get("os.name")); osExtension = defaults.getProperty(MANIF...
java
public String getOSExtensionDefinition(BootstrapConfig bootProps) { String osExtension = bootProps.get(BOOTPROP_OS_EXTENSIONS); if (osExtension == null) { String normalizedName = getNormalizedOperatingSystemName(bootProps.get("os.name")); osExtension = defaults.getProperty(MANIF...
[ "public", "String", "getOSExtensionDefinition", "(", "BootstrapConfig", "bootProps", ")", "{", "String", "osExtension", "=", "bootProps", ".", "get", "(", "BOOTPROP_OS_EXTENSIONS", ")", ";", "if", "(", "osExtension", "==", "null", ")", "{", "String", "normalizedNa...
Find and return the name of the os extension. Look in bootstrap properties first, if not explicitly defined there, get the default from the manifest. @return the selected log provider
[ "Find", "and", "return", "the", "name", "of", "the", "os", "extension", ".", "Look", "in", "bootstrap", "properties", "first", "if", "not", "explicitly", "defined", "there", "get", "the", "default", "from", "the", "manifest", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/BootstrapDefaults.java#L120-L132
66,561
OpenLiberty/open-liberty
dev/com.ibm.ws.microprofile.config.1.1/src/com/ibm/ws/microprofile/config/archaius/cache/ConfigCache.java
ConfigCache.getProperty
private TypeContainer getProperty(String propName) { TypeContainer container = cache.get(propName); if (container == null) { container = new TypeContainer(propName, config, version); TypeContainer existing = cache.putIfAbsent(propName, container); if (existing != null...
java
private TypeContainer getProperty(String propName) { TypeContainer container = cache.get(propName); if (container == null) { container = new TypeContainer(propName, config, version); TypeContainer existing = cache.putIfAbsent(propName, container); if (existing != null...
[ "private", "TypeContainer", "getProperty", "(", "String", "propName", ")", "{", "TypeContainer", "container", "=", "cache", ".", "get", "(", "propName", ")", ";", "if", "(", "container", "==", "null", ")", "{", "container", "=", "new", "TypeContainer", "(", ...
Gets the cached property container or make a new one, cache it and return it @param propName @return the property's container
[ "Gets", "the", "cached", "property", "container", "or", "make", "a", "new", "one", "cache", "it", "and", "return", "it" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.config.1.1/src/com/ibm/ws/microprofile/config/archaius/cache/ConfigCache.java#L63-L74
66,562
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/execution/impl/RuntimeSplitFlowExecution.java
RuntimeSplitFlowExecution.publishStartedEvent
private void publishStartedEvent() { BatchEventsPublisher publisher = getBatchEventsPublisher(); if (publisher != null) { publisher.publishSplitFlowEvent(getSplitName(), getFlowName(), getTopLevelInstanc...
java
private void publishStartedEvent() { BatchEventsPublisher publisher = getBatchEventsPublisher(); if (publisher != null) { publisher.publishSplitFlowEvent(getSplitName(), getFlowName(), getTopLevelInstanc...
[ "private", "void", "publishStartedEvent", "(", ")", "{", "BatchEventsPublisher", "publisher", "=", "getBatchEventsPublisher", "(", ")", ";", "if", "(", "publisher", "!=", "null", ")", "{", "publisher", ".", "publishSplitFlowEvent", "(", "getSplitName", "(", ")", ...
Publish started event
[ "Publish", "started", "event" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/execution/impl/RuntimeSplitFlowExecution.java#L152-L163
66,563
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/execution/impl/RuntimeSplitFlowExecution.java
RuntimeSplitFlowExecution.publishEndedEvent
private void publishEndedEvent() { BatchEventsPublisher publisher = getBatchEventsPublisher(); if (publisher != null) { publisher.publishSplitFlowEvent(getSplitName(), getFlowName(), getTopLevelInstanceI...
java
private void publishEndedEvent() { BatchEventsPublisher publisher = getBatchEventsPublisher(); if (publisher != null) { publisher.publishSplitFlowEvent(getSplitName(), getFlowName(), getTopLevelInstanceI...
[ "private", "void", "publishEndedEvent", "(", ")", "{", "BatchEventsPublisher", "publisher", "=", "getBatchEventsPublisher", "(", ")", ";", "if", "(", "publisher", "!=", "null", ")", "{", "publisher", ".", "publishSplitFlowEvent", "(", "getSplitName", "(", ")", "...
Publish ended event
[ "Publish", "ended", "event" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/execution/impl/RuntimeSplitFlowExecution.java#L168-L179
66,564
OpenLiberty/open-liberty
dev/com.ibm.ws.org.apache.cxf.cxf.rt.rs.client.3.2/src/org/apache/cxf/jaxrs/client/JAXRSClientFactoryBean.java
JAXRSClientFactoryBean.setHeaders
public void setHeaders(Map<String, String> map) { headers = new MetadataMap<String, String>(); for (Map.Entry<String, String> entry : map.entrySet()) { String[] values = entry.getValue().split(","); for (String v : values) { if (v.length() != 0) { ...
java
public void setHeaders(Map<String, String> map) { headers = new MetadataMap<String, String>(); for (Map.Entry<String, String> entry : map.entrySet()) { String[] values = entry.getValue().split(","); for (String v : values) { if (v.length() != 0) { ...
[ "public", "void", "setHeaders", "(", "Map", "<", "String", ",", "String", ">", "map", ")", "{", "headers", "=", "new", "MetadataMap", "<", "String", ",", "String", ">", "(", ")", ";", "for", "(", "Map", ".", "Entry", "<", "String", ",", "String", "...
Sets the headers new proxy or WebClient instances will be initialized with. @param map the headers
[ "Sets", "the", "headers", "new", "proxy", "or", "WebClient", "instances", "will", "be", "initialized", "with", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.cxf.cxf.rt.rs.client.3.2/src/org/apache/cxf/jaxrs/client/JAXRSClientFactoryBean.java#L187-L197
66,565
OpenLiberty/open-liberty
dev/com.ibm.ws.org.apache.cxf.cxf.rt.rs.client.3.2/src/org/apache/cxf/jaxrs/client/JAXRSClientFactoryBean.java
JAXRSClientFactoryBean.createWebClient
public WebClient createWebClient() { String serviceAddress = getAddress(); int queryIndex = serviceAddress != null ? serviceAddress.lastIndexOf('?') : -1; if (queryIndex != -1) { serviceAddress = serviceAddress.substring(0, queryIndex); } Service service = new JAXRSSe...
java
public WebClient createWebClient() { String serviceAddress = getAddress(); int queryIndex = serviceAddress != null ? serviceAddress.lastIndexOf('?') : -1; if (queryIndex != -1) { serviceAddress = serviceAddress.substring(0, queryIndex); } Service service = new JAXRSSe...
[ "public", "WebClient", "createWebClient", "(", ")", "{", "String", "serviceAddress", "=", "getAddress", "(", ")", ";", "int", "queryIndex", "=", "serviceAddress", "!=", "null", "?", "serviceAddress", ".", "lastIndexOf", "(", "'", "'", ")", ":", "-", "1", "...
Creates a WebClient instance @return WebClient instance
[ "Creates", "a", "WebClient", "instance" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.cxf.cxf.rt.rs.client.3.2/src/org/apache/cxf/jaxrs/client/JAXRSClientFactoryBean.java#L211-L236
66,566
OpenLiberty/open-liberty
dev/com.ibm.ws.org.apache.cxf.cxf.rt.rs.client.3.2/src/org/apache/cxf/jaxrs/client/JAXRSClientFactoryBean.java
JAXRSClientFactoryBean.create
public <T> T create(Class<T> cls, Object... varValues) { return cls.cast(createWithValues(varValues)); }
java
public <T> T create(Class<T> cls, Object... varValues) { return cls.cast(createWithValues(varValues)); }
[ "public", "<", "T", ">", "T", "create", "(", "Class", "<", "T", ">", "cls", ",", "Object", "...", "varValues", ")", "{", "return", "cls", ".", "cast", "(", "createWithValues", "(", "varValues", ")", ")", ";", "}" ]
Creates a proxy @param cls the proxy class @param varValues optional list of values which will be used to substitute template variables specified in the class-level JAX-RS Path annotations @return the proxy
[ "Creates", "a", "proxy" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.cxf.cxf.rt.rs.client.3.2/src/org/apache/cxf/jaxrs/client/JAXRSClientFactoryBean.java#L263-L265
66,567
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ws/jca/cm/ConnectorService.java
ConnectorService.deserialize
public static final Object deserialize(byte[] bytes) throws Exception { final boolean trace = TraceComponent.isAnyTracingEnabled(); if (trace && tc.isEntryEnabled()) Tr.entry(tc, "deserialize"); Object o; try { ByteArrayInputStream bis = new ByteArrayInputStream(...
java
public static final Object deserialize(byte[] bytes) throws Exception { final boolean trace = TraceComponent.isAnyTracingEnabled(); if (trace && tc.isEntryEnabled()) Tr.entry(tc, "deserialize"); Object o; try { ByteArrayInputStream bis = new ByteArrayInputStream(...
[ "public", "static", "final", "Object", "deserialize", "(", "byte", "[", "]", "bytes", ")", "throws", "Exception", "{", "final", "boolean", "trace", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "trace", "&&", "tc", ".", "isEn...
Deserialize from an array of bytes. @param bytes serialized bytes. @return deserialized object.
[ "Deserialize", "from", "an", "array", "of", "bytes", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ws/jca/cm/ConnectorService.java#L44-L65
66,568
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ws/jca/cm/ConnectorService.java
ConnectorService.getMessage
public static final String getMessage(String key, Object... args) { return NLS.getFormattedMessage(key, args, key); }
java
public static final String getMessage(String key, Object... args) { return NLS.getFormattedMessage(key, args, key); }
[ "public", "static", "final", "String", "getMessage", "(", "String", "key", ",", "Object", "...", "args", ")", "{", "return", "NLS", ".", "getFormattedMessage", "(", "key", ",", "args", ",", "key", ")", ";", "}" ]
Get a translated message from J2CAMessages file. @param key message key. @param args message parameters @return a translated message.
[ "Get", "a", "translated", "message", "from", "J2CAMessages", "file", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ws/jca/cm/ConnectorService.java#L79-L81
66,569
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ws/jca/cm/ConnectorService.java
ConnectorService.logMessage
public static final void logMessage(Level level, String key, Object... args) { if (WsLevel.AUDIT.equals(level)) Tr.audit(tc, key, args); else if (WsLevel.ERROR.equals(level)) Tr.error(tc, key, args); else if (Level.INFO.equals(level)) Tr.info(tc, key, args); ...
java
public static final void logMessage(Level level, String key, Object... args) { if (WsLevel.AUDIT.equals(level)) Tr.audit(tc, key, args); else if (WsLevel.ERROR.equals(level)) Tr.error(tc, key, args); else if (Level.INFO.equals(level)) Tr.info(tc, key, args); ...
[ "public", "static", "final", "void", "logMessage", "(", "Level", "level", ",", "String", "key", ",", "Object", "...", "args", ")", "{", "if", "(", "WsLevel", ".", "AUDIT", ".", "equals", "(", "level", ")", ")", "Tr", ".", "audit", "(", "tc", ",", "...
Logs a message from the J2CAMessages file. @param key message key. @param args message parameters
[ "Logs", "a", "message", "from", "the", "J2CAMessages", "file", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ws/jca/cm/ConnectorService.java#L118-L129
66,570
OpenLiberty/open-liberty
dev/com.ibm.ws.security.audit.source/src/com/ibm/ws/security/audit/utils/AuditUtils.java
AuditUtils.getSessionID
public static String getSessionID(HttpServletRequest req) { String sessionID = null; final HttpServletRequest f_req = req; try { sessionID = AccessController.doPrivileged(new PrivilegedExceptionAction<String>() { @Override public String run() throws E...
java
public static String getSessionID(HttpServletRequest req) { String sessionID = null; final HttpServletRequest f_req = req; try { sessionID = AccessController.doPrivileged(new PrivilegedExceptionAction<String>() { @Override public String run() throws E...
[ "public", "static", "String", "getSessionID", "(", "HttpServletRequest", "req", ")", "{", "String", "sessionID", "=", "null", ";", "final", "HttpServletRequest", "f_req", "=", "req", ";", "try", "{", "sessionID", "=", "AccessController", ".", "doPrivileged", "("...
Return the session id if the request has an HttpSession, otherwise return null. @param req @return session id or null
[ "Return", "the", "session", "id", "if", "the", "request", "has", "an", "HttpSession", "otherwise", "return", "null", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.audit.source/src/com/ibm/ws/security/audit/utils/AuditUtils.java#L77-L138
66,571
OpenLiberty/open-liberty
dev/com.ibm.ws.security.audit.source/src/com/ibm/ws/security/audit/utils/AuditUtils.java
AuditUtils.getRequestScheme
public static String getRequestScheme(HttpServletRequest req) { String scheme; if (req.getScheme() != null) scheme = req.getScheme().toUpperCase(); else scheme = AuditEvent.REASON_TYPE_HTTP; return scheme; }
java
public static String getRequestScheme(HttpServletRequest req) { String scheme; if (req.getScheme() != null) scheme = req.getScheme().toUpperCase(); else scheme = AuditEvent.REASON_TYPE_HTTP; return scheme; }
[ "public", "static", "String", "getRequestScheme", "(", "HttpServletRequest", "req", ")", "{", "String", "scheme", ";", "if", "(", "req", ".", "getScheme", "(", ")", "!=", "null", ")", "scheme", "=", "req", ".", "getScheme", "(", ")", ".", "toUpperCase", ...
Get the scheme from the request - generally "HTTP" or HTTPS" @param req @return the scheme
[ "Get", "the", "scheme", "from", "the", "request", "-", "generally", "HTTP", "or", "HTTPS" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.audit.source/src/com/ibm/ws/security/audit/utils/AuditUtils.java#L146-L153
66,572
OpenLiberty/open-liberty
dev/com.ibm.ws.security.audit.source/src/com/ibm/ws/security/audit/utils/AuditUtils.java
AuditUtils.getRequestMethod
public static String getRequestMethod(HttpServletRequest req) { String method; if (req.getMethod() != null) method = req.getMethod().toUpperCase(); else method = AuditEvent.TARGET_METHOD_GET; return method; }
java
public static String getRequestMethod(HttpServletRequest req) { String method; if (req.getMethod() != null) method = req.getMethod().toUpperCase(); else method = AuditEvent.TARGET_METHOD_GET; return method; }
[ "public", "static", "String", "getRequestMethod", "(", "HttpServletRequest", "req", ")", "{", "String", "method", ";", "if", "(", "req", ".", "getMethod", "(", ")", "!=", "null", ")", "method", "=", "req", ".", "getMethod", "(", ")", ".", "toUpperCase", ...
Get the method from the request - generally "GET" or "POST" @param req @return the method
[ "Get", "the", "method", "from", "the", "request", "-", "generally", "GET", "or", "POST" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.audit.source/src/com/ibm/ws/security/audit/utils/AuditUtils.java#L171-L178
66,573
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/wsspi/channelfw/objectpool/CircularObjectPool.java
CircularObjectPool.get
@Override public Object get() { Object oObject = null; synchronized (this) { // Check if any are free in the free hashtable if (lastEntry > -1) { // Free array has entries, get the last one. // remove last one for best performance ...
java
@Override public Object get() { Object oObject = null; synchronized (this) { // Check if any are free in the free hashtable if (lastEntry > -1) { // Free array has entries, get the last one. // remove last one for best performance ...
[ "@", "Override", "public", "Object", "get", "(", ")", "{", "Object", "oObject", "=", "null", ";", "synchronized", "(", "this", ")", "{", "// Check if any are free in the free hashtable", "if", "(", "lastEntry", ">", "-", "1", ")", "{", "// Free array has entries...
Gets an Object from the pool and returns it. If there are currently no entries in the pool then a new object will be created. @return Object from the pool
[ "Gets", "an", "Object", "from", "the", "pool", "and", "returns", "it", ".", "If", "there", "are", "currently", "no", "entries", "in", "the", "pool", "then", "a", "new", "object", "will", "be", "created", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/wsspi/channelfw/objectpool/CircularObjectPool.java#L89-L116
66,574
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/wsspi/channelfw/objectpool/CircularObjectPool.java
CircularObjectPool.put
@Override public Object put(Object object) { Object returnVal = null; long currentTime = CHFWBundle.getApproxTime(); synchronized (this) { // get next free position, or oldest position if none free lastEntry++; // If last entry is past end of array, go ba...
java
@Override public Object put(Object object) { Object returnVal = null; long currentTime = CHFWBundle.getApproxTime(); synchronized (this) { // get next free position, or oldest position if none free lastEntry++; // If last entry is past end of array, go ba...
[ "@", "Override", "public", "Object", "put", "(", "Object", "object", ")", "{", "Object", "returnVal", "=", "null", ";", "long", "currentTime", "=", "CHFWBundle", ".", "getApproxTime", "(", ")", ";", "synchronized", "(", "this", ")", "{", "// get next free po...
Puts an Object into the free pool. If the free pool is full then this object will overlay the oldest object in the pool. @param object to be put in the pool.
[ "Puts", "an", "Object", "into", "the", "free", "pool", ".", "If", "the", "free", "pool", "is", "full", "then", "this", "object", "will", "overlay", "the", "oldest", "object", "in", "the", "pool", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/wsspi/channelfw/objectpool/CircularObjectPool.java#L125-L179
66,575
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/wsspi/channelfw/objectpool/CircularObjectPool.java
CircularObjectPool.putBatch
protected void putBatch(Object[] objectArray) { int index = 0; synchronized (this) { while (index < objectArray.length && objectArray[index] != null) { put(objectArray[index]); index++; } } return; }
java
protected void putBatch(Object[] objectArray) { int index = 0; synchronized (this) { while (index < objectArray.length && objectArray[index] != null) { put(objectArray[index]); index++; } } return; }
[ "protected", "void", "putBatch", "(", "Object", "[", "]", "objectArray", ")", "{", "int", "index", "=", "0", ";", "synchronized", "(", "this", ")", "{", "while", "(", "index", "<", "objectArray", ".", "length", "&&", "objectArray", "[", "index", "]", "...
Puts a set of Objects into the free pool. If the free pool is full then this object will overlay the oldest object in the pool. @param objectArray list of objects to put into the pool
[ "Puts", "a", "set", "of", "Objects", "into", "the", "free", "pool", ".", "If", "the", "free", "pool", "is", "full", "then", "this", "object", "will", "overlay", "the", "oldest", "object", "in", "the", "pool", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/wsspi/channelfw/objectpool/CircularObjectPool.java#L221-L231
66,576
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsJmsMessageFactoryImpl.java
JsJmsMessageFactoryImpl.createJmsMessage
public JsJmsMessage createJmsMessage() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createJmsMessage"); JsJmsMessage msg = null; try { msg = new JsJmsMessageImpl(MfpConstants.CONSTRUCTOR_NO_OP); } catch (MessageDecodeFa...
java
public JsJmsMessage createJmsMessage() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createJmsMessage"); JsJmsMessage msg = null; try { msg = new JsJmsMessageImpl(MfpConstants.CONSTRUCTOR_NO_OP); } catch (MessageDecodeFa...
[ "public", "JsJmsMessage", "createJmsMessage", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "...
Create a new, empty null-bodied JMS Message. To be called by the API component. @return The new JsJmsMessage @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "null", "-", "bodied", "JMS", "Message", ".", "To", "be", "called", "by", "the", "API", "component", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsJmsMessageFactoryImpl.java#L38-L51
66,577
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsJmsMessageFactoryImpl.java
JsJmsMessageFactoryImpl.createJmsBytesMessage
public JsJmsBytesMessage createJmsBytesMessage() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createJmsBytesMessage"); JsJmsBytesMessage msg = null; try { msg = new JsJmsBytesMessageImpl(MfpConstants.CONSTRUCTOR_NO_OP); } ...
java
public JsJmsBytesMessage createJmsBytesMessage() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createJmsBytesMessage"); JsJmsBytesMessage msg = null; try { msg = new JsJmsBytesMessageImpl(MfpConstants.CONSTRUCTOR_NO_OP); } ...
[ "public", "JsJmsBytesMessage", "createJmsBytesMessage", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ...
Create a new, empty JMS BytesMessage. To be called by the API component. @return The new JsJmsBytesMessage @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "JMS", "BytesMessage", ".", "To", "be", "called", "by", "the", "API", "component", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsJmsMessageFactoryImpl.java#L61-L74
66,578
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsJmsMessageFactoryImpl.java
JsJmsMessageFactoryImpl.createJmsMapMessage
public JsJmsMapMessage createJmsMapMessage() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createJmsMapMessage"); JsJmsMapMessage msg = null; try { msg = new JsJmsMapMessageImpl(MfpConstants.CONSTRUCTOR_NO_OP); } catch (...
java
public JsJmsMapMessage createJmsMapMessage() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createJmsMapMessage"); JsJmsMapMessage msg = null; try { msg = new JsJmsMapMessageImpl(MfpConstants.CONSTRUCTOR_NO_OP); } catch (...
[ "public", "JsJmsMapMessage", "createJmsMapMessage", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",...
Create a new, empty JMS MapMessage. To be called by the API component. @return The new JsJmsMapMessage @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "JMS", "MapMessage", ".", "To", "be", "called", "by", "the", "API", "component", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsJmsMessageFactoryImpl.java#L84-L97
66,579
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsJmsMessageFactoryImpl.java
JsJmsMessageFactoryImpl.createJmsObjectMessage
public JsJmsObjectMessage createJmsObjectMessage() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createJmsObjectMessage"); JsJmsObjectMessage msg = null; try { msg = new JsJmsObjectMessageImpl(MfpConstants.CONSTRUCTOR_NO_OP); ...
java
public JsJmsObjectMessage createJmsObjectMessage() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createJmsObjectMessage"); JsJmsObjectMessage msg = null; try { msg = new JsJmsObjectMessageImpl(MfpConstants.CONSTRUCTOR_NO_OP); ...
[ "public", "JsJmsObjectMessage", "createJmsObjectMessage", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc"...
Create a new, empty JMS ObjectMessage. To be called by the API component. @return The new JsJmsObjectMessage @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "JMS", "ObjectMessage", ".", "To", "be", "called", "by", "the", "API", "component", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsJmsMessageFactoryImpl.java#L107-L120
66,580
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsJmsMessageFactoryImpl.java
JsJmsMessageFactoryImpl.createJmsStreamMessage
public JsJmsStreamMessage createJmsStreamMessage() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createJmsStreamMessage"); JsJmsStreamMessage msg = null; try { msg = new JsJmsStreamMessageImpl(MfpConstants.CONSTRUCTOR_NO_OP); ...
java
public JsJmsStreamMessage createJmsStreamMessage() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createJmsStreamMessage"); JsJmsStreamMessage msg = null; try { msg = new JsJmsStreamMessageImpl(MfpConstants.CONSTRUCTOR_NO_OP); ...
[ "public", "JsJmsStreamMessage", "createJmsStreamMessage", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc"...
Create a new, empty JMS StreamMessage. To be called by the API component. @return The new JsJmsStreamMessage @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "JMS", "StreamMessage", ".", "To", "be", "called", "by", "the", "API", "component", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsJmsMessageFactoryImpl.java#L130-L143
66,581
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsJmsMessageFactoryImpl.java
JsJmsMessageFactoryImpl.createJmsTextMessage
public JsJmsTextMessage createJmsTextMessage() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createJmsTextMessage"); JsJmsTextMessage msg = null; try { msg = new JsJmsTextMessageImpl(MfpConstants.CONSTRUCTOR_NO_OP); } ca...
java
public JsJmsTextMessage createJmsTextMessage() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createJmsTextMessage"); JsJmsTextMessage msg = null; try { msg = new JsJmsTextMessageImpl(MfpConstants.CONSTRUCTOR_NO_OP); } ca...
[ "public", "JsJmsTextMessage", "createJmsTextMessage", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ...
Create a new, empty JMS TextMessage. To be called by the API component. @return The new JsJmsTextMessage @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "JMS", "TextMessage", ".", "To", "be", "called", "by", "the", "API", "component", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsJmsMessageFactoryImpl.java#L153-L166
66,582
OpenLiberty/open-liberty
dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLReadServiceContext.java
SSLReadServiceContext.saveDecryptedPositions
private void saveDecryptedPositions() { for (int i = 0; i < decryptedNetPosInfo.length; i++) { decryptedNetPosInfo[i] = 0; } if (null != getBuffers()) { WsByteBuffer[] buffers = getBuffers(); if (buffers.length > decryptedNetPosInfo.length) { d...
java
private void saveDecryptedPositions() { for (int i = 0; i < decryptedNetPosInfo.length; i++) { decryptedNetPosInfo[i] = 0; } if (null != getBuffers()) { WsByteBuffer[] buffers = getBuffers(); if (buffers.length > decryptedNetPosInfo.length) { d...
[ "private", "void", "saveDecryptedPositions", "(", ")", "{", "for", "(", "int", "i", "=", "0", ";", "i", "<", "decryptedNetPosInfo", ".", "length", ";", "i", "++", ")", "{", "decryptedNetPosInfo", "[", "i", "]", "=", "0", ";", "}", "if", "(", "null", ...
Save the starting positions of the output buffers so that we can properly calculate the amount of data being returned by the read.
[ "Save", "the", "starting", "positions", "of", "the", "output", "buffers", "so", "that", "we", "can", "properly", "calculate", "the", "amount", "of", "data", "being", "returned", "by", "the", "read", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLReadServiceContext.java#L100-L113
66,583
OpenLiberty/open-liberty
dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLReadServiceContext.java
SSLReadServiceContext.read
@Override public VirtualConnection read(long numBytes, TCPReadCompletedCallback userCallback, boolean forceQueue, int timeout) { // Call the async read with a flag showing this was not done from a queued request. return read(numBytes, userCallback, forceQueue, timeout, false); }
java
@Override public VirtualConnection read(long numBytes, TCPReadCompletedCallback userCallback, boolean forceQueue, int timeout) { // Call the async read with a flag showing this was not done from a queued request. return read(numBytes, userCallback, forceQueue, timeout, false); }
[ "@", "Override", "public", "VirtualConnection", "read", "(", "long", "numBytes", ",", "TCPReadCompletedCallback", "userCallback", ",", "boolean", "forceQueue", ",", "int", "timeout", ")", "{", "// Call the async read with a flag showing this was not done from a queued request."...
Note, a separate thread is not spawned to handle the decryption. The asynchronous behavior of this call will take place when the device side channel makes a nonblocking IO call and the request is potentially moved to a separate thread. The buffers potentially set from the calling application will be used to store the ...
[ "Note", "a", "separate", "thread", "is", "not", "spawned", "to", "handle", "the", "decryption", ".", "The", "asynchronous", "behavior", "of", "this", "call", "will", "take", "place", "when", "the", "device", "side", "channel", "makes", "a", "nonblocking", "I...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLReadServiceContext.java#L359-L363
66,584
OpenLiberty/open-liberty
dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLReadServiceContext.java
SSLReadServiceContext.handleAsyncComplete
private void handleAsyncComplete(boolean forceQueue, TCPReadCompletedCallback inCallback) { boolean fireHere = true; if (forceQueue) { // Complete must be returned on a separate thread. // Reuse queuedWork object (performance), but reset the error parameters. queuedWo...
java
private void handleAsyncComplete(boolean forceQueue, TCPReadCompletedCallback inCallback) { boolean fireHere = true; if (forceQueue) { // Complete must be returned on a separate thread. // Reuse queuedWork object (performance), but reset the error parameters. queuedWo...
[ "private", "void", "handleAsyncComplete", "(", "boolean", "forceQueue", ",", "TCPReadCompletedCallback", "inCallback", ")", "{", "boolean", "fireHere", "=", "true", ";", "if", "(", "forceQueue", ")", "{", "// Complete must be returned on a separate thread.", "// Reuse que...
This method handles calling the complete method of the callback as required by an async read. Appropriate action is taken based on the setting of the forceQueue parameter. If it is true, the complete callback is called on a separate thread. Otherwise it is called right here. @param forceQueue @param inCallback
[ "This", "method", "handles", "calling", "the", "complete", "method", "of", "the", "callback", "as", "required", "by", "an", "async", "read", ".", "Appropriate", "action", "is", "taken", "based", "on", "the", "setting", "of", "the", "forceQueue", "parameter", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLReadServiceContext.java#L576-L600
66,585
OpenLiberty/open-liberty
dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLReadServiceContext.java
SSLReadServiceContext.handleAsyncError
private void handleAsyncError(boolean forceQueue, IOException exception, TCPReadCompletedCallback inCallback) { boolean fireHere = true; if (forceQueue) { // Error must be returned on a separate thread. // Reuse queuedWork object (performance), but reset the error parameters. ...
java
private void handleAsyncError(boolean forceQueue, IOException exception, TCPReadCompletedCallback inCallback) { boolean fireHere = true; if (forceQueue) { // Error must be returned on a separate thread. // Reuse queuedWork object (performance), but reset the error parameters. ...
[ "private", "void", "handleAsyncError", "(", "boolean", "forceQueue", ",", "IOException", "exception", ",", "TCPReadCompletedCallback", "inCallback", ")", "{", "boolean", "fireHere", "=", "true", ";", "if", "(", "forceQueue", ")", "{", "// Error must be returned on a s...
This method handles errors when they occur during the code path of an async read. It takes appropriate action based on the setting of the forceQueue parameter. If it is true, the error callback is called on a separate thread. Otherwise it is called right here. @param forceQueue @param exception @param inCallback
[ "This", "method", "handles", "errors", "when", "they", "occur", "during", "the", "code", "path", "of", "an", "async", "read", ".", "It", "takes", "appropriate", "action", "based", "on", "the", "setting", "of", "the", "forceQueue", "parameter", ".", "If", "...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLReadServiceContext.java#L611-L636
66,586
OpenLiberty/open-liberty
dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLReadServiceContext.java
SSLReadServiceContext.readUnconsumedDecData
public long readUnconsumedDecData() { long totalBytesRead = 0L; // Determine if data is left over from a former read request. if (unconsumedDecData != null) { // Left over data exists. Is there enough to satisfy the request? if (getBuffer() == null) { // ...
java
public long readUnconsumedDecData() { long totalBytesRead = 0L; // Determine if data is left over from a former read request. if (unconsumedDecData != null) { // Left over data exists. Is there enough to satisfy the request? if (getBuffer() == null) { // ...
[ "public", "long", "readUnconsumedDecData", "(", ")", "{", "long", "totalBytesRead", "=", "0L", ";", "// Determine if data is left over from a former read request.", "if", "(", "unconsumedDecData", "!=", "null", ")", "{", "// Left over data exists. Is there enough to satisfy the...
This method is called when a read is requested. It checks to see if any data is left over from the previous read, but there wasn't space in the buffers to store the result. @return number of bytes copied from the left over buffer
[ "This", "method", "is", "called", "when", "a", "read", "is", "requested", ".", "It", "checks", "to", "see", "if", "any", "data", "is", "left", "over", "from", "the", "previous", "read", "but", "there", "wasn", "t", "space", "in", "the", "buffers", "to"...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLReadServiceContext.java#L699-L745
66,587
OpenLiberty/open-liberty
dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLReadServiceContext.java
SSLReadServiceContext.getNetworkBuffer
protected void getNetworkBuffer(long requestedSize) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "getNetworkBuffer: size=" + requestedSize); } // Reset the netBuffer mark. this.netBufferMark = 0; int allocationSize = getConnLink()....
java
protected void getNetworkBuffer(long requestedSize) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "getNetworkBuffer: size=" + requestedSize); } // Reset the netBuffer mark. this.netBufferMark = 0; int allocationSize = getConnLink()....
[ "protected", "void", "getNetworkBuffer", "(", "long", "requestedSize", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", "entry", "(", "tc", ",", "\"getNetworkBuffer...
Get the buffers that the device channel should read into. These buffers get reused over the course of multiple reads. The size of the buffers are determined by either the allocation size specified by the application channel or, if that wasn't set, the max packet buffer size specified in the SSL engine. @param requeste...
[ "Get", "the", "buffers", "that", "the", "device", "channel", "should", "read", "into", ".", "These", "buffers", "get", "reused", "over", "the", "course", "of", "multiple", "reads", ".", "The", "size", "of", "the", "buffers", "are", "determined", "by", "eit...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLReadServiceContext.java#L756-L811
66,588
OpenLiberty/open-liberty
dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLReadServiceContext.java
SSLReadServiceContext.cleanupDecBuffers
private void cleanupDecBuffers() { // if we have decrypted buffers and they are either JIT created or made // during decryption/expansion (user buffers too small) then release them // here and dereference if (null != this.decryptedNetBuffers && (callerRequiredAllocation || de...
java
private void cleanupDecBuffers() { // if we have decrypted buffers and they are either JIT created or made // during decryption/expansion (user buffers too small) then release them // here and dereference if (null != this.decryptedNetBuffers && (callerRequiredAllocation || de...
[ "private", "void", "cleanupDecBuffers", "(", ")", "{", "// if we have decrypted buffers and they are either JIT created or made", "// during decryption/expansion (user buffers too small) then release them", "// here and dereference", "if", "(", "null", "!=", "this", ".", "decryptedNetB...
Utility method to handle releasing the decrypted network buffers that we may or may not own at this point.
[ "Utility", "method", "to", "handle", "releasing", "the", "decrypted", "network", "buffers", "that", "we", "may", "or", "may", "not", "own", "at", "this", "point", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLReadServiceContext.java#L1091-L1100
66,589
OpenLiberty/open-liberty
dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLReadServiceContext.java
SSLReadServiceContext.close
public void close() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "close, vc=" + getVCHash()); } synchronized (closeSync) { if (closeCalled) { return; } closeCalled = true; if (null ...
java
public void close() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "close, vc=" + getVCHash()); } synchronized (closeSync) { if (closeCalled) { return; } closeCalled = true; if (null ...
[ "public", "void", "close", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", "entry", "(", "tc", ",", "\"close, vc=\"", "+", "getVCHash", "(", ")", ")", ...
Release the potential buffer that were created
[ "Release", "the", "potential", "buffer", "that", "were", "created" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLReadServiceContext.java#L1105-L1139
66,590
OpenLiberty/open-liberty
dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLReadServiceContext.java
SSLReadServiceContext.doHandshake
private SSLEngineResult doHandshake(boolean async) throws IOException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "doHandshake"); } SSLEngineResult sslResult; // Line up all the buffers needed for the SSL handshake. Temporary so ...
java
private SSLEngineResult doHandshake(boolean async) throws IOException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "doHandshake"); } SSLEngineResult sslResult; // Line up all the buffers needed for the SSL handshake. Temporary so ...
[ "private", "SSLEngineResult", "doHandshake", "(", "boolean", "async", ")", "throws", "IOException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", "entry", "(", "tc", ...
When data is read, there is always the change the a renegotiation will take place. If so, this method will be called. Note, it is used by both the sync and async writes. @param async @return result of the handshake @throws IOException
[ "When", "data", "is", "read", "there", "is", "always", "the", "change", "the", "a", "renegotiation", "will", "take", "place", ".", "If", "so", "this", "method", "will", "be", "called", ".", "Note", "it", "is", "used", "by", "both", "the", "sync", "and"...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLReadServiceContext.java#L1489-L1543
66,591
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/flow/cdi/FlowScopedContextImpl.java
FlowScopedContextImpl.getContextualStorage
protected ContextualStorage getContextualStorage(boolean createIfNotExist, String clientWindowFlowId) { //FacesContext facesContext = FacesContext.getCurrentInstance(); //String clientWindowFlowId = getCurrentClientWindowFlowId(facesContext); if (clientWindowFlowId == null) { ...
java
protected ContextualStorage getContextualStorage(boolean createIfNotExist, String clientWindowFlowId) { //FacesContext facesContext = FacesContext.getCurrentInstance(); //String clientWindowFlowId = getCurrentClientWindowFlowId(facesContext); if (clientWindowFlowId == null) { ...
[ "protected", "ContextualStorage", "getContextualStorage", "(", "boolean", "createIfNotExist", ",", "String", "clientWindowFlowId", ")", "{", "//FacesContext facesContext = FacesContext.getCurrentInstance();", "//String clientWindowFlowId = getCurrentClientWindowFlowId(facesContext);", "if"...
An implementation has to return the underlying storage which contains the items held in the Context. @param createIfNotExist whether a ContextualStorage shall get created if it doesn't yet exist. @return the underlying storage
[ "An", "implementation", "has", "to", "return", "the", "underlying", "storage", "which", "contains", "the", "items", "held", "in", "the", "Context", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/flow/cdi/FlowScopedContextImpl.java#L125-L142
66,592
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/TCPProxyResponse.java
TCPProxyResponse.proxyReadHandshake
protected void proxyReadHandshake() { // setup the read buffer - use JIT on the first read attempt. If it // works, then any subsequent reads will use that same buffer. connLink.getReadInterface().setJITAllocateSize(1024); // reader.setBuffer(WsByteBufferPoolManagerImpl.getRef().allocat...
java
protected void proxyReadHandshake() { // setup the read buffer - use JIT on the first read attempt. If it // works, then any subsequent reads will use that same buffer. connLink.getReadInterface().setJITAllocateSize(1024); // reader.setBuffer(WsByteBufferPoolManagerImpl.getRef().allocat...
[ "protected", "void", "proxyReadHandshake", "(", ")", "{", "// setup the read buffer - use JIT on the first read attempt. If it", "// works, then any subsequent reads will use that same buffer.", "connLink", ".", "getReadInterface", "(", ")", ".", "setJITAllocateSize", "(", "1024", ...
Complete the proxy connect handshake by reading for the response and validating any data.
[ "Complete", "the", "proxy", "connect", "handshake", "by", "reading", "for", "the", "response", "and", "validating", "any", "data", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/TCPProxyResponse.java#L96-L126
66,593
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/TCPProxyResponse.java
TCPProxyResponse.checkResponse
protected int checkResponse(TCPReadRequestContext rsc) { // Parse the proxy server response // WsByteBuffer[] buffers = rsc.getBuffers(); // check if the correct response was received if (null == buffers) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnable...
java
protected int checkResponse(TCPReadRequestContext rsc) { // Parse the proxy server response // WsByteBuffer[] buffers = rsc.getBuffers(); // check if the correct response was received if (null == buffers) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnable...
[ "protected", "int", "checkResponse", "(", "TCPReadRequestContext", "rsc", ")", "{", "// Parse the proxy server response", "//", "WsByteBuffer", "[", "]", "buffers", "=", "rsc", ".", "getBuffers", "(", ")", ";", "// check if the correct response was received", "if", "(",...
Check for a proxy handshake response. @param rsc @return int (status code)
[ "Check", "for", "a", "proxy", "handshake", "response", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/TCPProxyResponse.java#L134-L151
66,594
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/TCPProxyResponse.java
TCPProxyResponse.releaseProxyWriteBuffer
protected void releaseProxyWriteBuffer() { WsByteBuffer buffer = connLink.getWriteInterface().getBuffer(); if (null != buffer) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "Releasing proxy write buffer: " + buffer); } ...
java
protected void releaseProxyWriteBuffer() { WsByteBuffer buffer = connLink.getWriteInterface().getBuffer(); if (null != buffer) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "Releasing proxy write buffer: " + buffer); } ...
[ "protected", "void", "releaseProxyWriteBuffer", "(", ")", "{", "WsByteBuffer", "buffer", "=", "connLink", ".", "getWriteInterface", "(", ")", ".", "getBuffer", "(", ")", ";", "if", "(", "null", "!=", "buffer", ")", "{", "if", "(", "TraceComponent", ".", "i...
Release the proxy connect write buffer.
[ "Release", "the", "proxy", "connect", "write", "buffer", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/TCPProxyResponse.java#L181-L190
66,595
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/TCPProxyResponse.java
TCPProxyResponse.releaseProxyReadBuffer
protected void releaseProxyReadBuffer() { WsByteBuffer buffer = connLink.getReadInterface().getBuffer(); if (null != buffer) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "Releasing proxy read buffer: " + buffer); } ...
java
protected void releaseProxyReadBuffer() { WsByteBuffer buffer = connLink.getReadInterface().getBuffer(); if (null != buffer) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "Releasing proxy read buffer: " + buffer); } ...
[ "protected", "void", "releaseProxyReadBuffer", "(", ")", "{", "WsByteBuffer", "buffer", "=", "connLink", ".", "getReadInterface", "(", ")", ".", "getBuffer", "(", ")", ";", "if", "(", "null", "!=", "buffer", ")", "{", "if", "(", "TraceComponent", ".", "isA...
Release the proxy connect read buffer.
[ "Release", "the", "proxy", "connect", "read", "buffer", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/TCPProxyResponse.java#L195-L204
66,596
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/TCPProxyResponse.java
TCPProxyResponse.containsHTTP200
protected boolean containsHTTP200(byte[] data) { boolean rc = true; // byte comparison to check for HTTP and 200 in the response // this code is not pretty, it is designed to be fast // code assumes that HTTP/1.0 200 will be contained in one buffer // if (data.length < ...
java
protected boolean containsHTTP200(byte[] data) { boolean rc = true; // byte comparison to check for HTTP and 200 in the response // this code is not pretty, it is designed to be fast // code assumes that HTTP/1.0 200 will be contained in one buffer // if (data.length < ...
[ "protected", "boolean", "containsHTTP200", "(", "byte", "[", "]", "data", ")", "{", "boolean", "rc", "=", "true", ";", "// byte comparison to check for HTTP and 200 in the response", "// this code is not pretty, it is designed to be fast", "// code assumes that HTTP/1.0 200 will be...
Checks if the byte array contains "HTTP 200" in a byte array. @param data search byte array @return true if found; false if not
[ "Checks", "if", "the", "byte", "array", "contains", "HTTP", "200", "in", "a", "byte", "array", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/TCPProxyResponse.java#L340-L356
66,597
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/TCPProxyResponse.java
TCPProxyResponse.readProxyResponse
protected void readProxyResponse(VirtualConnection inVC) { int size = 1; if (!this.isProxyResponseValid) { // we need at least 12 bytes for the first line size = 12; } if (connLink.isAsyncConnect()) { VirtualConnection vcRC = connLink.getReadInterface...
java
protected void readProxyResponse(VirtualConnection inVC) { int size = 1; if (!this.isProxyResponseValid) { // we need at least 12 bytes for the first line size = 12; } if (connLink.isAsyncConnect()) { VirtualConnection vcRC = connLink.getReadInterface...
[ "protected", "void", "readProxyResponse", "(", "VirtualConnection", "inVC", ")", "{", "int", "size", "=", "1", ";", "if", "(", "!", "this", ".", "isProxyResponseValid", ")", "{", "// we need at least 12 bytes for the first line", "size", "=", "12", ";", "}", "if...
Start a read for the response from the target proxy, this is either the first read or possibly secondary ones if necessary. @param inVC
[ "Start", "a", "read", "for", "the", "response", "from", "the", "target", "proxy", "this", "is", "either", "the", "first", "read", "or", "possibly", "secondary", "ones", "if", "necessary", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/TCPProxyResponse.java#L516-L540
66,598
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/BaseMessageItemStream.java
BaseMessageItemStream.setDefaultDestLimits
public synchronized void setDefaultDestLimits() throws MessageStoreException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setDefaultDestLimits"); // Defaults are based on those defined to the ME, the low is 80% of the high // Use setDestLim...
java
public synchronized void setDefaultDestLimits() throws MessageStoreException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setDefaultDestLimits"); // Defaults are based on those defined to the ME, the low is 80% of the high // Use setDestLim...
[ "public", "synchronized", "void", "setDefaultDestLimits", "(", ")", "throws", "MessageStoreException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", "...
Set the default limits for this itemstream
[ "Set", "the", "default", "limits", "for", "this", "itemstream" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/BaseMessageItemStream.java#L142-L155
66,599
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/BaseMessageItemStream.java
BaseMessageItemStream.getDestHighMsgs
public long getDestHighMsgs() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getDestHighMsgs"); SibTr.exit(tc, "getDestHighMsgs", Long.valueOf(_destHighMsgs)); } return _destHighMsgs; }
java
public long getDestHighMsgs() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getDestHighMsgs"); SibTr.exit(tc, "getDestHighMsgs", Long.valueOf(_destHighMsgs)); } return _destHighMsgs; }
[ "public", "long", "getDestHighMsgs", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getDestHighMsgs\"", ")", ";", "SibTr", ...
Gets the destination high messages limit currently being used by this localization. @return
[ "Gets", "the", "destination", "high", "messages", "limit", "currently", "being", "used", "by", "this", "localization", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/BaseMessageItemStream.java#L162-L170