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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
69,500 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConnectionWriteCompletedCallback.java | ConnectionWriteCompletedCallback.notifyReadySendListeners | private void notifyReadySendListeners(BlockingQueue<Pair<SendListener, Conversation>> readySendCallbacks) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "notifyReadySendListeners", readySendCallbacks);
try {
for (Pair<SendListener, Conversation> callback : ... | java | private void notifyReadySendListeners(BlockingQueue<Pair<SendListener, Conversation>> readySendCallbacks) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "notifyReadySendListeners", readySendCallbacks);
try {
for (Pair<SendListener, Conversation> callback : ... | [
"private",
"void",
"notifyReadySendListeners",
"(",
"BlockingQueue",
"<",
"Pair",
"<",
"SendListener",
",",
"Conversation",
">",
">",
"readySendCallbacks",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnable... | Call send listener callback for each entry in the given queue.
Any exception thrown from a listener's callback will cause the connection to be invalidated.
@param readySendCallbacks | [
"Call",
"send",
"listener",
"callback",
"for",
"each",
"entry",
"in",
"the",
"given",
"queue",
".",
"Any",
"exception",
"thrown",
"from",
"a",
"listener",
"s",
"callback",
"will",
"cause",
"the",
"connection",
"to",
"be",
"invalidated",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConnectionWriteCompletedCallback.java#L270-L285 |
69,501 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConnectionWriteCompletedCallback.java | ConnectionWriteCompletedCallback.switchToIdle | private boolean switchToIdle() throws SIConnectionDroppedException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "switchToIdle");
final boolean noMoreWork;
synchronized (priorityQueue) {
synchronized (this) {
noMoreWork = !isWorkAvailable... | java | private boolean switchToIdle() throws SIConnectionDroppedException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "switchToIdle");
final boolean noMoreWork;
synchronized (priorityQueue) {
synchronized (this) {
noMoreWork = !isWorkAvailable... | [
"private",
"boolean",
"switchToIdle",
"(",
")",
"throws",
"SIConnectionDroppedException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
... | Switch the 'idle' flag back to 'true', provided that there is no work available.
@return true iff 'idle' was set to 'true'; false iff there is now work available.
@throws SIConnectionDroppedException | [
"Switch",
"the",
"idle",
"flag",
"back",
"to",
"true",
"provided",
"that",
"there",
"is",
"no",
"work",
"available",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConnectionWriteCompletedCallback.java#L292-L303 |
69,502 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConnectionWriteCompletedCallback.java | ConnectionWriteCompletedCallback.getWriteContextBuffer | private WsByteBuffer getWriteContextBuffer() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getWriteContextBuffer");
WsByteBuffer writeBuffer = getSoleWriteContextBuffer();
if (firstInvocation.compareAndSet(true, false) || (writeBuffer == null)) {
f... | java | private WsByteBuffer getWriteContextBuffer() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getWriteContextBuffer");
WsByteBuffer writeBuffer = getSoleWriteContextBuffer();
if (firstInvocation.compareAndSet(true, false) || (writeBuffer == null)) {
f... | [
"private",
"WsByteBuffer",
"getWriteContextBuffer",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"getWriteContextBuffer... | Returns the single WsByteBuffer set in 'writeCtx', ensuring that it is a direct byte buffer and is of
sufficient capacity.
@return the (single, non-null) byte buffer set in 'writeCtx'. | [
"Returns",
"the",
"single",
"WsByteBuffer",
"set",
"in",
"writeCtx",
"ensuring",
"that",
"it",
"is",
"a",
"direct",
"byte",
"buffer",
"and",
"is",
"of",
"sufficient",
"capacity",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConnectionWriteCompletedCallback.java#L310-L331 |
69,503 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConnectionWriteCompletedCallback.java | ConnectionWriteCompletedCallback.getSoleWriteContextBuffer | private WsByteBuffer getSoleWriteContextBuffer() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getSoleWriteContextBuffer");
WsByteBuffer writeBuffer = null;
final WsByteBuffer[] writeBuffers = writeCtx.getBuffers();
if (writeBuffers != null) {
... | java | private WsByteBuffer getSoleWriteContextBuffer() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getSoleWriteContextBuffer");
WsByteBuffer writeBuffer = null;
final WsByteBuffer[] writeBuffers = writeCtx.getBuffers();
if (writeBuffers != null) {
... | [
"private",
"WsByteBuffer",
"getSoleWriteContextBuffer",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"getSoleWriteConte... | Returns the first WsByteBuffer set in 'writeCtx', ensuring that it is the sole byte buffer set in 'writeCtx', and
releasing any other byte buffers that had been registered there.
@return the sole byte buffer set in 'writeCtx'; maybe null if there is no such byte buffer. | [
"Returns",
"the",
"first",
"WsByteBuffer",
"set",
"in",
"writeCtx",
"ensuring",
"that",
"it",
"is",
"the",
"sole",
"byte",
"buffer",
"set",
"in",
"writeCtx",
"and",
"releasing",
"any",
"other",
"byte",
"buffers",
"that",
"had",
"been",
"registered",
"there",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConnectionWriteCompletedCallback.java#L338-L356 |
69,504 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConnectionWriteCompletedCallback.java | ConnectionWriteCompletedCallback.physicalCloseNotification | protected void physicalCloseNotification() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "physicalCloseNotification");
synchronized(connectionClosedLock) {
connectionClosed = true;
}
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled... | java | protected void physicalCloseNotification() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "physicalCloseNotification");
synchronized(connectionClosedLock) {
connectionClosed = true;
}
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled... | [
"protected",
"void",
"physicalCloseNotification",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"physicalCloseNotificati... | Register notification that the physical underlying connection has been closed. | [
"Register",
"notification",
"that",
"the",
"physical",
"underlying",
"connection",
"has",
"been",
"closed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConnectionWriteCompletedCallback.java#L427-L433 |
69,505 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConnectionWriteCompletedCallback.java | ConnectionWriteCompletedCallback.isWorkAvailable | private boolean isWorkAvailable() throws SIConnectionDroppedException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "isWorkAvailable");
final boolean isWork;
if (terminate) {
isWork = false;
} else {
isWork = (partiallySentTransmission... | java | private boolean isWorkAvailable() throws SIConnectionDroppedException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "isWorkAvailable");
final boolean isWork;
if (terminate) {
isWork = false;
} else {
isWork = (partiallySentTransmission... | [
"private",
"boolean",
"isWorkAvailable",
"(",
")",
"throws",
"SIConnectionDroppedException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc"... | Returns true iff there is more work available to be processed.
@return true iff there is more work available to be processed.
@throws SIConnectionDroppedException | [
"Returns",
"true",
"iff",
"there",
"is",
"more",
"work",
"available",
"to",
"be",
"processed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConnectionWriteCompletedCallback.java#L501-L511 |
69,506 | OpenLiberty/open-liberty | dev/com.ibm.ws.javaee.7.0_fat/fat/src/com/ibm/ws/javaee/v70/fat/FATServerHelper.java | FATServerHelper.addWarToServer | public static boolean addWarToServer(
LibertyServer targetServer, String targetDir,
String warName, String[] warPackageNames, boolean addWarResources) throws Exception {
String earName = null;
boolean addEarResources = DO_NOT_ADD_RESOURCES;
String jarName = null;
boolea... | java | public static boolean addWarToServer(
LibertyServer targetServer, String targetDir,
String warName, String[] warPackageNames, boolean addWarResources) throws Exception {
String earName = null;
boolean addEarResources = DO_NOT_ADD_RESOURCES;
String jarName = null;
boolea... | [
"public",
"static",
"boolean",
"addWarToServer",
"(",
"LibertyServer",
"targetServer",
",",
"String",
"targetDir",
",",
"String",
"warName",
",",
"String",
"[",
"]",
"warPackageNames",
",",
"boolean",
"addWarResources",
")",
"throws",
"Exception",
"{",
"String",
"... | Package a WAR and add it to a server.
The rules of {@link #addToServer} are followed, using a null
EAR name and a null JAR name.
@param targetServer The server to which to add the EAR or WAR.
@param targetDir The directory of the server in which to place
the EAR or WAR.
@param warName The name of the WAR which is to ... | [
"Package",
"a",
"WAR",
"and",
"add",
"it",
"to",
"a",
"server",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.javaee.7.0_fat/fat/src/com/ibm/ws/javaee/v70/fat/FATServerHelper.java#L47-L63 |
69,507 | OpenLiberty/open-liberty | dev/com.ibm.ws.javaee.7.0_fat/fat/src/com/ibm/ws/javaee/v70/fat/FATServerHelper.java | FATServerHelper.addToServer | public static boolean addToServer(
LibertyServer targetServer, String targetDir,
String earName, boolean addEarResources,
String warName, String[] warPackageNames, boolean addWarResources,
String jarName, String[] jarPackageNames, boolean addJarResources) throws Exception {
if (... | java | public static boolean addToServer(
LibertyServer targetServer, String targetDir,
String earName, boolean addEarResources,
String warName, String[] warPackageNames, boolean addWarResources,
String jarName, String[] jarPackageNames, boolean addJarResources) throws Exception {
if (... | [
"public",
"static",
"boolean",
"addToServer",
"(",
"LibertyServer",
"targetServer",
",",
"String",
"targetDir",
",",
"String",
"earName",
",",
"boolean",
"addEarResources",
",",
"String",
"warName",
",",
"String",
"[",
"]",
"warPackageNames",
",",
"boolean",
"addW... | Conditionally, package a JAR, WAR, and EAR and add them to a
server.
Most often, the target directory is one of the standard server
folders for applications, {@link #DROPINS_DIR} or {@link #APPS_DIR}.
A WAR is always created. The WAR name parameter cannot be null.
A JAR and an EAR are not always created.
When the ... | [
"Conditionally",
"package",
"a",
"JAR",
"WAR",
"and",
"EAR",
"and",
"add",
"them",
"to",
"a",
"server",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.javaee.7.0_fat/fat/src/com/ibm/ws/javaee/v70/fat/FATServerHelper.java#L158-L200 |
69,508 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/config/annotation/_ClassByteCodeAnnotationFilter.java | _ClassByteCodeAnnotationFilter.couldContainAnnotationsOnClassDef | public boolean couldContainAnnotationsOnClassDef(DataInput in,
Set<String> byteCodeAnnotationsNames)
throws IOException
{
/* According to Java VM Spec, each .class file contains
* a single class or interface definition. The structure
* definition is shown below:
Cl... | java | public boolean couldContainAnnotationsOnClassDef(DataInput in,
Set<String> byteCodeAnnotationsNames)
throws IOException
{
/* According to Java VM Spec, each .class file contains
* a single class or interface definition. The structure
* definition is shown below:
Cl... | [
"public",
"boolean",
"couldContainAnnotationsOnClassDef",
"(",
"DataInput",
"in",
",",
"Set",
"<",
"String",
">",
"byteCodeAnnotationsNames",
")",
"throws",
"IOException",
"{",
"/* According to Java VM Spec, each .class file contains\n * a single class or interface definition... | Checks if the .class file referenced by the DataInput could
contain the annotation names available in the set.
@param in
@param byteCodeAnnotationsNames
@return
@throws IOException | [
"Checks",
"if",
"the",
".",
"class",
"file",
"referenced",
"by",
"the",
"DataInput",
"could",
"contain",
"the",
"annotation",
"names",
"available",
"in",
"the",
"set",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/config/annotation/_ClassByteCodeAnnotationFilter.java#L66-L211 |
69,509 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java | ThreadContext.getProperties | public Properties getProperties() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getProperties");
return this.sslProperties;
} | java | public Properties getProperties() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getProperties");
return this.sslProperties;
} | [
"public",
"Properties",
"getProperties",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"getProperties\"",
")",
";",
"return",
"this"... | Access the current properties for this context.
@return Properties - null if not set | [
"Access",
"the",
"current",
"properties",
"for",
"this",
"context",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java#L56-L60 |
69,510 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java | ThreadContext.setProperties | public void setProperties(Properties sslProps) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "setProperties");
this.sslProperties = sslProps;
} | java | public void setProperties(Properties sslProps) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "setProperties");
this.sslProperties = sslProps;
} | [
"public",
"void",
"setProperties",
"(",
"Properties",
"sslProps",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"setProperties\"",
")",
"... | Set the properties for this thread context.
@param sslProps | [
"Set",
"the",
"properties",
"for",
"this",
"thread",
"context",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java#L67-L71 |
69,511 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java | ThreadContext.getSetSignerOnThread | public boolean getSetSignerOnThread() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getSetSignerOnThread: " + this.setSignerOnThread);
return this.setSignerOnThread;
} | java | public boolean getSetSignerOnThread() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getSetSignerOnThread: " + this.setSignerOnThread);
return this.setSignerOnThread;
} | [
"public",
"boolean",
"getSetSignerOnThread",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"getSetSignerOnThread: \"",
"+",
"this",
".... | Query whether the signer flag is set on this context.
@return boolean | [
"Query",
"whether",
"the",
"signer",
"flag",
"is",
"set",
"on",
"this",
"context",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java#L78-L82 |
69,512 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java | ThreadContext.getAutoAcceptBootstrapSigner | public boolean getAutoAcceptBootstrapSigner() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getAutoAcceptBootstrapSigner: " + this.autoAcceptBootstrapSigner);
return this.autoAcceptBootstrapSigner;
} | java | public boolean getAutoAcceptBootstrapSigner() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getAutoAcceptBootstrapSigner: " + this.autoAcceptBootstrapSigner);
return this.autoAcceptBootstrapSigner;
} | [
"public",
"boolean",
"getAutoAcceptBootstrapSigner",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"getAutoAcceptBootstrapSigner: \"",
"+"... | Query whether the autoaccept bootstrap signer flag is set on this context.
@return boolean | [
"Query",
"whether",
"the",
"autoaccept",
"bootstrap",
"signer",
"flag",
"is",
"set",
"on",
"this",
"context",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java#L89-L93 |
69,513 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java | ThreadContext.getInboundConnectionInfo | public Map<String, Object> getInboundConnectionInfo() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getInboundConnectionInfo");
return this.inboundConnectionInfo;
} | java | public Map<String, Object> getInboundConnectionInfo() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getInboundConnectionInfo");
return this.inboundConnectionInfo;
} | [
"public",
"Map",
"<",
"String",
",",
"Object",
">",
"getInboundConnectionInfo",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"get... | Access the inbound connection info object for this context.
@return Map<String,Object> - null if not set | [
"Access",
"the",
"inbound",
"connection",
"info",
"object",
"for",
"this",
"context",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java#L100-L104 |
69,514 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java | ThreadContext.setAutoAcceptBootstrapSigner | public void setAutoAcceptBootstrapSigner(boolean flag) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "setAutoAcceptBootstrapSigner -> " + flag);
this.autoAcceptBootstrapSigner = flag;
} | java | public void setAutoAcceptBootstrapSigner(boolean flag) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "setAutoAcceptBootstrapSigner -> " + flag);
this.autoAcceptBootstrapSigner = flag;
} | [
"public",
"void",
"setAutoAcceptBootstrapSigner",
"(",
"boolean",
"flag",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"setAutoAcceptBootstr... | Set the autoaccept bootstrap signer flag on this context to the input
value.
@param flag | [
"Set",
"the",
"autoaccept",
"bootstrap",
"signer",
"flag",
"on",
"this",
"context",
"to",
"the",
"input",
"value",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java#L112-L116 |
69,515 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java | ThreadContext.getAutoAcceptBootstrapSignerWithoutStorage | public boolean getAutoAcceptBootstrapSignerWithoutStorage() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getAutoAcceptBootstrapSignerWithoutStorage: " + this.autoAcceptBootstrapSignerWithoutStorage);
return this.autoAcceptBootstrapSignerWithoutStorage;
... | java | public boolean getAutoAcceptBootstrapSignerWithoutStorage() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getAutoAcceptBootstrapSignerWithoutStorage: " + this.autoAcceptBootstrapSignerWithoutStorage);
return this.autoAcceptBootstrapSignerWithoutStorage;
... | [
"public",
"boolean",
"getAutoAcceptBootstrapSignerWithoutStorage",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"getAutoAcceptBootstrapSign... | Query whether the autoaccept bootstrap signer without storage flag is set
on this context.
@return boolean | [
"Query",
"whether",
"the",
"autoaccept",
"bootstrap",
"signer",
"without",
"storage",
"flag",
"is",
"set",
"on",
"this",
"context",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java#L124-L128 |
69,516 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java | ThreadContext.setAutoAcceptBootstrapSignerWithoutStorage | public void setAutoAcceptBootstrapSignerWithoutStorage(boolean flag) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "setAutoAcceptBootstrapSignerWithoutStorage -> " + flag);
this.autoAcceptBootstrapSignerWithoutStorage = flag;
} | java | public void setAutoAcceptBootstrapSignerWithoutStorage(boolean flag) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "setAutoAcceptBootstrapSignerWithoutStorage -> " + flag);
this.autoAcceptBootstrapSignerWithoutStorage = flag;
} | [
"public",
"void",
"setAutoAcceptBootstrapSignerWithoutStorage",
"(",
"boolean",
"flag",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"setAut... | Set the autoaccept bootstrap signer without storage flag to the input
value.
@param flag | [
"Set",
"the",
"autoaccept",
"bootstrap",
"signer",
"without",
"storage",
"flag",
"to",
"the",
"input",
"value",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java#L136-L140 |
69,517 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java | ThreadContext.setSetSignerOnThread | public void setSetSignerOnThread(boolean flag) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "setSetSignerOnThread: " + flag);
this.setSignerOnThread = flag;
} | java | public void setSetSignerOnThread(boolean flag) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "setSetSignerOnThread: " + flag);
this.setSignerOnThread = flag;
} | [
"public",
"void",
"setSetSignerOnThread",
"(",
"boolean",
"flag",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"setSetSignerOnThread: \"",
... | Set the signer flag on this context to the input value.
@param flag | [
"Set",
"the",
"signer",
"flag",
"on",
"this",
"context",
"to",
"the",
"input",
"value",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java#L147-L151 |
69,518 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java | ThreadContext.getSignerChain | public X509Certificate[] getSignerChain() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getSignerChain");
return signer == null ? null : signer.clone();
} | java | public X509Certificate[] getSignerChain() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getSignerChain");
return signer == null ? null : signer.clone();
} | [
"public",
"X509Certificate",
"[",
"]",
"getSignerChain",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"getSignerChain\"",
")",
";",... | Query the signer chain set on this context.
@return X509Certificate[] - null if not set | [
"Query",
"the",
"signer",
"chain",
"set",
"on",
"this",
"context",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java#L158-L162 |
69,519 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java | ThreadContext.setSignerChain | public void setSignerChain(X509Certificate[] signerChain) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "setSignerChain");
this.signer = signerChain == null ? null : signerChain.clone();
} | java | public void setSignerChain(X509Certificate[] signerChain) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "setSignerChain");
this.signer = signerChain == null ? null : signerChain.clone();
} | [
"public",
"void",
"setSignerChain",
"(",
"X509Certificate",
"[",
"]",
"signerChain",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"setSi... | Set the signer chain on this context to the input value.
@param signerChain | [
"Set",
"the",
"signer",
"chain",
"on",
"this",
"context",
"to",
"the",
"input",
"value",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java#L169-L173 |
69,520 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java | ThreadContext.setInboundConnectionInfo | public void setInboundConnectionInfo(Map<String, Object> connectionInfo) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "setInboundConnectionInfo");
this.inboundConnectionInfo = connectionInfo;
} | java | public void setInboundConnectionInfo(Map<String, Object> connectionInfo) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "setInboundConnectionInfo");
this.inboundConnectionInfo = connectionInfo;
} | [
"public",
"void",
"setInboundConnectionInfo",
"(",
"Map",
"<",
"String",
",",
"Object",
">",
"connectionInfo",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
... | Set the inbound connection info on this context to the input value.
@param connectionInfo | [
"Set",
"the",
"inbound",
"connection",
"info",
"on",
"this",
"context",
"to",
"the",
"input",
"value",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java#L180-L184 |
69,521 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java | ThreadContext.getOutboundConnectionInfo | public Map<String, Object> getOutboundConnectionInfo() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getOutboundConnectionInfo");
return this.outboundConnectionInfo;
} | java | public Map<String, Object> getOutboundConnectionInfo() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getOutboundConnectionInfo");
return this.outboundConnectionInfo;
} | [
"public",
"Map",
"<",
"String",
",",
"Object",
">",
"getOutboundConnectionInfo",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"ge... | Query the outbound connection info map of this context.
@return Map<String,Object> - null if not set | [
"Query",
"the",
"outbound",
"connection",
"info",
"map",
"of",
"this",
"context",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java#L191-L195 |
69,522 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java | ThreadContext.setOutboundConnectionInfo | public void setOutboundConnectionInfo(Map<String, Object> connectionInfo) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "setOutboundConnectionInfo");
this.outboundConnectionInfo = connectionInfo;
} | java | public void setOutboundConnectionInfo(Map<String, Object> connectionInfo) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "setOutboundConnectionInfo");
this.outboundConnectionInfo = connectionInfo;
} | [
"public",
"void",
"setOutboundConnectionInfo",
"(",
"Map",
"<",
"String",
",",
"Object",
">",
"connectionInfo",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",... | Set the outbound connection info of this context to the input value.
@param connectionInfo | [
"Set",
"the",
"outbound",
"connection",
"info",
"of",
"this",
"context",
"to",
"the",
"input",
"value",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java#L202-L206 |
69,523 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java | ThreadContext.getOutboundConnectionInfoInternal | public Map<String, Object> getOutboundConnectionInfoInternal() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getOutboundConnectionInfoInternal");
return this.outboundConnectionInfoInternal;
} | java | public Map<String, Object> getOutboundConnectionInfoInternal() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getOutboundConnectionInfoInternal");
return this.outboundConnectionInfoInternal;
} | [
"public",
"Map",
"<",
"String",
",",
"Object",
">",
"getOutboundConnectionInfoInternal",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",... | Get the internal outbound connection info object for this context.
@return Map<String,Object> - null if not set | [
"Get",
"the",
"internal",
"outbound",
"connection",
"info",
"object",
"for",
"this",
"context",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java#L213-L217 |
69,524 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java | ThreadContext.setOutboundConnectionInfoInternal | public void setOutboundConnectionInfoInternal(Map<String, Object> connectionInfo) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "setOutboundConnectionInfoInternal :" + connectionInfo);
this.outboundConnectionInfoInternal = connectionInfo;
} | java | public void setOutboundConnectionInfoInternal(Map<String, Object> connectionInfo) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "setOutboundConnectionInfoInternal :" + connectionInfo);
this.outboundConnectionInfoInternal = connectionInfo;
} | [
"public",
"void",
"setOutboundConnectionInfoInternal",
"(",
"Map",
"<",
"String",
",",
"Object",
">",
"connectionInfo",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
... | Set the internal outbound connection info object for this context.
@param connectionInfo | [
"Set",
"the",
"internal",
"outbound",
"connection",
"info",
"object",
"for",
"this",
"context",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadContext.java#L224-L228 |
69,525 | OpenLiberty/open-liberty | dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/services/impl/AbstractPersistenceManager.java | AbstractPersistenceManager.serializeObject | protected byte[] serializeObject(Serializable theObject) throws IOException {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
ObjectOutputStream oout = new ObjectOutputStream(baos);
oout.writeObject(theObject);
byte[] data = baos.toByteArray();
baos.close();
oo... | java | protected byte[] serializeObject(Serializable theObject) throws IOException {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
ObjectOutputStream oout = new ObjectOutputStream(baos);
oout.writeObject(theObject);
byte[] data = baos.toByteArray();
baos.close();
oo... | [
"protected",
"byte",
"[",
"]",
"serializeObject",
"(",
"Serializable",
"theObject",
")",
"throws",
"IOException",
"{",
"ByteArrayOutputStream",
"baos",
"=",
"new",
"ByteArrayOutputStream",
"(",
")",
";",
"ObjectOutputStream",
"oout",
"=",
"new",
"ObjectOutputStream",
... | This method is used to serialized an object saved into a table BLOB field.
@param theObject the object to be serialized
@return a object byte array
@throws IOException | [
"This",
"method",
"is",
"used",
"to",
"serialized",
"an",
"object",
"saved",
"into",
"a",
"table",
"BLOB",
"field",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/services/impl/AbstractPersistenceManager.java#L278-L288 |
69,526 | OpenLiberty/open-liberty | dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/JPAPuId.java | JPAPuId.setPuName | public void setPuName(String puName)
{
// re-initialize puName only if it has not been set to avoid
// overriding valid relative puName defined in annotation/dd.
if (ivPuName == null || ivPuName.length() == 0) // d442457
{
ivPuName = puName;
reComputeHashCod... | java | public void setPuName(String puName)
{
// re-initialize puName only if it has not been set to avoid
// overriding valid relative puName defined in annotation/dd.
if (ivPuName == null || ivPuName.length() == 0) // d442457
{
ivPuName = puName;
reComputeHashCod... | [
"public",
"void",
"setPuName",
"(",
"String",
"puName",
")",
"{",
"// re-initialize puName only if it has not been set to avoid",
"// overriding valid relative puName defined in annotation/dd.",
"if",
"(",
"ivPuName",
"==",
"null",
"||",
"ivPuName",
".",
"length",
"(",
")",... | Persistence unit name setter. | [
"Persistence",
"unit",
"name",
"setter",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/JPAPuId.java#L78-L87 |
69,527 | OpenLiberty/open-liberty | dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/JPAPuId.java | JPAPuId.reComputeHashCode | private void reComputeHashCode()
{
ivCurHashCode = (ivAppName != null ? ivAppName.hashCode() : 0) // d437828
+ (ivModJarName != null ? ivModJarName.hashCode() : 0)
+ (ivPuName != null ? ivPuName.hashCode() : 0);
} | java | private void reComputeHashCode()
{
ivCurHashCode = (ivAppName != null ? ivAppName.hashCode() : 0) // d437828
+ (ivModJarName != null ? ivModJarName.hashCode() : 0)
+ (ivPuName != null ? ivPuName.hashCode() : 0);
} | [
"private",
"void",
"reComputeHashCode",
"(",
")",
"{",
"ivCurHashCode",
"=",
"(",
"ivAppName",
"!=",
"null",
"?",
"ivAppName",
".",
"hashCode",
"(",
")",
":",
"0",
")",
"// d437828",
"+",
"(",
"ivModJarName",
"!=",
"null",
"?",
"ivModJarName",
".",
"hashCo... | Compute and cache the current hashCode. | [
"Compute",
"and",
"cache",
"the",
"current",
"hashCode",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/JPAPuId.java#L129-L134 |
69,528 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChannelDataImpl.java | ChannelDataImpl.createChild | public ChildChannelDataImpl createChild() {
String childName = this.name + CHILD_STRING + nextChildId();
ChildChannelDataImpl child = new ChildChannelDataImpl(childName, this);
this.children.add(child);
return child;
} | java | public ChildChannelDataImpl createChild() {
String childName = this.name + CHILD_STRING + nextChildId();
ChildChannelDataImpl child = new ChildChannelDataImpl(childName, this);
this.children.add(child);
return child;
} | [
"public",
"ChildChannelDataImpl",
"createChild",
"(",
")",
"{",
"String",
"childName",
"=",
"this",
".",
"name",
"+",
"CHILD_STRING",
"+",
"nextChildId",
"(",
")",
";",
"ChildChannelDataImpl",
"child",
"=",
"new",
"ChildChannelDataImpl",
"(",
"childName",
",",
"... | Create a child data object. Add it to the list of children and return it.
@return child channel data object | [
"Create",
"a",
"child",
"data",
"object",
".",
"Add",
"it",
"to",
"the",
"list",
"of",
"children",
"and",
"return",
"it",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChannelDataImpl.java#L229-L234 |
69,529 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/ReadableLogRecord.java | ReadableLogRecord.read | private static ReadableLogRecord read(ByteBuffer viewBuffer, long expectedSequenceNumber, ByteBuffer sourceBuffer)
{
ReadableLogRecord logRecord = null;
int absolutePosition = sourceBuffer.position() + viewBuffer.position();
// Read the record magic number field.
final byte[] magicNumberBuffer = ... | java | private static ReadableLogRecord read(ByteBuffer viewBuffer, long expectedSequenceNumber, ByteBuffer sourceBuffer)
{
ReadableLogRecord logRecord = null;
int absolutePosition = sourceBuffer.position() + viewBuffer.position();
// Read the record magic number field.
final byte[] magicNumberBuffer = ... | [
"private",
"static",
"ReadableLogRecord",
"read",
"(",
"ByteBuffer",
"viewBuffer",
",",
"long",
"expectedSequenceNumber",
",",
"ByteBuffer",
"sourceBuffer",
")",
"{",
"ReadableLogRecord",
"logRecord",
"=",
"null",
";",
"int",
"absolutePosition",
"=",
"sourceBuffer",
"... | careful with trace in this method as it is called many times from doByteByByteScanning | [
"careful",
"with",
"trace",
"in",
"this",
"method",
"as",
"it",
"is",
"called",
"many",
"times",
"from",
"doByteByByteScanning"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/ReadableLogRecord.java#L87-L141 |
69,530 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/ReadableLogRecord.java | ReadableLogRecord.doByteByByteScanning | private static ReadableLogRecord doByteByByteScanning(ByteBuffer sourceBuffer, long expectedSequenceNumber)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "doByteByByteScanning", new Object[] {sourceBuffer, new Long(expectedSequenceNumber)});
ReadableLogRecord logRecord = null;
ByteBuffer viewBuffer = sour... | java | private static ReadableLogRecord doByteByByteScanning(ByteBuffer sourceBuffer, long expectedSequenceNumber)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "doByteByByteScanning", new Object[] {sourceBuffer, new Long(expectedSequenceNumber)});
ReadableLogRecord logRecord = null;
ByteBuffer viewBuffer = sour... | [
"private",
"static",
"ReadableLogRecord",
"doByteByByteScanning",
"(",
"ByteBuffer",
"sourceBuffer",
",",
"long",
"expectedSequenceNumber",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"doByteByByteScanning... | careful with trace in this methods loop | [
"careful",
"with",
"trace",
"in",
"this",
"methods",
"loop"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/ReadableLogRecord.java#L144-L183 |
69,531 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.core/src/com/ibm/ws/kernel/provisioning/packages/PackageIndex.java | PackageIndex.add | public synchronized boolean add(String key, T value) {
if (key.length() > 3 && key.endsWith(WILDCARD) && key.charAt(key.length() - 2) != '.') {
throw new IllegalArgumentException("Unsupported use of wildcard in key " + key);
}
// Find the key in the structure (build out to it)
... | java | public synchronized boolean add(String key, T value) {
if (key.length() > 3 && key.endsWith(WILDCARD) && key.charAt(key.length() - 2) != '.') {
throw new IllegalArgumentException("Unsupported use of wildcard in key " + key);
}
// Find the key in the structure (build out to it)
... | [
"public",
"synchronized",
"boolean",
"add",
"(",
"String",
"key",
",",
"T",
"value",
")",
"{",
"if",
"(",
"key",
".",
"length",
"(",
")",
">",
"3",
"&&",
"key",
".",
"endsWith",
"(",
"WILDCARD",
")",
"&&",
"key",
".",
"charAt",
"(",
"key",
".",
"... | Add a new value using the given key.
@param key Key, this is string
@param value Value to associate with the key
@return true if key successfully added, false if there was a collision. | [
"Add",
"a",
"new",
"value",
"using",
"the",
"given",
"key",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/kernel/provisioning/packages/PackageIndex.java#L158-L173 |
69,532 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.core/src/com/ibm/ws/kernel/provisioning/packages/PackageIndex.java | PackageIndex.compact | public void compact() {
// Bare-bones iterator: no filter, don't bother with package strings
for (NodeIterator<T> i = this.getNodeIterator(); i.hasNext();) {
NodeIndex<T> n = i.next();
if (n.node.exactKids != null)
n.node.exactKids.trimToSize();
}
} | java | public void compact() {
// Bare-bones iterator: no filter, don't bother with package strings
for (NodeIterator<T> i = this.getNodeIterator(); i.hasNext();) {
NodeIndex<T> n = i.next();
if (n.node.exactKids != null)
n.node.exactKids.trimToSize();
}
} | [
"public",
"void",
"compact",
"(",
")",
"{",
"// Bare-bones iterator: no filter, don't bother with package strings",
"for",
"(",
"NodeIterator",
"<",
"T",
">",
"i",
"=",
"this",
".",
"getNodeIterator",
"(",
")",
";",
"i",
".",
"hasNext",
"(",
")",
";",
")",
"{"... | Compact any empty space after a read-only trie has been constructed | [
"Compact",
"any",
"empty",
"space",
"after",
"a",
"read",
"-",
"only",
"trie",
"has",
"been",
"constructed"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/kernel/provisioning/packages/PackageIndex.java#L250-L257 |
69,533 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.core/src/com/ibm/ws/kernel/provisioning/packages/PackageIndex.java | PackageIndex.dump | public String dump() {
StringBuilder s = new StringBuilder();
int c = 0;
// we need the flavor of iterator that does build up a package string so we can
// include it in the generated string
s.append(nl);
for (NodeIterator<T> i = this.getNodeIterator(null); i.hasNext();) ... | java | public String dump() {
StringBuilder s = new StringBuilder();
int c = 0;
// we need the flavor of iterator that does build up a package string so we can
// include it in the generated string
s.append(nl);
for (NodeIterator<T> i = this.getNodeIterator(null); i.hasNext();) ... | [
"public",
"String",
"dump",
"(",
")",
"{",
"StringBuilder",
"s",
"=",
"new",
"StringBuilder",
"(",
")",
";",
"int",
"c",
"=",
"0",
";",
"// we need the flavor of iterator that does build up a package string so we can",
"// include it in the generated string",
"s",
".",
... | Debugging during test, dump for FFDC
@return String representation of the contents of the structure. | [
"Debugging",
"during",
"test",
"dump",
"for",
"FFDC"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/kernel/provisioning/packages/PackageIndex.java#L264-L278 |
69,534 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.core/src/com/ibm/ws/kernel/provisioning/packages/PackageIndex.java | PackageIndex.getNodeIterator | NodeIterator<T> getNodeIterator(Filter<T> filter) {
return new NodeIterator<T>(root, filter, true);
} | java | NodeIterator<T> getNodeIterator(Filter<T> filter) {
return new NodeIterator<T>(root, filter, true);
} | [
"NodeIterator",
"<",
"T",
">",
"getNodeIterator",
"(",
"Filter",
"<",
"T",
">",
"filter",
")",
"{",
"return",
"new",
"NodeIterator",
"<",
"T",
">",
"(",
"root",
",",
"filter",
",",
"true",
")",
";",
"}"
] | Get an internal iterator for nodes that allows filtering based on
packages or values.
@param filter
@return | [
"Get",
"an",
"internal",
"iterator",
"for",
"nodes",
"that",
"allows",
"filtering",
"based",
"on",
"packages",
"or",
"values",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/kernel/provisioning/packages/PackageIndex.java#L353-L355 |
69,535 | OpenLiberty/open-liberty | dev/com.ibm.ws.resource/src/com/ibm/ws/resource/internal/ResourceFactoryTrackerData.java | ResourceFactoryTrackerData.modifed | public void modifed(ServiceReference<ResourceFactory> ref) {
String[] newInterfaces = getServiceInterfaces(ref);
if (!Arrays.equals(interfaces, newInterfaces)) {
unregister();
register(ref, newInterfaces);
} else {
registration.setProperties(getServiceProperti... | java | public void modifed(ServiceReference<ResourceFactory> ref) {
String[] newInterfaces = getServiceInterfaces(ref);
if (!Arrays.equals(interfaces, newInterfaces)) {
unregister();
register(ref, newInterfaces);
} else {
registration.setProperties(getServiceProperti... | [
"public",
"void",
"modifed",
"(",
"ServiceReference",
"<",
"ResourceFactory",
">",
"ref",
")",
"{",
"String",
"[",
"]",
"newInterfaces",
"=",
"getServiceInterfaces",
"(",
"ref",
")",
";",
"if",
"(",
"!",
"Arrays",
".",
"equals",
"(",
"interfaces",
",",
"ne... | Notification that the properties for the ResourceFactory changed. | [
"Notification",
"that",
"the",
"properties",
"for",
"the",
"ResourceFactory",
"changed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.resource/src/com/ibm/ws/resource/internal/ResourceFactoryTrackerData.java#L148-L156 |
69,536 | OpenLiberty/open-liberty | dev/com.ibm.websphere.javaee.persistence.2.0/src/com/ibm/ws/javaee/persistence/internal/HybridPersistenceActivator.java | HybridPersistenceActivator.getPersistenceProviders | @Override
public List<PersistenceProvider> getPersistenceProviders() {
// try to get the context classloader first, if that fails, use the loader
// that loaded this class
ClassLoader cl = PrivClassLoader.get(null);
if (cl == null) {
cl = PrivClassLoader.get(HybridPersist... | java | @Override
public List<PersistenceProvider> getPersistenceProviders() {
// try to get the context classloader first, if that fails, use the loader
// that loaded this class
ClassLoader cl = PrivClassLoader.get(null);
if (cl == null) {
cl = PrivClassLoader.get(HybridPersist... | [
"@",
"Override",
"public",
"List",
"<",
"PersistenceProvider",
">",
"getPersistenceProviders",
"(",
")",
"{",
"// try to get the context classloader first, if that fails, use the loader",
"// that loaded this class",
"ClassLoader",
"cl",
"=",
"PrivClassLoader",
".",
"get",
"(",... | This method returns a combination of those persistence providers available from
the application classloader in addition to those in the OSGi service registry.
OSGi providers are not cached and should not be cached because bundles can
be moved in and out of the system and it is the job of the the service tracker
to main... | [
"This",
"method",
"returns",
"a",
"combination",
"of",
"those",
"persistence",
"providers",
"available",
"from",
"the",
"application",
"classloader",
"in",
"addition",
"to",
"those",
"in",
"the",
"OSGi",
"service",
"registry",
".",
"OSGi",
"providers",
"are",
"n... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.javaee.persistence.2.0/src/com/ibm/ws/javaee/persistence/internal/HybridPersistenceActivator.java#L42-L73 |
69,537 | OpenLiberty/open-liberty | dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectorProperties.java | ConnectorProperties.add | @Override
public boolean add(Object o) {
ConnectorProperty connectorPropertyToAdd = (ConnectorProperty) o;
String nameToAdd = connectorPropertyToAdd.getName();
ConnectorProperty connectorProperty = null;
String name = null;
Enumeration<Object> e = this.elements();
wh... | java | @Override
public boolean add(Object o) {
ConnectorProperty connectorPropertyToAdd = (ConnectorProperty) o;
String nameToAdd = connectorPropertyToAdd.getName();
ConnectorProperty connectorProperty = null;
String name = null;
Enumeration<Object> e = this.elements();
wh... | [
"@",
"Override",
"public",
"boolean",
"add",
"(",
"Object",
"o",
")",
"{",
"ConnectorProperty",
"connectorPropertyToAdd",
"=",
"(",
"ConnectorProperty",
")",
"o",
";",
"String",
"nameToAdd",
"=",
"connectorPropertyToAdd",
".",
"getName",
"(",
")",
";",
"Connecto... | override the Vector add method to not add duplicate entries. That is, entries with the same name. | [
"override",
"the",
"Vector",
"add",
"method",
"to",
"not",
"add",
"duplicate",
"entries",
".",
"That",
"is",
"entries",
"with",
"the",
"same",
"name",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectorProperties.java#L37-L67 |
69,538 | OpenLiberty/open-liberty | dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectorProperties.java | ConnectorProperties.findConnectorPropertyString | public String findConnectorPropertyString(String desiredPropertyName, String defaultValue) {
String retVal = defaultValue;
String name = null;
ConnectorProperty property = null;
Enumeration<Object> e = this.elements();
while (e.hasMoreElements()) {
property = (Conn... | java | public String findConnectorPropertyString(String desiredPropertyName, String defaultValue) {
String retVal = defaultValue;
String name = null;
ConnectorProperty property = null;
Enumeration<Object> e = this.elements();
while (e.hasMoreElements()) {
property = (Conn... | [
"public",
"String",
"findConnectorPropertyString",
"(",
"String",
"desiredPropertyName",
",",
"String",
"defaultValue",
")",
"{",
"String",
"retVal",
"=",
"defaultValue",
";",
"String",
"name",
"=",
"null",
";",
"ConnectorProperty",
"property",
"=",
"null",
";",
"... | Given this ConnectorProperties Vector, find the String identified by the
input desiredPropertyName. If not found, return the defaultValue.
@param desiredPropertyName Name of com.ibm.ejs.j2c.ConnectorProperty entry to look for.
@param defaultValue value to return if the desiredPropertyName is not found, or its value is... | [
"Given",
"this",
"ConnectorProperties",
"Vector",
"find",
"the",
"String",
"identified",
"by",
"the",
"input",
"desiredPropertyName",
".",
"If",
"not",
"found",
"return",
"the",
"defaultValue",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectorProperties.java#L77-L97 |
69,539 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java | TargetStreamManager.handleMessage | public void handleMessage(MessageItem msgItem) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "handleMessage", new Object[] { msgItem });
JsMessage jsMsg = msgItem.getMessage();
int priority = jsMsg.getPriority().intValue();
... | java | public void handleMessage(MessageItem msgItem) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "handleMessage", new Object[] { msgItem });
JsMessage jsMsg = msgItem.getMessage();
int priority = jsMsg.getPriority().intValue();
... | [
"public",
"void",
"handleMessage",
"(",
"MessageItem",
"msgItem",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this"... | Handle a new message by inserting it in to the appropriate target stream.
If the stream ID in the message is a new one, a flush query will be
sent to the source. If the ID has been seen before but the specific stream
is not found, a new one will be created and added to the stream set.
@param msgItem | [
"Handle",
"a",
"new",
"message",
"by",
"inserting",
"it",
"in",
"to",
"the",
"appropriate",
"target",
"stream",
".",
"If",
"the",
"stream",
"ID",
"in",
"the",
"message",
"is",
"a",
"new",
"one",
"a",
"flush",
"query",
"will",
"be",
"sent",
"to",
"the",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java#L225-L268 |
69,540 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java | TargetStreamManager.handleSilence | public void handleSilence(MessageItem msgItem) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "handleSilence", new Object[] { msgItem });
JsMessage jsMsg = msgItem.getMessage();
int priority = jsMsg.getPriority().intValue();
... | java | public void handleSilence(MessageItem msgItem) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "handleSilence", new Object[] { msgItem });
JsMessage jsMsg = msgItem.getMessage();
int priority = jsMsg.getPriority().intValue();
... | [
"public",
"void",
"handleSilence",
"(",
"MessageItem",
"msgItem",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this"... | Handle a filtered message by inserting it in to the
appropriate target stream as Silence.
Since we only need to do this on exisiting TargetStreams, if the
streamSet or stream are null we give up
@param msgItem
@throws SIResourceException | [
"Handle",
"a",
"filtered",
"message",
"by",
"inserting",
"it",
"in",
"to",
"the",
"appropriate",
"target",
"stream",
"as",
"Silence",
".",
"Since",
"we",
"only",
"need",
"to",
"do",
"this",
"on",
"exisiting",
"TargetStreams",
"if",
"the",
"streamSet",
"or",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java#L279-L306 |
69,541 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java | TargetStreamManager.handleNewStreamID | private void handleNewStreamID(ControlMessage cMsg) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "handleNewStreamID", new Object[] { cMsg });
handleNewStreamID(cMsg, null);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnable... | java | private void handleNewStreamID(ControlMessage cMsg) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "handleNewStreamID", new Object[] { cMsg });
handleNewStreamID(cMsg, null);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnable... | [
"private",
"void",
"handleNewStreamID",
"(",
"ControlMessage",
"cMsg",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"... | Handle a new stream ID from a control message
@param jsMsg | [
"Handle",
"a",
"new",
"stream",
"ID",
"from",
"a",
"control",
"message"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java#L313-L322 |
69,542 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java | TargetStreamManager.handleNewStreamID | private void handleNewStreamID(AbstractMessage aMessage, MessageItem msgItem) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "handleNewStreamID", new Object[] { aMessage, msgItem });
SIBUuid12 streamID = aMessage.getGuaranteedStreamUUID();
... | java | private void handleNewStreamID(AbstractMessage aMessage, MessageItem msgItem) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "handleNewStreamID", new Object[] { aMessage, msgItem });
SIBUuid12 streamID = aMessage.getGuaranteedStreamUUID();
... | [
"private",
"void",
"handleNewStreamID",
"(",
"AbstractMessage",
"aMessage",
",",
"MessageItem",
"msgItem",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")... | Handle a new stream ID and cache a MessageItem for replay later.
msgItem can be null, for example if this was triggered by a control message.
@param msgItem | [
"Handle",
"a",
"new",
"stream",
"ID",
"and",
"cache",
"a",
"MessageItem",
"for",
"replay",
"later",
".",
"msgItem",
"can",
"be",
"null",
"for",
"example",
"if",
"this",
"was",
"triggered",
"by",
"a",
"control",
"message",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java#L348-L400 |
69,543 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java | TargetStreamManager.addNewStreamSet | private StreamSet addNewStreamSet(SIBUuid12 streamID,
SIBUuid8 sourceMEUuid,
SIBUuid12 remoteDestUuid,
SIBUuid8 remoteBusUuid,
String linkTarget)
throws SIRollbackExceptio... | java | private StreamSet addNewStreamSet(SIBUuid12 streamID,
SIBUuid8 sourceMEUuid,
SIBUuid12 remoteDestUuid,
SIBUuid8 remoteBusUuid,
String linkTarget)
throws SIRollbackExceptio... | [
"private",
"StreamSet",
"addNewStreamSet",
"(",
"SIBUuid12",
"streamID",
",",
"SIBUuid8",
"sourceMEUuid",
",",
"SIBUuid12",
"remoteDestUuid",
",",
"SIBUuid8",
"remoteBusUuid",
",",
"String",
"linkTarget",
")",
"throws",
"SIRollbackException",
",",
"SIConnectionLostExcepti... | Create a new StreamSet for a given streamID and sourceCellule.
@param streamID
@param sourceCellule
@param remoteDestUuid This may not always be the same as the
Uuid of the local destination
@param remoteBusUuid
@return A new StreamSet
@throws SIResourceException if the message store outofcache space exception is c... | [
"Create",
"a",
"new",
"StreamSet",
"for",
"a",
"given",
"streamID",
"and",
"sourceCellule",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java#L413-L488 |
69,544 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java | TargetStreamManager.createStream | private TargetStream createStream(StreamSet streamSet,
int priority,
Reliability reliability,
long completedPrefix)
throws SIResourceException
{
if (TraceComponent.isAny... | java | private TargetStream createStream(StreamSet streamSet,
int priority,
Reliability reliability,
long completedPrefix)
throws SIResourceException
{
if (TraceComponent.isAny... | [
"private",
"TargetStream",
"createStream",
"(",
"StreamSet",
"streamSet",
",",
"int",
"priority",
",",
"Reliability",
"reliability",
",",
"long",
"completedPrefix",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"("... | Create a new TargetStream and initialize it with a given completed prefix.
Always called with streamSet lock
@param streamSet
@param priority
@param reliability
@param completedPrefix
@return A new TargetStream | [
"Create",
"a",
"new",
"TargetStream",
"and",
"initialize",
"it",
"with",
"a",
"given",
"completed",
"prefix",
".",
"Always",
"called",
"with",
"streamSet",
"lock"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java#L500-L521 |
69,545 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java | TargetStreamManager.createStream | private TargetStream createStream(StreamSet streamSet,
int priority,
Reliability reliability) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"createStream",
ne... | java | private TargetStream createStream(StreamSet streamSet,
int priority,
Reliability reliability) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"createStream",
ne... | [
"private",
"TargetStream",
"createStream",
"(",
"StreamSet",
"streamSet",
",",
"int",
"priority",
",",
"Reliability",
"reliability",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isE... | Create a new TargetStream in the given StreamSet
@param streamSet
@param priority
@param reliability
@return a new TargetStream
@throws SIResourceException | [
"Create",
"a",
"new",
"TargetStream",
"in",
"the",
"given",
"StreamSet"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java#L532-L571 |
69,546 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java | TargetStreamManager.handleFlushedMessage | public void handleFlushedMessage(ControlFlushed cMsg)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "handleFlushedMessage", new Object[] { cMsg });
SIBUuid12 streamID = cMsg.getGuaranteedStreamUUID();
forceFlush(streamID);
... | java | public void handleFlushedMessage(ControlFlushed cMsg)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "handleFlushedMessage", new Object[] { cMsg });
SIBUuid12 streamID = cMsg.getGuaranteedStreamUUID();
forceFlush(streamID);
... | [
"public",
"void",
"handleFlushedMessage",
"(",
"ControlFlushed",
"cMsg",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
... | Handle a ControlFlushed message. Flush any existing streams and
throw away any cached messages.
@param cMsg
@throws SIResourceException | [
"Handle",
"a",
"ControlFlushed",
"message",
".",
"Flush",
"any",
"existing",
"streams",
"and",
"throw",
"away",
"any",
"cached",
"messages",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java#L618-L629 |
69,547 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java | TargetStreamManager.forceFlush | public void forceFlush(SIBUuid12 streamID)
throws SIResourceException, SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "forceFlush", new Object[] { streamID });
// Synchronize to resolve racing messages.
synchronized (flushMap)
{
... | java | public void forceFlush(SIBUuid12 streamID)
throws SIResourceException, SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "forceFlush", new Object[] { streamID });
// Synchronize to resolve racing messages.
synchronized (flushMap)
{
... | [
"public",
"void",
"forceFlush",
"(",
"SIBUuid12",
"streamID",
")",
"throws",
"SIResourceException",
",",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
"."... | Flush any existing streams and throw away any cached messages.
@param streamID
@throws SIResourceException
@throws SIException | [
"Flush",
"any",
"existing",
"streams",
"and",
"throw",
"away",
"any",
"cached",
"messages",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java#L638-L674 |
69,548 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java | TargetStreamManager.requestFlushAtSource | public void requestFlushAtSource(SIBUuid8 source,
SIBUuid12 destID,
SIBUuid8 busID,
SIBUuid12 stream,
boolean indoubtDiscard)
throws SIException, SIResourceException
{
i... | java | public void requestFlushAtSource(SIBUuid8 source,
SIBUuid12 destID,
SIBUuid8 busID,
SIBUuid12 stream,
boolean indoubtDiscard)
throws SIException, SIResourceException
{
i... | [
"public",
"void",
"requestFlushAtSource",
"(",
"SIBUuid8",
"source",
",",
"SIBUuid12",
"destID",
",",
"SIBUuid8",
"busID",
",",
"SIBUuid12",
"stream",
",",
"boolean",
"indoubtDiscard",
")",
"throws",
"SIException",
",",
"SIResourceException",
"{",
"if",
"(",
"Trac... | Send a request to flush a stream. The originator of the stream,
and the ID for the stream must be known. This method is public
because it's not clear who's going to call this yet.
@param source The originator of the stream (may be multiple hops
away).
@param stream The UUID of the stream to flush. | [
"Send",
"a",
"request",
"to",
"flush",
"a",
"stream",
".",
"The",
"originator",
"of",
"the",
"stream",
"and",
"the",
"ID",
"for",
"the",
"stream",
"must",
"be",
"known",
".",
"This",
"method",
"is",
"public",
"because",
"it",
"s",
"not",
"clear",
"who"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java#L685-L728 |
69,549 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java | TargetStreamManager.handleSilenceMessage | public void handleSilenceMessage(ControlSilence cMsg) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "handleSilenceMessage", new Object[] { cMsg });
int priority = cMsg.getPriority().intValue();
Reliability reliability = cMsg.getR... | java | public void handleSilenceMessage(ControlSilence cMsg) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "handleSilenceMessage", new Object[] { cMsg });
int priority = cMsg.getPriority().intValue();
Reliability reliability = cMsg.getR... | [
"public",
"void",
"handleSilenceMessage",
"(",
"ControlSilence",
"cMsg",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
... | Handle a ControlSilence message.
@param cMsg
@throws SIException | [
"Handle",
"a",
"ControlSilence",
"message",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java#L979-L1016 |
69,550 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java | TargetStreamManager.reconstituteStreamSet | public void reconstituteStreamSet(StreamSet streamSet)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "reconstituteStreamSet", streamSet);
synchronized(streamSets)
{
streamSets.put(streamSet.getStreamID(), streamSet);
sourceMap.put(streamSet.get... | java | public void reconstituteStreamSet(StreamSet streamSet)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "reconstituteStreamSet", streamSet);
synchronized(streamSets)
{
streamSets.put(streamSet.getStreamID(), streamSet);
sourceMap.put(streamSet.get... | [
"public",
"void",
"reconstituteStreamSet",
"(",
"StreamSet",
"streamSet",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"... | Restore a StreamSet to a previous state
@param streamSet
@throws SIResourceException
@throws SIException | [
"Restore",
"a",
"StreamSet",
"to",
"a",
"previous",
"state"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java#L1025-L1038 |
69,551 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java | TargetStreamManager.alarm | public void alarm(Object alarmContext)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "alarm", alarmContext);
// Alarm context should be an sid, make it so.
SIBUuid12 sid = (SIBUuid12) alarmContext;
// synchronized here in case we're racing with an ans... | java | public void alarm(Object alarmContext)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "alarm", alarmContext);
// Alarm context should be an sid, make it so.
SIBUuid12 sid = (SIBUuid12) alarmContext;
// synchronized here in case we're racing with an ans... | [
"public",
"void",
"alarm",
"(",
"Object",
"alarmContext",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"alarm\"",
",",... | This method is called when an alarm expires for an "are you
flushed" or "flush request" query.
@param alarmContext the alarm context we passed into
the alarm scheduler. Contains the stream ID we were querying. | [
"This",
"method",
"is",
"called",
"when",
"an",
"alarm",
"expires",
"for",
"an",
"are",
"you",
"flushed",
"or",
"flush",
"request",
"query",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java#L1047-L1119 |
69,552 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java | TargetStreamManager.isEmpty | public boolean isEmpty()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(this, tc, "isEmpty");
SibTr.exit(tc, "isEmpty", new Object[] {Boolean.valueOf(streamSets.isEmpty()),
Boolean.valueOf(flushedStreamSets.isEmpty()),streamSets, this});
}
// D... | java | public boolean isEmpty()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(this, tc, "isEmpty");
SibTr.exit(tc, "isEmpty", new Object[] {Boolean.valueOf(streamSets.isEmpty()),
Boolean.valueOf(flushedStreamSets.isEmpty()),streamSets, this});
}
// D... | [
"public",
"boolean",
"isEmpty",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"isEmpty\"",
")",
";",
"SibTr... | Determine if there are any unflushed target streams to the destination
@return boolean | [
"Determine",
"if",
"there",
"are",
"any",
"unflushed",
"target",
"streams",
"to",
"the",
"destination"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java#L1126-L1139 |
69,553 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java | TargetStreamManager.queryUnflushedStreams | public void queryUnflushedStreams()
throws SIResourceException
{
synchronized (streamSets) {
for(Iterator i=streamSets.iterator(); i.hasNext();)
{
StreamSet next = (StreamSet) i.next();
// Note the use of -1 for the request ID. This guarantees
// that we won't accidentall... | java | public void queryUnflushedStreams()
throws SIResourceException
{
synchronized (streamSets) {
for(Iterator i=streamSets.iterator(); i.hasNext();)
{
StreamSet next = (StreamSet) i.next();
// Note the use of -1 for the request ID. This guarantees
// that we won't accidentall... | [
"public",
"void",
"queryUnflushedStreams",
"(",
")",
"throws",
"SIResourceException",
"{",
"synchronized",
"(",
"streamSets",
")",
"{",
"for",
"(",
"Iterator",
"i",
"=",
"streamSets",
".",
"iterator",
"(",
")",
";",
"i",
".",
"hasNext",
"(",
")",
";",
")",... | Sends an "are you flushed" query to the source of any unflushed streams.
We use this to determine when it's safe to delete a destination with
possibly indoubt messages. | [
"Sends",
"an",
"are",
"you",
"flushed",
"query",
"to",
"the",
"source",
"of",
"any",
"unflushed",
"streams",
".",
"We",
"use",
"this",
"to",
"determine",
"when",
"it",
"s",
"safe",
"to",
"delete",
"a",
"destination",
"with",
"possibly",
"indoubt",
"message... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/TargetStreamManager.java#L1317-L1335 |
69,554 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/PersistentTimerTaskHandler.java | PersistentTimerTaskHandler.validateAutomaticTimer | private boolean validateAutomaticTimer(BeanMetaData bmd) {
if (bmd.timedMethodInfos == null || methodId > bmd.timedMethodInfos.length) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "validateAutomaticTimer: ivMethodId=" + methodId
... | java | private boolean validateAutomaticTimer(BeanMetaData bmd) {
if (bmd.timedMethodInfos == null || methodId > bmd.timedMethodInfos.length) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "validateAutomaticTimer: ivMethodId=" + methodId
... | [
"private",
"boolean",
"validateAutomaticTimer",
"(",
"BeanMetaData",
"bmd",
")",
"{",
"if",
"(",
"bmd",
".",
"timedMethodInfos",
"==",
"null",
"||",
"methodId",
">",
"bmd",
".",
"timedMethodInfos",
".",
"length",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"... | Validate that the method corresponding to the method ID stored in the
database matches the method that was used when the automatic timer was
created. For example, this validation will fail if the application is
changed to remove an automatic timer without clearing the timers from
the database. As a prerequisite to call... | [
"Validate",
"that",
"the",
"method",
"corresponding",
"to",
"the",
"method",
"ID",
"stored",
"in",
"the",
"database",
"matches",
"the",
"method",
"that",
"was",
"used",
"when",
"the",
"automatic",
"timer",
"was",
"created",
".",
"For",
"example",
"this",
"va... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/PersistentTimerTaskHandler.java#L317-L342 |
69,555 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/PersistentTimerTaskHandler.java | PersistentTimerTaskHandler.writeObject | private void writeObject(ObjectOutputStream out) throws IOException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "writeObject: " + this);
// Use v1 unless features are present that require v2.
int versi... | java | private void writeObject(ObjectOutputStream out) throws IOException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "writeObject: " + this);
// Use v1 unless features are present that require v2.
int versi... | [
"private",
"void",
"writeObject",
"(",
"ObjectOutputStream",
"out",
")",
"throws",
"IOException",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
"tc",
".",
"isEntryEnabled",
"... | Write this object to the ObjectOutputStream.
Note, this is overriding the default Serialize interface implementation.
@see java.io.Serializable | [
"Write",
"this",
"object",
"to",
"the",
"ObjectOutputStream",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/PersistentTimerTaskHandler.java#L578-L622 |
69,556 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/PersistentTimerTaskHandler.java | PersistentTimerTaskHandler.readObject | private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "readObject");
in.defaultReadObject();
// Read in eye catcher.
... | java | private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "readObject");
in.defaultReadObject();
// Read in eye catcher.
... | [
"private",
"void",
"readObject",
"(",
"ObjectInputStream",
"in",
")",
"throws",
"IOException",
",",
"ClassNotFoundException",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
"tc"... | Read this object from the ObjectInputStream.
Note, this is overriding the default Serialize interface implementation.
@see java.io.Serializable | [
"Read",
"this",
"object",
"from",
"the",
"ObjectInputStream",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/PersistentTimerTaskHandler.java#L631-L699 |
69,557 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/PersistentTimerTaskHandler.java | PersistentTimerTaskHandler.getBeanMetaData | protected BeanMetaData getBeanMetaData() {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "getBeanMetaData: " + this);
EJSHome home;
try {
// Get the currently installed and active home for thi... | java | protected BeanMetaData getBeanMetaData() {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "getBeanMetaData: " + this);
EJSHome home;
try {
// Get the currently installed and active home for thi... | [
"protected",
"BeanMetaData",
"getBeanMetaData",
"(",
")",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(... | Gets BeanMetaData through EJSHome lookup | [
"Gets",
"BeanMetaData",
"through",
"EJSHome",
"lookup"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/PersistentTimerTaskHandler.java#L730-L763 |
69,558 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/PersistentTimerTaskHandler.java | PersistentTimerTaskHandler.serializeObject | private static byte[] serializeObject(Object obj) {
if (obj == null) {
return null;
}
ByteArrayOutputStream baos = new ByteArrayOutputStream();
try {
ObjectOutputStream out = new ObjectOutputStream(baos);
out.writeObject(obj);
out.flush()... | java | private static byte[] serializeObject(Object obj) {
if (obj == null) {
return null;
}
ByteArrayOutputStream baos = new ByteArrayOutputStream();
try {
ObjectOutputStream out = new ObjectOutputStream(baos);
out.writeObject(obj);
out.flush()... | [
"private",
"static",
"byte",
"[",
"]",
"serializeObject",
"(",
"Object",
"obj",
")",
"{",
"if",
"(",
"obj",
"==",
"null",
")",
"{",
"return",
"null",
";",
"}",
"ByteArrayOutputStream",
"baos",
"=",
"new",
"ByteArrayOutputStream",
"(",
")",
";",
"try",
"{... | Internal convenience method for serializing the user info object to a byte array. | [
"Internal",
"convenience",
"method",
"for",
"serializing",
"the",
"user",
"info",
"object",
"to",
"a",
"byte",
"array",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/PersistentTimerTaskHandler.java#L768-L784 |
69,559 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java | HttpInboundLink.maxRequestsServed | protected boolean maxRequestsServed() {
// PK12235, check for a partial or full stop
if (getChannel().isStopping()) {
// channel has stopped, no more keep-alives
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Channel stopped, disa... | java | protected boolean maxRequestsServed() {
// PK12235, check for a partial or full stop
if (getChannel().isStopping()) {
// channel has stopped, no more keep-alives
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Channel stopped, disa... | [
"protected",
"boolean",
"maxRequestsServed",
"(",
")",
"{",
"// PK12235, check for a partial or full stop",
"if",
"(",
"getChannel",
"(",
")",
".",
"isStopping",
"(",
")",
")",
"{",
"// channel has stopped, no more keep-alives",
"if",
"(",
"TraceComponent",
".",
"isAnyT... | Find out whether we've served the maximum number of requests allowed
on this connection already.
@return boolean | [
"Find",
"out",
"whether",
"we",
"ve",
"served",
"the",
"maximum",
"number",
"of",
"requests",
"allowed",
"on",
"this",
"connection",
"already",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java#L217-L237 |
69,560 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java | HttpInboundLink.ready | @Override
public void ready(VirtualConnection inVC) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "ready: " + this + " " + inVC);
}
this.myTSC = (TCPConnectionContext) getDeviceLink().getChannelAccessor();
HttpInboundServiceContextImpl ... | java | @Override
public void ready(VirtualConnection inVC) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "ready: " + this + " " + inVC);
}
this.myTSC = (TCPConnectionContext) getDeviceLink().getChannelAccessor();
HttpInboundServiceContextImpl ... | [
"@",
"Override",
"public",
"void",
"ready",
"(",
"VirtualConnection",
"inVC",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"ready... | Called by the device side channel when a new request is ready for work.
@param inVC | [
"Called",
"by",
"the",
"device",
"side",
"channel",
"when",
"a",
"new",
"request",
"is",
"ready",
"for",
"work",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java#L290-L307 |
69,561 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java | HttpInboundLink.processRequest | protected void processRequest() {
final int timeout = getHTTPContext().getReadTimeout();
final TCPReadCompletedCallback callback = HttpICLReadCallback.getRef();
// keep looping on processing information until we fully parse the message
// and hand it off, or until the reads for more dat... | java | protected void processRequest() {
final int timeout = getHTTPContext().getReadTimeout();
final TCPReadCompletedCallback callback = HttpICLReadCallback.getRef();
// keep looping on processing information until we fully parse the message
// and hand it off, or until the reads for more dat... | [
"protected",
"void",
"processRequest",
"(",
")",
"{",
"final",
"int",
"timeout",
"=",
"getHTTPContext",
"(",
")",
".",
"getReadTimeout",
"(",
")",
";",
"final",
"TCPReadCompletedCallback",
"callback",
"=",
"HttpICLReadCallback",
".",
"getRef",
"(",
")",
";",
"... | Process new information for an inbound request that needs to be parsed
and handled by channels above. | [
"Process",
"new",
"information",
"for",
"an",
"inbound",
"request",
"that",
"needs",
"to",
"be",
"parsed",
"and",
"handled",
"by",
"channels",
"above",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java#L313-L336 |
69,562 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java | HttpInboundLink.handleNewInformation | private boolean handleNewInformation() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Parsing new information: " + getVirtualConnection());
}
final HttpInboundServiceContextImpl sc = getHTTPContext();
if (!isPartiallyParsed()) {
... | java | private boolean handleNewInformation() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Parsing new information: " + getVirtualConnection());
}
final HttpInboundServiceContextImpl sc = getHTTPContext();
if (!isPartiallyParsed()) {
... | [
"private",
"boolean",
"handleNewInformation",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"Parsing new information: \"",
"+",
"... | Handle parsing the incoming request message.
@return whether an error happend and this connection is already done | [
"Handle",
"parsing",
"the",
"incoming",
"request",
"message",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java#L343-L428 |
69,563 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java | HttpInboundLink.handleGenericHNIError | private void handleGenericHNIError(Throwable t, HttpInboundServiceContextImpl hisc) {
hisc.setHeadersParsed();
sendErrorMessage(t);
setPartiallyParsed(false);
} | java | private void handleGenericHNIError(Throwable t, HttpInboundServiceContextImpl hisc) {
hisc.setHeadersParsed();
sendErrorMessage(t);
setPartiallyParsed(false);
} | [
"private",
"void",
"handleGenericHNIError",
"(",
"Throwable",
"t",
",",
"HttpInboundServiceContextImpl",
"hisc",
")",
"{",
"hisc",
".",
"setHeadersParsed",
"(",
")",
";",
"sendErrorMessage",
"(",
"t",
")",
";",
"setPartiallyParsed",
"(",
"false",
")",
";",
"}"
] | the same thing so now they will just call this one method | [
"the",
"same",
"thing",
"so",
"now",
"they",
"will",
"just",
"call",
"this",
"one",
"method"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java#L432-L436 |
69,564 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java | HttpInboundLink.handleNewRequest | private void handleNewRequest() {
// if this is an http/2 request, skip to discrimination
if (!isAlpnHttp2Link(this.vc)) {
final HttpInboundServiceContextImpl sc = getHTTPContext();
// save the request info that was parsed in case somebody changes it
sc.setRequestVer... | java | private void handleNewRequest() {
// if this is an http/2 request, skip to discrimination
if (!isAlpnHttp2Link(this.vc)) {
final HttpInboundServiceContextImpl sc = getHTTPContext();
// save the request info that was parsed in case somebody changes it
sc.setRequestVer... | [
"private",
"void",
"handleNewRequest",
"(",
")",
"{",
"// if this is an http/2 request, skip to discrimination",
"if",
"(",
"!",
"isAlpnHttp2Link",
"(",
"this",
".",
"vc",
")",
")",
"{",
"final",
"HttpInboundServiceContextImpl",
"sc",
"=",
"getHTTPContext",
"(",
")",
... | Process a new request message, updating internal stats and calling the
discrimination to pass it along the channel chain. | [
"Process",
"a",
"new",
"request",
"message",
"updating",
"internal",
"stats",
"and",
"calling",
"the",
"discrimination",
"to",
"pass",
"it",
"along",
"the",
"channel",
"chain",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java#L442-L467 |
69,565 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java | HttpInboundLink.sendErrorMessage | private void sendErrorMessage(Throwable t) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Sending a 400 for throwable [" + t + "]");
}
sendErrorMessage(StatusCodes.BAD_REQUEST);
} | java | private void sendErrorMessage(Throwable t) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Sending a 400 for throwable [" + t + "]");
}
sendErrorMessage(StatusCodes.BAD_REQUEST);
} | [
"private",
"void",
"sendErrorMessage",
"(",
"Throwable",
"t",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"Sending a 400 for throwab... | Send an error message when a generic throwable occurs.
@param t | [
"Send",
"an",
"error",
"message",
"when",
"a",
"generic",
"throwable",
"occurs",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java#L566-L571 |
69,566 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java | HttpInboundLink.sendErrorMessage | private void sendErrorMessage(StatusCodes code) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Sending an error page back [code: " + code + "]");
}
try {
getHTTPContext().sendError(code.getHttpError());
} catch (MessageSentExcep... | java | private void sendErrorMessage(StatusCodes code) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Sending an error page back [code: " + code + "]");
}
try {
getHTTPContext().sendError(code.getHttpError());
} catch (MessageSentExcep... | [
"private",
"void",
"sendErrorMessage",
"(",
"StatusCodes",
"code",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"Sending an error pag... | Send an error message back to the client with a defined
status code, instead of an exception.
@param code | [
"Send",
"an",
"error",
"message",
"back",
"to",
"the",
"client",
"with",
"a",
"defined",
"status",
"code",
"instead",
"of",
"an",
"exception",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java#L579-L589 |
69,567 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java | HttpInboundLink.handlePipeLining | private void handlePipeLining() {
HttpServiceContextImpl sc = getHTTPContext();
WsByteBuffer buffer = sc.returnLastBuffer();
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
Tr.event(tc, "Pipelined request found: " + buffer);
}
sc.clear();
//... | java | private void handlePipeLining() {
HttpServiceContextImpl sc = getHTTPContext();
WsByteBuffer buffer = sc.returnLastBuffer();
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
Tr.event(tc, "Pipelined request found: " + buffer);
}
sc.clear();
//... | [
"private",
"void",
"handlePipeLining",
"(",
")",
"{",
"HttpServiceContextImpl",
"sc",
"=",
"getHTTPContext",
"(",
")",
";",
"WsByteBuffer",
"buffer",
"=",
"sc",
".",
"returnLastBuffer",
"(",
")",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",... | Handle a pipelined request discovered while closing the handling of the
last request. | [
"Handle",
"a",
"pipelined",
"request",
"discovered",
"while",
"closing",
"the",
"handling",
"of",
"the",
"last",
"request",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java#L595-L614 |
69,568 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java | HttpInboundLink.error | @Override
public void error(VirtualConnection inVC, Throwable t) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "error() called on " + this + " " + inVC);
}
try {
close(inVC, (Exception) t);
} catch (ClassCastException cce) {... | java | @Override
public void error(VirtualConnection inVC, Throwable t) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "error() called on " + this + " " + inVC);
}
try {
close(inVC, (Exception) t);
} catch (ClassCastException cce) {... | [
"@",
"Override",
"public",
"void",
"error",
"(",
"VirtualConnection",
"inVC",
",",
"Throwable",
"t",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"... | Called when an error occurs on this connection.
@param inVC
@param t | [
"Called",
"when",
"an",
"error",
"occurs",
"on",
"this",
"connection",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java#L879-L890 |
69,569 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java | HttpInboundLink.checkIfUpgradeHeaders | private boolean checkIfUpgradeHeaders(Map<String, String> headers) {
// looking for two headers.
// connection header with a value of "upgrade"
// upgrade header with a value of "h2c"
boolean connection_upgrade = false;
boolean upgrade_h2c = false;
String headerValue = nu... | java | private boolean checkIfUpgradeHeaders(Map<String, String> headers) {
// looking for two headers.
// connection header with a value of "upgrade"
// upgrade header with a value of "h2c"
boolean connection_upgrade = false;
boolean upgrade_h2c = false;
String headerValue = nu... | [
"private",
"boolean",
"checkIfUpgradeHeaders",
"(",
"Map",
"<",
"String",
",",
"String",
">",
"headers",
")",
"{",
"// looking for two headers.",
"// connection header with a value of \"upgrade\"",
"// upgrade header with a value of \"h2c\"",
"boolean",
"connection_upgrade",
"=",... | Determine if a map of headers contains http2 upgrade headers
@param headers a String map of http header key and value pairs
@return true if an http2 upgrade header is found | [
"Determine",
"if",
"a",
"map",
"of",
"headers",
"contains",
"http2",
"upgrade",
"headers"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java#L931-L983 |
69,570 | OpenLiberty/open-liberty | dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/asset/ESAVirtualAsset.java | ESAVirtualAsset.createLicenseProvider | @Override
protected LicenseProvider createLicenseProvider(String licenseAgreementPrefix, String licenseInformationPrefix,
String subsystemLicenseType) {
String featureLicenseAgreementPrefix = this.featureName + "/" + licenseAgreementPrefix;
String ... | java | @Override
protected LicenseProvider createLicenseProvider(String licenseAgreementPrefix, String licenseInformationPrefix,
String subsystemLicenseType) {
String featureLicenseAgreementPrefix = this.featureName + "/" + licenseAgreementPrefix;
String ... | [
"@",
"Override",
"protected",
"LicenseProvider",
"createLicenseProvider",
"(",
"String",
"licenseAgreementPrefix",
",",
"String",
"licenseInformationPrefix",
",",
"String",
"subsystemLicenseType",
")",
"{",
"String",
"featureLicenseAgreementPrefix",
"=",
"this",
".",
"featu... | will need to override | [
"will",
"need",
"to",
"override"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/asset/ESAVirtualAsset.java#L37-L59 |
69,571 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/SIMPTransactionManager.java | SIMPTransactionManager.createLocalTransaction | public LocalTransaction createLocalTransaction(boolean useSingleResourceOnly)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createLocalTransaction");
LocalTransaction tran = null;
//Venu Removing the createLocalTransactionWithSubordinates() as it has to ha... | java | public LocalTransaction createLocalTransaction(boolean useSingleResourceOnly)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createLocalTransaction");
LocalTransaction tran = null;
//Venu Removing the createLocalTransactionWithSubordinates() as it has to ha... | [
"public",
"LocalTransaction",
"createLocalTransaction",
"(",
"boolean",
"useSingleResourceOnly",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",... | Creates a local transaction.
@return The uncoordinated transaction | [
"Creates",
"a",
"local",
"transaction",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/SIMPTransactionManager.java#L83-L99 |
69,572 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/SIMPTransactionManager.java | SIMPTransactionManager.createAutoCommitTransaction | public ExternalAutoCommitTransaction createAutoCommitTransaction()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createAutoCommitTransaction");
ExternalAutoCommitTransaction transaction =
transactionFactory.createAutoCommitTransaction();
if (TraceCompo... | java | public ExternalAutoCommitTransaction createAutoCommitTransaction()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createAutoCommitTransaction");
ExternalAutoCommitTransaction transaction =
transactionFactory.createAutoCommitTransaction();
if (TraceCompo... | [
"public",
"ExternalAutoCommitTransaction",
"createAutoCommitTransaction",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"createAutoCommit... | Creates a Auto Commit Transaction
@return Transaction The auto commit transaction object | [
"Creates",
"a",
"Auto",
"Commit",
"Transaction"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/SIMPTransactionManager.java#L106-L118 |
69,573 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/SIMPTransactionManager.java | SIMPTransactionManager.createXAResource | public SIXAResource createXAResource(boolean useSingleResource)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createXAResource", new Boolean(useSingleResource));
SIXAResource resource = null;
//get the message store resource
resource = transactionFactory... | java | public SIXAResource createXAResource(boolean useSingleResource)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createXAResource", new Boolean(useSingleResource));
SIXAResource resource = null;
//get the message store resource
resource = transactionFactory... | [
"public",
"SIXAResource",
"createXAResource",
"(",
"boolean",
"useSingleResource",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"createXA... | Creates an XA transaction resource
@return a new XA resource | [
"Creates",
"an",
"XA",
"transaction",
"resource"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/SIMPTransactionManager.java#L125-L140 |
69,574 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/ObjectCacheUnitImpl.java | ObjectCacheUnitImpl.createObjectCache | public Object createObjectCache(String reference) {
final String methodName = "createCacheInstance()";
if (tc.isEntryEnabled())
Tr.entry(tc, methodName + " cacheName=" + reference);
CacheConfig config = ServerCache.getCacheService().getCacheInstanceConfig(reference);
if (c... | java | public Object createObjectCache(String reference) {
final String methodName = "createCacheInstance()";
if (tc.isEntryEnabled())
Tr.entry(tc, methodName + " cacheName=" + reference);
CacheConfig config = ServerCache.getCacheService().getCacheInstanceConfig(reference);
if (c... | [
"public",
"Object",
"createObjectCache",
"(",
"String",
"reference",
")",
"{",
"final",
"String",
"methodName",
"=",
"\"createCacheInstance()\"",
";",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"methodName",
"+... | Create a DistributedObjectCache from a string reference. The config for the reference must already exist.
@param reference
@return The returned object can be type cast to DistributedObjectCache and will be a DistributedMap,
DistributedLockingMap or DistributedNioMap. | [
"Create",
"a",
"DistributedObjectCache",
"from",
"a",
"string",
"reference",
".",
"The",
"config",
"for",
"the",
"reference",
"must",
"already",
"exist",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/ObjectCacheUnitImpl.java#L35-L76 |
69,575 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/ObjectCacheUnitImpl.java | ObjectCacheUnitImpl.createDistributedObjectCache | private DistributedObjectCache createDistributedObjectCache(CacheConfig config) {
final String methodName = "createDistributedObjectCache()";
if (tc.isEntryEnabled())
Tr.entry(tc, methodName + " cacheName=" + (config != null ? config.getCacheName() : "null"));
DCache dCache = Server... | java | private DistributedObjectCache createDistributedObjectCache(CacheConfig config) {
final String methodName = "createDistributedObjectCache()";
if (tc.isEntryEnabled())
Tr.entry(tc, methodName + " cacheName=" + (config != null ? config.getCacheName() : "null"));
DCache dCache = Server... | [
"private",
"DistributedObjectCache",
"createDistributedObjectCache",
"(",
"CacheConfig",
"config",
")",
"{",
"final",
"String",
"methodName",
"=",
"\"createDistributedObjectCache()\"",
";",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"... | Create a DistributedObjectCache from a cacheConfig object.
Entry ( only call this method once per cache name ) config != null config.distributedObjectCache == null Exit
newly created DistributedObjectCache
@param config
@return The returned object will be a DistributedMap, DistributedLockingMap or DistributedNioMap. | [
"Create",
"a",
"DistributedObjectCache",
"from",
"a",
"cacheConfig",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/ObjectCacheUnitImpl.java#L89-L107 |
69,576 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/ObjectCacheUnitImpl.java | ObjectCacheUnitImpl.createEventSource | public EventSource createEventSource(boolean createAsyncEventSource, String cacheName) {
EventSource eventSource = new DCEventSource(cacheName, createAsyncEventSource);
if (tc.isDebugEnabled())
Tr.debug(tc, "Using caller thread context for callback - cacheName= " + cacheName);
retu... | java | public EventSource createEventSource(boolean createAsyncEventSource, String cacheName) {
EventSource eventSource = new DCEventSource(cacheName, createAsyncEventSource);
if (tc.isDebugEnabled())
Tr.debug(tc, "Using caller thread context for callback - cacheName= " + cacheName);
retu... | [
"public",
"EventSource",
"createEventSource",
"(",
"boolean",
"createAsyncEventSource",
",",
"String",
"cacheName",
")",
"{",
"EventSource",
"eventSource",
"=",
"new",
"DCEventSource",
"(",
"cacheName",
",",
"createAsyncEventSource",
")",
";",
"if",
"(",
"tc",
".",
... | This implements the method in the ServletCacheUnit interface. This method is used to initialize event source for
invalidation listener
@param createAsyncEventSource
boolean true - using async thread context for callback; false - using caller thread for callback
@param cacheName
The cache name
@return EventSourceIntf T... | [
"This",
"implements",
"the",
"method",
"in",
"the",
"ServletCacheUnit",
"interface",
".",
"This",
"method",
"is",
"used",
"to",
"initialize",
"event",
"source",
"for",
"invalidation",
"listener"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/ObjectCacheUnitImpl.java#L121-L128 |
69,577 | OpenLiberty/open-liberty | dev/com.ibm.ws.injection.core/src/com/ibm/wsspi/injectionengine/JNDIEnvironmentRefBindingHelper.java | JNDIEnvironmentRefBindingHelper.createAllBindingsMap | public static Map<JNDIEnvironmentRefType, Map<String, String>> createAllBindingsMap() {
Map<JNDIEnvironmentRefType, Map<String, String>> allBindings = new EnumMap<JNDIEnvironmentRefType, Map<String, String>>(JNDIEnvironmentRefType.class);
for (JNDIEnvironmentRefType refType : JNDIEnvironmentRefType.VALU... | java | public static Map<JNDIEnvironmentRefType, Map<String, String>> createAllBindingsMap() {
Map<JNDIEnvironmentRefType, Map<String, String>> allBindings = new EnumMap<JNDIEnvironmentRefType, Map<String, String>>(JNDIEnvironmentRefType.class);
for (JNDIEnvironmentRefType refType : JNDIEnvironmentRefType.VALU... | [
"public",
"static",
"Map",
"<",
"JNDIEnvironmentRefType",
",",
"Map",
"<",
"String",
",",
"String",
">",
">",
"createAllBindingsMap",
"(",
")",
"{",
"Map",
"<",
"JNDIEnvironmentRefType",
",",
"Map",
"<",
"String",
",",
"String",
">",
">",
"allBindings",
"=",... | Create a new map for holding all JNDIEnvironmentRef bindings. | [
"Create",
"a",
"new",
"map",
"for",
"holding",
"all",
"JNDIEnvironmentRef",
"bindings",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/wsspi/injectionengine/JNDIEnvironmentRefBindingHelper.java#L23-L31 |
69,578 | OpenLiberty/open-liberty | dev/com.ibm.ws.injection.core/src/com/ibm/wsspi/injectionengine/JNDIEnvironmentRefBindingHelper.java | JNDIEnvironmentRefBindingHelper.setAllBndAndExt | public static void setAllBndAndExt(ComponentNameSpaceConfiguration compNSConfig,
Map<JNDIEnvironmentRefType, Map<String, String>> allBindings,
Map<String, String> envEntryValues,
ResourceRefConfigList re... | java | public static void setAllBndAndExt(ComponentNameSpaceConfiguration compNSConfig,
Map<JNDIEnvironmentRefType, Map<String, String>> allBindings,
Map<String, String> envEntryValues,
ResourceRefConfigList re... | [
"public",
"static",
"void",
"setAllBndAndExt",
"(",
"ComponentNameSpaceConfiguration",
"compNSConfig",
",",
"Map",
"<",
"JNDIEnvironmentRefType",
",",
"Map",
"<",
"String",
",",
"String",
">",
">",
"allBindings",
",",
"Map",
"<",
"String",
",",
"String",
">",
"e... | Update a ComponentNameSpaceConfiguration object with processed binding
and extension metadata.
@param compNSConfig the configuration to update
@param allBindings the map of all bindings
@param envEntryValues the env-entry value bindings map
@param resRefList the resource-ref binding and extension list | [
"Update",
"a",
"ComponentNameSpaceConfiguration",
"object",
"with",
"processed",
"binding",
"and",
"extension",
"metadata",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/wsspi/injectionengine/JNDIEnvironmentRefBindingHelper.java#L42-L54 |
69,579 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/filter/ServletChain.java | ServletChain.chainRequestDispatchers | public static void chainRequestDispatchers(RequestDispatcher[] dispatchers, HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException{
for(int i=0; i<dispatchers.length-1; i++) {
ChainedResponse chainedResp = new ChainedResponse(request, response);
... | java | public static void chainRequestDispatchers(RequestDispatcher[] dispatchers, HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException{
for(int i=0; i<dispatchers.length-1; i++) {
ChainedResponse chainedResp = new ChainedResponse(request, response);
... | [
"public",
"static",
"void",
"chainRequestDispatchers",
"(",
"RequestDispatcher",
"[",
"]",
"dispatchers",
",",
"HttpServletRequest",
"request",
",",
"HttpServletResponse",
"response",
")",
"throws",
"IOException",
",",
"ServletException",
"{",
"for",
"(",
"int",
"i",
... | Chain the responses of a set of request dispatchers together. | [
"Chain",
"the",
"responses",
"of",
"a",
"set",
"of",
"request",
"dispatchers",
"together",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/filter/ServletChain.java#L192-L200 |
69,580 | OpenLiberty/open-liberty | dev/com.ibm.ws.persistence.mbean/src/com/ibm/ws/persistence/mbean/internal/DDLGenerationMBeanImpl.java | DDLGenerationMBeanImpl.setGenerator | @Reference(name = KEY_GENERATOR, service = DDLGenerationParticipant.class, policy = ReferencePolicy.DYNAMIC, cardinality = ReferenceCardinality.MULTIPLE)
protected void setGenerator(ServiceReference<DDLGenerationParticipant> ref) {
generators.addReference(ref);
} | java | @Reference(name = KEY_GENERATOR, service = DDLGenerationParticipant.class, policy = ReferencePolicy.DYNAMIC, cardinality = ReferenceCardinality.MULTIPLE)
protected void setGenerator(ServiceReference<DDLGenerationParticipant> ref) {
generators.addReference(ref);
} | [
"@",
"Reference",
"(",
"name",
"=",
"KEY_GENERATOR",
",",
"service",
"=",
"DDLGenerationParticipant",
".",
"class",
",",
"policy",
"=",
"ReferencePolicy",
".",
"DYNAMIC",
",",
"cardinality",
"=",
"ReferenceCardinality",
".",
"MULTIPLE",
")",
"protected",
"void",
... | Method which registers a DDL generator. All OSGi services providing this
interface will be set here. | [
"Method",
"which",
"registers",
"a",
"DDL",
"generator",
".",
"All",
"OSGi",
"services",
"providing",
"this",
"interface",
"will",
"be",
"set",
"here",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.persistence.mbean/src/com/ibm/ws/persistence/mbean/internal/DDLGenerationMBeanImpl.java#L78-L81 |
69,581 | OpenLiberty/open-liberty | dev/com.ibm.ws.persistence.mbean/src/com/ibm/ws/persistence/mbean/internal/DDLGenerationMBeanImpl.java | DDLGenerationMBeanImpl.generateDDL | @Override
synchronized public Map<String, Serializable> generateDDL() {
Map<String, Serializable> returnMap = new HashMap<String, Serializable>();
WsResource ddlOutputDirectory = locationService.get().resolveResource(OUTPUT_DIR);
if (ddlOutputDirectory.exists() == false) {
ddlOut... | java | @Override
synchronized public Map<String, Serializable> generateDDL() {
Map<String, Serializable> returnMap = new HashMap<String, Serializable>();
WsResource ddlOutputDirectory = locationService.get().resolveResource(OUTPUT_DIR);
if (ddlOutputDirectory.exists() == false) {
ddlOut... | [
"@",
"Override",
"synchronized",
"public",
"Map",
"<",
"String",
",",
"Serializable",
">",
"generateDDL",
"(",
")",
"{",
"Map",
"<",
"String",
",",
"Serializable",
">",
"returnMap",
"=",
"new",
"HashMap",
"<",
"String",
",",
"Serializable",
">",
"(",
")",
... | Trigger DDL generation for anyone who needs to generate DDL. | [
"Trigger",
"DDL",
"generation",
"for",
"anyone",
"who",
"needs",
"to",
"generate",
"DDL",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.persistence.mbean/src/com/ibm/ws/persistence/mbean/internal/DDLGenerationMBeanImpl.java#L112-L190 |
69,582 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/jsf/BehaviorTagHandlerDelegate.java | BehaviorTagHandlerDelegate.createMetaRuleset | @Override
public MetaRuleset createMetaRuleset(Class type)
{
MetaRuleset ruleset = new MetaRulesetImpl(_delegate.getTag(), type);
ruleset.ignore("binding");
ruleset.ignore("event");
return ruleset;
} | java | @Override
public MetaRuleset createMetaRuleset(Class type)
{
MetaRuleset ruleset = new MetaRulesetImpl(_delegate.getTag(), type);
ruleset.ignore("binding");
ruleset.ignore("event");
return ruleset;
} | [
"@",
"Override",
"public",
"MetaRuleset",
"createMetaRuleset",
"(",
"Class",
"type",
")",
"{",
"MetaRuleset",
"ruleset",
"=",
"new",
"MetaRulesetImpl",
"(",
"_delegate",
".",
"getTag",
"(",
")",
",",
"type",
")",
";",
"ruleset",
".",
"ignore",
"(",
"\"bindin... | This tag call _delegate.setAttributes, so the returned MetaRuleset
should ignore attributes that are not supposed to be there like
"binding" and "event" | [
"This",
"tag",
"call",
"_delegate",
".",
"setAttributes",
"so",
"the",
"returned",
"MetaRuleset",
"should",
"ignore",
"attributes",
"that",
"are",
"not",
"supposed",
"to",
"be",
"there",
"like",
"binding",
"and",
"event"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/jsf/BehaviorTagHandlerDelegate.java#L110-L117 |
69,583 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/jsf/BehaviorTagHandlerDelegate.java | BehaviorTagHandlerDelegate.applyAttachedObject | public void applyAttachedObject(FacesContext context, UIComponent parent)
{
// Retrieve the current FaceletContext from FacesContext object
FaceletContext faceletContext = (FaceletContext) context.getAttributes().get(
FaceletContext.FACELET_CONTEXT_KEY);
ValueExpress... | java | public void applyAttachedObject(FacesContext context, UIComponent parent)
{
// Retrieve the current FaceletContext from FacesContext object
FaceletContext faceletContext = (FaceletContext) context.getAttributes().get(
FaceletContext.FACELET_CONTEXT_KEY);
ValueExpress... | [
"public",
"void",
"applyAttachedObject",
"(",
"FacesContext",
"context",
",",
"UIComponent",
"parent",
")",
"{",
"// Retrieve the current FaceletContext from FacesContext object",
"FaceletContext",
"faceletContext",
"=",
"(",
"FaceletContext",
")",
"context",
".",
"getAttribu... | Create a ClientBehavior and attach it to the component | [
"Create",
"a",
"ClientBehavior",
"and",
"attach",
"it",
"to",
"the",
"component"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/jsf/BehaviorTagHandlerDelegate.java#L122-L182 |
69,584 | OpenLiberty/open-liberty | dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java | MongoService.getDB | @FFDCIgnore(InvocationTargetException.class)
Object getDB(String databaseName) throws Exception {
final boolean trace = TraceComponent.isAnyTracingEnabled();
lock.readLock().lock();
try {
if (mongoClient == null) {
// Switch to write lock for lazy initialization
... | java | @FFDCIgnore(InvocationTargetException.class)
Object getDB(String databaseName) throws Exception {
final boolean trace = TraceComponent.isAnyTracingEnabled();
lock.readLock().lock();
try {
if (mongoClient == null) {
// Switch to write lock for lazy initialization
... | [
"@",
"FFDCIgnore",
"(",
"InvocationTargetException",
".",
"class",
")",
"Object",
"getDB",
"(",
"String",
"databaseName",
")",
"throws",
"Exception",
"{",
"final",
"boolean",
"trace",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"lock",
".",... | Get a Mongo DB instance, authenticated with the specified user and password if specified.
@param databaseName the database name.
@return com.mongodb.DB instance
@throws Exception if an error occurs. | [
"Get",
"a",
"Mongo",
"DB",
"instance",
"authenticated",
"with",
"the",
"specified",
"user",
"and",
"password",
"if",
"specified",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java#L268-L340 |
69,585 | OpenLiberty/open-liberty | dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java | MongoService.getCerticateSubject | private String getCerticateSubject(AtomicServiceReference<Object> serviceRef, Properties sslProperties) {
String certificateDN = null;
try {
certificateDN = sslHelper.getClientKeyCertSubject(serviceRef, sslProperties);
} catch (KeyStoreException ke) {
if (TraceComponent.i... | java | private String getCerticateSubject(AtomicServiceReference<Object> serviceRef, Properties sslProperties) {
String certificateDN = null;
try {
certificateDN = sslHelper.getClientKeyCertSubject(serviceRef, sslProperties);
} catch (KeyStoreException ke) {
if (TraceComponent.i... | [
"private",
"String",
"getCerticateSubject",
"(",
"AtomicServiceReference",
"<",
"Object",
">",
"serviceRef",
",",
"Properties",
"sslProperties",
")",
"{",
"String",
"certificateDN",
"=",
"null",
";",
"try",
"{",
"certificateDN",
"=",
"sslHelper",
".",
"getClientKeyC... | Call security code to read the subject name from the key in the keystore
@param serviceRef
@param sslProperties
@return | [
"Call",
"security",
"code",
"to",
"read",
"the",
"subject",
"name",
"from",
"the",
"key",
"in",
"the",
"keystore"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java#L504-L529 |
69,586 | OpenLiberty/open-liberty | dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java | MongoService.set | @FFDCIgnore(Throwable.class)
@Trivial
private void set(Class<?> MongoClientOptions_Builder, Object optionsBuilder, String propName,
Object value) throws IntrospectionException, IllegalArgumentException, IllegalAccessException, InvocationTargetException {
try {
if (TraceC... | java | @FFDCIgnore(Throwable.class)
@Trivial
private void set(Class<?> MongoClientOptions_Builder, Object optionsBuilder, String propName,
Object value) throws IntrospectionException, IllegalArgumentException, IllegalAccessException, InvocationTargetException {
try {
if (TraceC... | [
"@",
"FFDCIgnore",
"(",
"Throwable",
".",
"class",
")",
"@",
"Trivial",
"private",
"void",
"set",
"(",
"Class",
"<",
"?",
">",
"MongoClientOptions_Builder",
",",
"Object",
"optionsBuilder",
",",
"String",
"propName",
",",
"Object",
"value",
")",
"throws",
"I... | Configure a mongo option.
@param MongoClientOptions_Builder builder class
@param optionsBuilder builder instance
@param propName name of the config property.
@param type type of the config property. | [
"Configure",
"a",
"mongo",
"option",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java#L600-L628 |
69,587 | OpenLiberty/open-liberty | dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java | MongoService.setReadPreference | @FFDCIgnore(Throwable.class)
@Trivial
private void setReadPreference(Class<?> MongoClientOptions_Builder, Object optionsBuilder,
String creatorMethod) throws ClassNotFoundException, IllegalArgumentException, SecurityException, IllegalAccessException, InvocationTargetException,... | java | @FFDCIgnore(Throwable.class)
@Trivial
private void setReadPreference(Class<?> MongoClientOptions_Builder, Object optionsBuilder,
String creatorMethod) throws ClassNotFoundException, IllegalArgumentException, SecurityException, IllegalAccessException, InvocationTargetException,... | [
"@",
"FFDCIgnore",
"(",
"Throwable",
".",
"class",
")",
"@",
"Trivial",
"private",
"void",
"setReadPreference",
"(",
"Class",
"<",
"?",
">",
"MongoClientOptions_Builder",
",",
"Object",
"optionsBuilder",
",",
"String",
"creatorMethod",
")",
"throws",
"ClassNotFoun... | Configure the "readPreference" mongo option, which is a special case.
@param MongoClientOptions_Builder builder class
@param optionsBuilder builder instance
@param creatorMethod name of a static method of ReadPreference that creates an instance. | [
"Configure",
"the",
"readPreference",
"mongo",
"option",
"which",
"is",
"a",
"special",
"case",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java#L637-L660 |
69,588 | OpenLiberty/open-liberty | dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java | MongoService.setWriteConcern | @FFDCIgnore(Throwable.class)
@Trivial
private void setWriteConcern(Class<?> MongoClientOptions_Builder, Object optionsBuilder,
String fieldName) throws ClassNotFoundException, IllegalArgumentException, SecurityException, IllegalAccessException, InvocationTargetException, NoSuchM... | java | @FFDCIgnore(Throwable.class)
@Trivial
private void setWriteConcern(Class<?> MongoClientOptions_Builder, Object optionsBuilder,
String fieldName) throws ClassNotFoundException, IllegalArgumentException, SecurityException, IllegalAccessException, InvocationTargetException, NoSuchM... | [
"@",
"FFDCIgnore",
"(",
"Throwable",
".",
"class",
")",
"@",
"Trivial",
"private",
"void",
"setWriteConcern",
"(",
"Class",
"<",
"?",
">",
"MongoClientOptions_Builder",
",",
"Object",
"optionsBuilder",
",",
"String",
"fieldName",
")",
"throws",
"ClassNotFoundExcep... | Configure the "writeConcern" mongo option, which is a special case.
@param MongoClientOptions_Builder builder class
@param optionsBuilder builder instance
@param fieldName name of a static field of WriteConcern which is of the type WriteConcern. | [
"Configure",
"the",
"writeConcern",
"mongo",
"option",
"which",
"is",
"a",
"special",
"case",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java#L669-L691 |
69,589 | OpenLiberty/open-liberty | dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java | MongoService.setSsl | protected void setSsl(ServiceReference<Object> reference) {
sslConfigurationRef.setReference(reference);
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "sslRef set to " + reference.getProperty(CONFIG_DISPLAY_ID));
}
} | java | protected void setSsl(ServiceReference<Object> reference) {
sslConfigurationRef.setReference(reference);
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "sslRef set to " + reference.getProperty(CONFIG_DISPLAY_ID));
}
} | [
"protected",
"void",
"setSsl",
"(",
"ServiceReference",
"<",
"Object",
">",
"reference",
")",
"{",
"sslConfigurationRef",
".",
"setReference",
"(",
"reference",
")",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDe... | Declarative Services method for setting the SSL Support service reference
@param ref reference to the service | [
"Declarative",
"Services",
"method",
"for",
"setting",
"the",
"SSL",
"Support",
"service",
"reference"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java#L727-L732 |
69,590 | OpenLiberty/open-liberty | dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java | MongoService.unsetSsl | protected void unsetSsl(ServiceReference<Object> reference) {
sslConfigurationRef.unsetReference(reference);
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "sslRef unset");
}
} | java | protected void unsetSsl(ServiceReference<Object> reference) {
sslConfigurationRef.unsetReference(reference);
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "sslRef unset");
}
} | [
"protected",
"void",
"unsetSsl",
"(",
"ServiceReference",
"<",
"Object",
">",
"reference",
")",
"{",
"sslConfigurationRef",
".",
"unsetReference",
"(",
"reference",
")",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"... | Declarative Services method for unsetting the SSL Support service reference
@param ref reference to the service | [
"Declarative",
"Services",
"method",
"for",
"unsetting",
"the",
"SSL",
"Support",
"service",
"reference"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java#L739-L744 |
69,591 | OpenLiberty/open-liberty | dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java | MongoService.assertValidSSLConfig | private void assertValidSSLConfig() {
final boolean trace = TraceComponent.isAnyTracingEnabled();
boolean sslEnabled = (((Boolean) props.get(SSL_ENABLED)) == null) ? false : (Boolean) props.get(SSL_ENABLED);
boolean sslRefExists = ((props.get(SSL_REF)) == null) ? false : true;
if (sslR... | java | private void assertValidSSLConfig() {
final boolean trace = TraceComponent.isAnyTracingEnabled();
boolean sslEnabled = (((Boolean) props.get(SSL_ENABLED)) == null) ? false : (Boolean) props.get(SSL_ENABLED);
boolean sslRefExists = ((props.get(SSL_REF)) == null) ? false : true;
if (sslR... | [
"private",
"void",
"assertValidSSLConfig",
"(",
")",
"{",
"final",
"boolean",
"trace",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"boolean",
"sslEnabled",
"=",
"(",
"(",
"(",
"Boolean",
")",
"props",
".",
"get",
"(",
"SSL_ENABLED",
")"... | Validate combination of security parameters for certificate authentication. If
useCertificateAuthentication is specified SSL must be enabled, an ssslRef must be
specified and user and password should not be specified. | [
"Validate",
"combination",
"of",
"security",
"parameters",
"for",
"certificate",
"authentication",
".",
"If",
"useCertificateAuthentication",
"is",
"specified",
"SSL",
"must",
"be",
"enabled",
"an",
"ssslRef",
"must",
"be",
"specified",
"and",
"user",
"and",
"passwo... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java#L783-L815 |
69,592 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/ReferrerURLCookieHandler.java | ReferrerURLCookieHandler.getReferrerURLFromCookies | @Sensitive
public String getReferrerURLFromCookies(HttpServletRequest req, String cookieName) {
Cookie[] cookies = req.getCookies();
String referrerURL = CookieHelper.getCookieValue(cookies, cookieName);
if (referrerURL != null) {
StringBuffer URL = req.getRequestURL();
... | java | @Sensitive
public String getReferrerURLFromCookies(HttpServletRequest req, String cookieName) {
Cookie[] cookies = req.getCookies();
String referrerURL = CookieHelper.getCookieValue(cookies, cookieName);
if (referrerURL != null) {
StringBuffer URL = req.getRequestURL();
... | [
"@",
"Sensitive",
"public",
"String",
"getReferrerURLFromCookies",
"(",
"HttpServletRequest",
"req",
",",
"String",
"cookieName",
")",
"{",
"Cookie",
"[",
"]",
"cookies",
"=",
"req",
".",
"getCookies",
"(",
")",
";",
"String",
"referrerURL",
"=",
"CookieHelper",... | Retrieve the referrer URL from the HttpServletRequest's cookies.
This will decode the URL and restore the host name if it was removed.
@param req
@return referrerURL | [
"Retrieve",
"the",
"referrer",
"URL",
"from",
"the",
"HttpServletRequest",
"s",
"cookies",
".",
"This",
"will",
"decode",
"the",
"URL",
"and",
"restore",
"the",
"host",
"name",
"if",
"it",
"was",
"removed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/ReferrerURLCookieHandler.java#L50-L60 |
69,593 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/ReferrerURLCookieHandler.java | ReferrerURLCookieHandler.clearReferrerURLCookie | public void clearReferrerURLCookie(HttpServletRequest req, HttpServletResponse res, String cookieName) {
String url = CookieHelper.getCookieValue(req.getCookies(), cookieName);
if (url != null && url.length() > 0) {
invalidateReferrerURLCookie(req, res, cookieName);
}
} | java | public void clearReferrerURLCookie(HttpServletRequest req, HttpServletResponse res, String cookieName) {
String url = CookieHelper.getCookieValue(req.getCookies(), cookieName);
if (url != null && url.length() > 0) {
invalidateReferrerURLCookie(req, res, cookieName);
}
} | [
"public",
"void",
"clearReferrerURLCookie",
"(",
"HttpServletRequest",
"req",
",",
"HttpServletResponse",
"res",
",",
"String",
"cookieName",
")",
"{",
"String",
"url",
"=",
"CookieHelper",
".",
"getCookieValue",
"(",
"req",
".",
"getCookies",
"(",
")",
",",
"co... | Removes the referrer URL cookie from the HttpServletResponse if set in the
HttpServletRequest.
@param req
@param res | [
"Removes",
"the",
"referrer",
"URL",
"cookie",
"from",
"the",
"HttpServletResponse",
"if",
"set",
"in",
"the",
"HttpServletRequest",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/ReferrerURLCookieHandler.java#L154-L160 |
69,594 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/ReferrerURLCookieHandler.java | ReferrerURLCookieHandler.setReferrerURLCookie | public void setReferrerURLCookie(HttpServletRequest req, AuthenticationResult authResult, String url) {
//PM81345: If the URL contains favicon, then we will not update the value of the ReffererURL. The only way
//we will do it, is if the value of the cookie is null. This will solve the Error 500.
... | java | public void setReferrerURLCookie(HttpServletRequest req, AuthenticationResult authResult, String url) {
//PM81345: If the URL contains favicon, then we will not update the value of the ReffererURL. The only way
//we will do it, is if the value of the cookie is null. This will solve the Error 500.
... | [
"public",
"void",
"setReferrerURLCookie",
"(",
"HttpServletRequest",
"req",
",",
"AuthenticationResult",
"authResult",
",",
"String",
"url",
")",
"{",
"//PM81345: If the URL contains favicon, then we will not update the value of the ReffererURL. The only way",
"//we will do it, is if t... | Sets the referrer URL cookie into the AuthenticationResult. If
PRESERVE_FULLY_QUALIFIED_REFERRER_URL is not set, or set to false,
then the host name of the referrer URL is removed.
@param authResult AuthenticationResult instance
@param url non-null URL String
@param securityConfig SecurityConfig instance | [
"Sets",
"the",
"referrer",
"URL",
"cookie",
"into",
"the",
"AuthenticationResult",
".",
"If",
"PRESERVE_FULLY_QUALIFIED_REFERRER_URL",
"is",
"not",
"set",
"or",
"set",
"to",
"false",
"then",
"the",
"host",
"name",
"of",
"the",
"referrer",
"URL",
"is",
"removed",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/ReferrerURLCookieHandler.java#L221-L238 |
69,595 | OpenLiberty/open-liberty | dev/com.ibm.ws.transaction/src/com/ibm/ws/transaction/services/DeferredRecoveryStarter.java | DeferredRecoveryStarter.checkDataSource | @FFDCIgnore(Exception.class)
private boolean checkDataSource(DataSource nonTranDataSource)
{
boolean fullyFormedDS = false;
try
{
nonTranDataSource = (DataSource) _dataSourceFactory.createResource(null);
if (tc.isDebugEnabled())
Tr.debug(tc, "Non T... | java | @FFDCIgnore(Exception.class)
private boolean checkDataSource(DataSource nonTranDataSource)
{
boolean fullyFormedDS = false;
try
{
nonTranDataSource = (DataSource) _dataSourceFactory.createResource(null);
if (tc.isDebugEnabled())
Tr.debug(tc, "Non T... | [
"@",
"FFDCIgnore",
"(",
"Exception",
".",
"class",
")",
"private",
"boolean",
"checkDataSource",
"(",
"DataSource",
"nonTranDataSource",
")",
"{",
"boolean",
"fullyFormedDS",
"=",
"false",
";",
"try",
"{",
"nonTranDataSource",
"=",
"(",
"DataSource",
")",
"_data... | See whether it is possible to get a connection and metatdata from a DataSOurce.
@param nonTranDataSource
@return true if the DS is usable | [
"See",
"whether",
"it",
"is",
"possible",
"to",
"get",
"a",
"connection",
"and",
"metatdata",
"from",
"a",
"DataSOurce",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transaction/src/com/ibm/ws/transaction/services/DeferredRecoveryStarter.java#L82-L110 |
69,596 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java | TraceImpl.bytes | public void bytes(Object source,
Class sourceClass,
byte[] data) {
internalBytes(source,
sourceClass,
data,
0,
0);
} | java | public void bytes(Object source,
Class sourceClass,
byte[] data) {
internalBytes(source,
sourceClass,
data,
0,
0);
} | [
"public",
"void",
"bytes",
"(",
"Object",
"source",
",",
"Class",
"sourceClass",
",",
"byte",
"[",
"]",
"data",
")",
"{",
"internalBytes",
"(",
"source",
",",
"sourceClass",
",",
"data",
",",
"0",
",",
"0",
")",
";",
"}"
] | Byte data trace.
@param source
@param sourceClass
@param data | [
"Byte",
"data",
"trace",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java#L165-L173 |
69,597 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java | TraceImpl.entry | public final void entry(Class sourceClass,
String methodName) {
internalEntry(null,
sourceClass,
methodName,
null);
} | java | public final void entry(Class sourceClass,
String methodName) {
internalEntry(null,
sourceClass,
methodName,
null);
} | [
"public",
"final",
"void",
"entry",
"(",
"Class",
"sourceClass",
",",
"String",
"methodName",
")",
"{",
"internalEntry",
"(",
"null",
",",
"sourceClass",
",",
"methodName",
",",
"null",
")",
";",
"}"
] | Method entry tracing for static classes.
@param sourceClass The type of class which called this method
@param methodName The method name to trace | [
"Method",
"entry",
"tracing",
"for",
"static",
"classes",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java#L434-L440 |
69,598 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java | TraceImpl.exit | public final void exit(Class sourceClass,
String methodName) {
internalExit(null,
sourceClass,
methodName,
null);
} | java | public final void exit(Class sourceClass,
String methodName) {
internalExit(null,
sourceClass,
methodName,
null);
} | [
"public",
"final",
"void",
"exit",
"(",
"Class",
"sourceClass",
",",
"String",
"methodName",
")",
"{",
"internalExit",
"(",
"null",
",",
"sourceClass",
",",
"methodName",
",",
"null",
")",
";",
"}"
] | Method exit tracing for static methods.
@param sourceClass The type of class which called this method
@param methodName The method name to trace | [
"Method",
"exit",
"tracing",
"for",
"static",
"methods",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java#L590-L596 |
69,599 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java | TraceImpl.internalExit | private final void internalExit(Object source,
Class sourceClass,
String methodName,
Object object) {
StringBuffer stringBuffer = new StringBuffer();
stringBuffer.append(methodName);
stri... | java | private final void internalExit(Object source,
Class sourceClass,
String methodName,
Object object) {
StringBuffer stringBuffer = new StringBuffer();
stringBuffer.append(methodName);
stri... | [
"private",
"final",
"void",
"internalExit",
"(",
"Object",
"source",
",",
"Class",
"sourceClass",
",",
"String",
"methodName",
",",
"Object",
"object",
")",
"{",
"StringBuffer",
"stringBuffer",
"=",
"new",
"StringBuffer",
"(",
")",
";",
"stringBuffer",
".",
"a... | Internal implementation of method exit tracing.
@param source The class instance which called this method
@param sourceClass The type of class which called this method
@param methodName The method name to trace
@param object An object to trace with the exit point i.e. method parameter | [
"Internal",
"implementation",
"of",
"method",
"exit",
"tracing",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java#L690-L738 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.