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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
68,400 | OpenLiberty/open-liberty | dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/internal/ZipFileContainer.java | ZipFileContainer.isModified | private boolean isModified(ArtifactEntry entry, File file) {
long fileLastModified = FileUtils.fileLastModified(file);
long entryLastModified = entry.getLastModified();
// File 100K entry 10K delta 90k true (entry is much older than the file)
// File 10k entry 100k delta 90k t... | java | private boolean isModified(ArtifactEntry entry, File file) {
long fileLastModified = FileUtils.fileLastModified(file);
long entryLastModified = entry.getLastModified();
// File 100K entry 10K delta 90k true (entry is much older than the file)
// File 10k entry 100k delta 90k t... | [
"private",
"boolean",
"isModified",
"(",
"ArtifactEntry",
"entry",
",",
"File",
"file",
")",
"{",
"long",
"fileLastModified",
"=",
"FileUtils",
".",
"fileLastModified",
"(",
"file",
")",
";",
"long",
"entryLastModified",
"=",
"entry",
".",
"getLastModified",
"("... | Tell if an entry is modified relative to a file. That is if
the last modified times are different.
File last update times are accurate to about a second. Allow
the last modified times to match if they are that close.
@param entry The entry to test.
@param file The file to test.
@return True or false telling if the... | [
"Tell",
"if",
"an",
"entry",
"is",
"modified",
"relative",
"to",
"a",
"file",
".",
"That",
"is",
"if",
"the",
"last",
"modified",
"times",
"are",
"different",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/internal/ZipFileContainer.java#L1621-L1632 |
68,401 | OpenLiberty/open-liberty | dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/internal/ZipFileContainer.java | ZipFileContainer.deleteAll | @Trivial
private boolean deleteAll(File rootFile) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled() ) {
Tr.debug(tc, "Delete [ " + rootFile.getAbsolutePath() + " ]");
}
if ( FileUtils.fileIsFile(rootFile) ) {
boolean didDelete = FileUtils.fileDelete(r... | java | @Trivial
private boolean deleteAll(File rootFile) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled() ) {
Tr.debug(tc, "Delete [ " + rootFile.getAbsolutePath() + " ]");
}
if ( FileUtils.fileIsFile(rootFile) ) {
boolean didDelete = FileUtils.fileDelete(r... | [
"@",
"Trivial",
"private",
"boolean",
"deleteAll",
"(",
"File",
"rootFile",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"Delete ... | a single consolidated wrapper. | [
"a",
"single",
"consolidated",
"wrapper",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/internal/ZipFileContainer.java#L1670-L1723 |
68,402 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/RecLogServiceImpl.java | RecLogServiceImpl.startRecovery | public void startRecovery(RecoveryLogFactory fac) {
if (tc.isEntryEnabled())
Tr.entry(tc, "startRecovery", fac);
// This is a stand alone server. HA can never effect this server so direct local recovery now.
RecoveryDirector director = null;
try {
director = Reco... | java | public void startRecovery(RecoveryLogFactory fac) {
if (tc.isEntryEnabled())
Tr.entry(tc, "startRecovery", fac);
// This is a stand alone server. HA can never effect this server so direct local recovery now.
RecoveryDirector director = null;
try {
director = Reco... | [
"public",
"void",
"startRecovery",
"(",
"RecoveryLogFactory",
"fac",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"startRecovery\"",
",",
"fac",
")",
";",
"// This is a stand alone server. HA can never ef... | Driven by the runtime during server startup. This 'hook' is used to perform
recovery log service initialization. | [
"Driven",
"by",
"the",
"runtime",
"during",
"server",
"startup",
".",
"This",
"hook",
"is",
"used",
"to",
"perform",
"recovery",
"log",
"service",
"initialization",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/RecLogServiceImpl.java#L103-L144 |
68,403 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/RecLogServiceImpl.java | RecLogServiceImpl.checkPeersAtStartup | private boolean checkPeersAtStartup() {
if (tc.isEntryEnabled())
Tr.entry(tc, "checkPeersAtStartup");
boolean checkAtStartup;
try {
checkAtStartup = AccessController.doPrivileged(
new PrivilegedExceptionAction<B... | java | private boolean checkPeersAtStartup() {
if (tc.isEntryEnabled())
Tr.entry(tc, "checkPeersAtStartup");
boolean checkAtStartup;
try {
checkAtStartup = AccessController.doPrivileged(
new PrivilegedExceptionAction<B... | [
"private",
"boolean",
"checkPeersAtStartup",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"checkPeersAtStartup\"",
")",
";",
"boolean",
"checkAtStartup",
";",
"try",
"{",
"checkAtStartup",
"=",
... | This method retrieves a system property named com.ibm.ws.recoverylog.spi.CheckPeersAtStartup
which allows the check to see if peer servers are stale to be bypassed at server startup. The checks
will subsequently be performed through the spun-off timer thread.
@return | [
"This",
"method",
"retrieves",
"a",
"system",
"property",
"named",
"com",
".",
"ibm",
".",
"ws",
".",
"recoverylog",
".",
"spi",
".",
"CheckPeersAtStartup",
"which",
"allows",
"the",
"check",
"to",
"see",
"if",
"peer",
"servers",
"are",
"stale",
"to",
"be"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/RecLogServiceImpl.java#L190-L213 |
68,404 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/impl/LogRepositoryWriterImpl.java | LogRepositoryWriterImpl.writeHeader | public synchronized void writeHeader(long timestamp) throws IOException {
if (writer == null && headerBytes != null) {
writer = createNewWriter(manager.startNewFile(timestamp));
writer.write(headerBytes);
manager.notifyOfFileAction(LogEventListener.EVENTTYPEROLL) ;
}
} | java | public synchronized void writeHeader(long timestamp) throws IOException {
if (writer == null && headerBytes != null) {
writer = createNewWriter(manager.startNewFile(timestamp));
writer.write(headerBytes);
manager.notifyOfFileAction(LogEventListener.EVENTTYPEROLL) ;
}
} | [
"public",
"synchronized",
"void",
"writeHeader",
"(",
"long",
"timestamp",
")",
"throws",
"IOException",
"{",
"if",
"(",
"writer",
"==",
"null",
"&&",
"headerBytes",
"!=",
"null",
")",
"{",
"writer",
"=",
"createNewWriter",
"(",
"manager",
".",
"startNewFile",... | Publishes header if it wasn't done yet.
@param timestamp creation time to use on the new file if it needs to be created | [
"Publishes",
"header",
"if",
"it",
"wasn",
"t",
"done",
"yet",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/impl/LogRepositoryWriterImpl.java#L213-L219 |
68,405 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/impl/LogRepositoryWriterImpl.java | LogRepositoryWriterImpl.stop | public synchronized void stop() {
if (writer != null) {
try {
writer.close(headerBytes);
writer = null;
} catch (IOException ex) {
// No need to crash on this error even if the tail won't be written
// since reading logic can take care of that.
}
}
// Ensure that timer is stopped as well.... | java | public synchronized void stop() {
if (writer != null) {
try {
writer.close(headerBytes);
writer = null;
} catch (IOException ex) {
// No need to crash on this error even if the tail won't be written
// since reading logic can take care of that.
}
}
// Ensure that timer is stopped as well.... | [
"public",
"synchronized",
"void",
"stop",
"(",
")",
"{",
"if",
"(",
"writer",
"!=",
"null",
")",
"{",
"try",
"{",
"writer",
".",
"close",
"(",
"headerBytes",
")",
";",
"writer",
"=",
"null",
";",
"}",
"catch",
"(",
"IOException",
"ex",
")",
"{",
"/... | Stops this writer and close its output stream. | [
"Stops",
"this",
"writer",
"and",
"close",
"its",
"output",
"stream",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/impl/LogRepositoryWriterImpl.java#L224-L240 |
68,406 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/impl/LogRepositoryWriterImpl.java | LogRepositoryWriterImpl.enableFileSwitch | public void enableFileSwitch(int switchHour) {
if(fileSwitchTimer == null){
fileSwitchTimer = AccessHelper.createTimer();
}
//set calendar instance to the specified configuration hour for cutting
//default to midnight when the passed in value is invalid, or midnight is specified (to avoid negative va... | java | public void enableFileSwitch(int switchHour) {
if(fileSwitchTimer == null){
fileSwitchTimer = AccessHelper.createTimer();
}
//set calendar instance to the specified configuration hour for cutting
//default to midnight when the passed in value is invalid, or midnight is specified (to avoid negative va... | [
"public",
"void",
"enableFileSwitch",
"(",
"int",
"switchHour",
")",
"{",
"if",
"(",
"fileSwitchTimer",
"==",
"null",
")",
"{",
"fileSwitchTimer",
"=",
"AccessHelper",
".",
"createTimer",
"(",
")",
";",
"}",
"//set calendar instance to the specified configuration hour... | Enables file switching for the writer by configuring the timer to set a trigger based on the switchHour parm
@param switchHour the hour of the day for the file switching to occur, must be between the values of 0 through 23 | [
"Enables",
"file",
"switching",
"for",
"the",
"writer",
"by",
"configuring",
"the",
"timer",
"to",
"set",
"a",
"trigger",
"based",
"on",
"the",
"switchHour",
"parm"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/impl/LogRepositoryWriterImpl.java#L260-L296 |
68,407 | OpenLiberty/open-liberty | dev/com.ibm.ws.webserver.plugin.utility/src/com/ibm/ws/webserver/plugin/utility/utils/CommonMBeanConnection.java | CommonMBeanConnection.createPromptingTrustManager | private X509TrustManager createPromptingTrustManager() {
TrustManager[] trustManagers = null;
try {
String defaultAlg = TrustManagerFactory.getDefaultAlgorithm();
TrustManagerFactory tmf = TrustManagerFactory.getInstance(defaultAlg);
tmf.init((KeyStore) null);
... | java | private X509TrustManager createPromptingTrustManager() {
TrustManager[] trustManagers = null;
try {
String defaultAlg = TrustManagerFactory.getDefaultAlgorithm();
TrustManagerFactory tmf = TrustManagerFactory.getInstance(defaultAlg);
tmf.init((KeyStore) null);
... | [
"private",
"X509TrustManager",
"createPromptingTrustManager",
"(",
")",
"{",
"TrustManager",
"[",
"]",
"trustManagers",
"=",
"null",
";",
"try",
"{",
"String",
"defaultAlg",
"=",
"TrustManagerFactory",
".",
"getDefaultAlgorithm",
"(",
")",
";",
"TrustManagerFactory",
... | Create a custom trust manager which will prompt for trust acceptance.
@return | [
"Create",
"a",
"custom",
"trust",
"manager",
"which",
"will",
"prompt",
"for",
"trust",
"acceptance",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webserver.plugin.utility/src/com/ibm/ws/webserver/plugin/utility/utils/CommonMBeanConnection.java#L55-L72 |
68,408 | OpenLiberty/open-liberty | dev/com.ibm.ws.webserver.plugin.utility/src/com/ibm/ws/webserver/plugin/utility/utils/CommonMBeanConnection.java | CommonMBeanConnection.setUpSSLContext | private SSLSocketFactory setUpSSLContext() throws NoSuchAlgorithmException, KeyManagementException {
SSLContext ctx = SSLContext.getInstance("SSL");
ctx.init(null, new TrustManager[] { createPromptingTrustManager() }, null);
return ctx.getSocketFactory();
} | java | private SSLSocketFactory setUpSSLContext() throws NoSuchAlgorithmException, KeyManagementException {
SSLContext ctx = SSLContext.getInstance("SSL");
ctx.init(null, new TrustManager[] { createPromptingTrustManager() }, null);
return ctx.getSocketFactory();
} | [
"private",
"SSLSocketFactory",
"setUpSSLContext",
"(",
")",
"throws",
"NoSuchAlgorithmException",
",",
"KeyManagementException",
"{",
"SSLContext",
"ctx",
"=",
"SSLContext",
".",
"getInstance",
"(",
"\"SSL\"",
")",
";",
"ctx",
".",
"init",
"(",
"null",
",",
"new",... | Set up the common SSL context for the outbound connection.
@throws NoSuchAlgorithmException
@throws KeyManagementException | [
"Set",
"up",
"the",
"common",
"SSL",
"context",
"for",
"the",
"outbound",
"connection",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webserver.plugin.utility/src/com/ibm/ws/webserver/plugin/utility/utils/CommonMBeanConnection.java#L80-L84 |
68,409 | OpenLiberty/open-liberty | dev/com.ibm.ws.webserver.plugin.utility/src/com/ibm/ws/webserver/plugin/utility/utils/CommonMBeanConnection.java | CommonMBeanConnection.createJMXEnvironment | private HashMap<String, Object> createJMXEnvironment(final String user, final String password, final SSLSocketFactory sslSF) {
HashMap<String, Object> environment = new HashMap<String, Object>();
environment.put("jmx.remote.protocol.provider.pkgs", "com.ibm.ws.jmx.connector.client");
environment... | java | private HashMap<String, Object> createJMXEnvironment(final String user, final String password, final SSLSocketFactory sslSF) {
HashMap<String, Object> environment = new HashMap<String, Object>();
environment.put("jmx.remote.protocol.provider.pkgs", "com.ibm.ws.jmx.connector.client");
environment... | [
"private",
"HashMap",
"<",
"String",
",",
"Object",
">",
"createJMXEnvironment",
"(",
"final",
"String",
"user",
",",
"final",
"String",
"password",
",",
"final",
"SSLSocketFactory",
"sslSF",
")",
"{",
"HashMap",
"<",
"String",
",",
"Object",
">",
"environment... | Creates the common JMX environment used to connect to the controller.
@param user
@param password
@return | [
"Creates",
"the",
"common",
"JMX",
"environment",
"used",
"to",
"connect",
"to",
"the",
"controller",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webserver.plugin.utility/src/com/ibm/ws/webserver/plugin/utility/utils/CommonMBeanConnection.java#L93-L102 |
68,410 | OpenLiberty/open-liberty | dev/com.ibm.ws.webserver.plugin.utility/src/com/ibm/ws/webserver/plugin/utility/utils/CommonMBeanConnection.java | CommonMBeanConnection.getMBeanServerConnection | private JMXConnector getMBeanServerConnection(String controllerHost, int controllerPort, HashMap<String, Object> environment) throws MalformedURLException, IOException {
JMXServiceURL serviceURL = new JMXServiceURL("REST", controllerHost, controllerPort, "/IBMJMXConnectorREST");
return new ClientProvide... | java | private JMXConnector getMBeanServerConnection(String controllerHost, int controllerPort, HashMap<String, Object> environment) throws MalformedURLException, IOException {
JMXServiceURL serviceURL = new JMXServiceURL("REST", controllerHost, controllerPort, "/IBMJMXConnectorREST");
return new ClientProvide... | [
"private",
"JMXConnector",
"getMBeanServerConnection",
"(",
"String",
"controllerHost",
",",
"int",
"controllerPort",
",",
"HashMap",
"<",
"String",
",",
"Object",
">",
"environment",
")",
"throws",
"MalformedURLException",
",",
"IOException",
"{",
"JMXServiceURL",
"s... | Get the MBeanServerConnection for the target controller host and port.
@param controllerHost
@param controllerPort
@param environment
@return
@throws MalformedURLException
@throws IOException | [
"Get",
"the",
"MBeanServerConnection",
"for",
"the",
"target",
"controller",
"host",
"and",
"port",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webserver.plugin.utility/src/com/ibm/ws/webserver/plugin/utility/utils/CommonMBeanConnection.java#L114-L117 |
68,411 | OpenLiberty/open-liberty | dev/com.ibm.ws.webserver.plugin.utility/src/com/ibm/ws/webserver/plugin/utility/utils/CommonMBeanConnection.java | CommonMBeanConnection.getJMXConnector | public JMXConnector getJMXConnector(String controllerHost, int controllerPort, String user, String password) throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException, IOException {
HashMap<String, Object> environment = createJMXEnvironment(user, password, setUpSSLContext());
JMXCon... | java | public JMXConnector getJMXConnector(String controllerHost, int controllerPort, String user, String password) throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException, IOException {
HashMap<String, Object> environment = createJMXEnvironment(user, password, setUpSSLContext());
JMXCon... | [
"public",
"JMXConnector",
"getJMXConnector",
"(",
"String",
"controllerHost",
",",
"int",
"controllerPort",
",",
"String",
"user",
",",
"String",
"password",
")",
"throws",
"NoSuchAlgorithmException",
",",
"KeyManagementException",
",",
"MalformedURLException",
",",
"IO... | Returns a connected JMXConnector.
@param controllerHost
@param controllerPort
@param user
@param password
@return
@throws NoSuchAlgorithmException
@throws KeyManagementException
@throws MalformedURLException
@throws IOException | [
"Returns",
"a",
"connected",
"JMXConnector",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webserver.plugin.utility/src/com/ibm/ws/webserver/plugin/utility/utils/CommonMBeanConnection.java#L132-L137 |
68,412 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/LocalTransactionProxy.java | LocalTransactionProxy.commit | public synchronized void commit()
throws SIIncorrectCallException,
SIRollbackException,
SIResourceException,
SIConnectionLostException,
SIErrorException
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "commit");
if (!valid)
{
... | java | public synchronized void commit()
throws SIIncorrectCallException,
SIRollbackException,
SIResourceException,
SIConnectionLostException,
SIErrorException
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "commit");
if (!valid)
{
... | [
"public",
"synchronized",
"void",
"commit",
"(",
")",
"throws",
"SIIncorrectCallException",
",",
"SIRollbackException",
",",
"SIResourceException",
",",
"SIConnectionLostException",
",",
"SIErrorException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
... | Commits this transaction by flowing the commit to the server and marking this
transaction as invalid. | [
"Commits",
"this",
"transaction",
"by",
"flowing",
"the",
"commit",
"to",
"the",
"server",
"and",
"marking",
"this",
"transaction",
"as",
"invalid",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/LocalTransactionProxy.java#L83-L139 |
68,413 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/LocalTransactionProxy.java | LocalTransactionProxy.rollback | public synchronized void rollback()
throws SIIncorrectCallException,
SIResourceException,
SIConnectionLostException,
SIErrorException
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "rollback");
if (!valid)
{
throw new SIIncorrectCall... | java | public synchronized void rollback()
throws SIIncorrectCallException,
SIResourceException,
SIConnectionLostException,
SIErrorException
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "rollback");
if (!valid)
{
throw new SIIncorrectCall... | [
"public",
"synchronized",
"void",
"rollback",
"(",
")",
"throws",
"SIIncorrectCallException",
",",
"SIResourceException",
",",
"SIConnectionLostException",
",",
"SIErrorException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
... | Rolls back this transaction by flowing the rollback to the server and marking this
transaction as invalid.
@throws com.ibm.websphere.sib.exception.SIIncorrectCallException
@throws com.ibm.wsspi.sib.core.exception.SIRollbackException
@throws com.ibm.websphere.sib.exception.SIResourceException
@throws com.ibm.wsspi.sib.... | [
"Rolls",
"back",
"this",
"transaction",
"by",
"flowing",
"the",
"rollback",
"to",
"the",
"server",
"and",
"marking",
"this",
"transaction",
"as",
"invalid",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/LocalTransactionProxy.java#L151-L213 |
68,414 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/LocalTransactionProxy.java | LocalTransactionProxy.isValid | public synchronized boolean isValid()
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "isValid");
if (tc.isEntryEnabled()) SibTr.exit(this, tc, "isValid", ""+valid);
return valid;
} | java | public synchronized boolean isValid()
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "isValid");
if (tc.isEntryEnabled()) SibTr.exit(this, tc, "isValid", ""+valid);
return valid;
} | [
"public",
"synchronized",
"boolean",
"isValid",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"isValid\"",
")",
";",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
... | This method will return true if the transaction has not been committed
or rolled back.
@return boolean | [
"This",
"method",
"will",
"return",
"true",
"if",
"the",
"transaction",
"has",
"not",
"been",
"committed",
"or",
"rolled",
"back",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/LocalTransactionProxy.java#L221-L226 |
68,415 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/Transaction.java | Transaction.getLowestMessagePriority | public short getLowestMessagePriority()
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "getLowestMessagePriority");
if (tc.isEntryEnabled()) SibTr.exit(this, tc, "getLowestMessagePriority", ""+lowestPriority);
return lowestPriority;
} | java | public short getLowestMessagePriority()
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "getLowestMessagePriority");
if (tc.isEntryEnabled()) SibTr.exit(this, tc, "getLowestMessagePriority", ""+lowestPriority);
return lowestPriority;
} | [
"public",
"short",
"getLowestMessagePriority",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"getLowestMessagePriority\"",
")",
";",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
... | This method gets the lowest message priority being used in this transaction
and as such is the JFAP priority that commit and rollback will be sent as.
@return short | [
"This",
"method",
"gets",
"the",
"lowest",
"message",
"priority",
"being",
"used",
"in",
"this",
"transaction",
"and",
"as",
"such",
"is",
"the",
"JFAP",
"priority",
"that",
"commit",
"and",
"rollback",
"will",
"be",
"sent",
"as",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/Transaction.java#L121-L126 |
68,416 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/Transaction.java | Transaction.updateLowestMessagePriority | public void updateLowestMessagePriority(short messagePriority)
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "updateLowestMessagePriority",
new Object[] {""+messagePriority});
// Only update if the message priority is lower than another message
... | java | public void updateLowestMessagePriority(short messagePriority)
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "updateLowestMessagePriority",
new Object[] {""+messagePriority});
// Only update if the message priority is lower than another message
... | [
"public",
"void",
"updateLowestMessagePriority",
"(",
"short",
"messagePriority",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"updateLowestMessagePriority\"",
",",
"new",
"Object",
"[",... | This method is used to update the lowest message priority
that has been sent on this transaction. The value passed in
is stored if it is lower than a previous value. Otherwise
it is ignored. The stored value is then used on the exchanges
sent when we commit or rollback.
@param messagePriority | [
"This",
"method",
"is",
"used",
"to",
"update",
"the",
"lowest",
"message",
"priority",
"that",
"has",
"been",
"sent",
"on",
"this",
"transaction",
".",
"The",
"value",
"passed",
"in",
"is",
"stored",
"if",
"it",
"is",
"lower",
"than",
"a",
"previous",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/Transaction.java#L137-L150 |
68,417 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/Transaction.java | Transaction.associateConsumer | public void associateConsumer(ConsumerSessionProxy consumer) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "associateConsumer", new Object[]{consumer, Boolean.valueOf(strictRedeliveryOrdering)});
// This is a no-op if strict redelivery ordering is... | java | public void associateConsumer(ConsumerSessionProxy consumer) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "associateConsumer", new Object[]{consumer, Boolean.valueOf(strictRedeliveryOrdering)});
// This is a no-op if strict redelivery ordering is... | [
"public",
"void",
"associateConsumer",
"(",
"ConsumerSessionProxy",
"consumer",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",... | Called each time a recoverable message is deleted from a consumer using a
proxy queue under this transaction, to allow the transaction to callback
inform the proxy queue it should purge any read-ahead messages if required.
No-op if strict redelivery ordering is disabled. | [
"Called",
"each",
"time",
"a",
"recoverable",
"message",
"is",
"deleted",
"from",
"a",
"consumer",
"using",
"a",
"proxy",
"queue",
"under",
"this",
"transaction",
"to",
"allow",
"the",
"transaction",
"to",
"callback",
"inform",
"the",
"proxy",
"queue",
"it",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/Transaction.java#L159-L173 |
68,418 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/Transaction.java | Transaction.informConsumersOfRollback | public void informConsumersOfRollback() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "informConsumersOfRollback", new Object[]{Boolean.valueOf(strictRedeliveryOrdering)});
if (strictRedeliveryOrdering) {
// Take a copy of the set of consumers, t... | java | public void informConsumersOfRollback() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "informConsumersOfRollback", new Object[]{Boolean.valueOf(strictRedeliveryOrdering)});
if (strictRedeliveryOrdering) {
// Take a copy of the set of consumers, t... | [
"public",
"void",
"informConsumersOfRollback",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"informConsumersOfRollback\... | Inform all associated consumers that a rollback has occurred.
No-op if strict redelivery ordering is disabled. | [
"Inform",
"all",
"associated",
"consumers",
"that",
"a",
"rollback",
"has",
"occurred",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/Transaction.java#L180-L216 |
68,419 | OpenLiberty/open-liberty | dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/management/JPAExEntityManager.java | JPAExEntityManager.unboundSfsbFromExtendedPC | static void unboundSfsbFromExtendedPC(JPAExPcBindingContext bindingContext)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "unboundSfsbFromExtendedPC : " + bindingContext);
JPAPuId puIds[] = bindingContext.getExPcPuIds();
long bindId = bindingCon... | java | static void unboundSfsbFromExtendedPC(JPAExPcBindingContext bindingContext)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "unboundSfsbFromExtendedPC : " + bindingContext);
JPAPuId puIds[] = bindingContext.getExPcPuIds();
long bindId = bindingCon... | [
"static",
"void",
"unboundSfsbFromExtendedPC",
"(",
"JPAExPcBindingContext",
"bindingContext",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\... | When SFSB instances are removed or discard, this method is called to unbind the SFSB from the
associated persistence context. When the last SFSB is removed from the bound collection, the
associated EntityManager is closed.
@param bindingContext
to be unbound | [
"When",
"SFSB",
"instances",
"are",
"removed",
"or",
"discard",
"this",
"method",
"is",
"called",
"to",
"unbind",
"the",
"SFSB",
"from",
"the",
"associated",
"persistence",
"context",
".",
"When",
"the",
"last",
"SFSB",
"is",
"removed",
"from",
"the",
"bound... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/management/JPAExEntityManager.java#L719-L756 |
68,420 | OpenLiberty/open-liberty | dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/management/JPAExEntityManager.java | JPAExEntityManager.parentHasSameExPc | private static final boolean parentHasSameExPc(JPAPuId parentPuIds[], JPAPuId puId)
{
for (JPAPuId parentPuId : parentPuIds)
{
if (parentPuId.equals(puId))
{
return true;
}
}
return false;
} | java | private static final boolean parentHasSameExPc(JPAPuId parentPuIds[], JPAPuId puId)
{
for (JPAPuId parentPuId : parentPuIds)
{
if (parentPuId.equals(puId))
{
return true;
}
}
return false;
} | [
"private",
"static",
"final",
"boolean",
"parentHasSameExPc",
"(",
"JPAPuId",
"parentPuIds",
"[",
"]",
",",
"JPAPuId",
"puId",
")",
"{",
"for",
"(",
"JPAPuId",
"parentPuId",
":",
"parentPuIds",
")",
"{",
"if",
"(",
"parentPuId",
".",
"equals",
"(",
"puId",
... | Returns true if the caller and callee have declared the same @ PersistneceContext
in their components. | [
"Returns",
"true",
"if",
"the",
"caller",
"and",
"callee",
"have",
"declared",
"the",
"same"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/management/JPAExEntityManager.java#L762-L772 |
68,421 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/PriorityQueue.java | PriorityQueue.queue | public void queue(JFapByteBuffer bufferData,
int segmentType,
int requestNumber,
int priority,
SendListener sendListener,
Conversation conversation,
Connection connection,
i... | java | public void queue(JFapByteBuffer bufferData,
int segmentType,
int requestNumber,
int priority,
SendListener sendListener,
Conversation conversation,
Connection connection,
i... | [
"public",
"void",
"queue",
"(",
"JFapByteBuffer",
"bufferData",
",",
"int",
"segmentType",
",",
"int",
"requestNumber",
",",
"int",
"priority",
",",
"SendListener",
"sendListener",
",",
"Conversation",
"conversation",
",",
"Connection",
"connection",
",",
"int",
"... | Queues the specified request into the priority table. | [
"Queues",
"the",
"specified",
"request",
"into",
"the",
"priority",
"table",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/PriorityQueue.java#L234-L271 |
68,422 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/PriorityQueue.java | PriorityQueue.dequeue | public TransmissionData dequeue()
throws SIConnectionDroppedException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dequeue");
TransmissionData retValue = null;
Queue queue = null;
synchronized(queueMonitor)
{
if (state == CLOSED... | java | public TransmissionData dequeue()
throws SIConnectionDroppedException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dequeue");
TransmissionData retValue = null;
Queue queue = null;
synchronized(queueMonitor)
{
if (state == CLOSED... | [
"public",
"TransmissionData",
"dequeue",
"(",
")",
"throws",
"SIConnectionDroppedException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc"... | De-queues the highest priority entry from the table
@throws SIConnectionDroppedException if the priorty queue has been
closed or purged.
@return RequestData Returns the highest priority request data
object or null. | [
"De",
"-",
"queues",
"the",
"highest",
"priority",
"entry",
"from",
"the",
"table"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/PriorityQueue.java#L390-L481 |
68,423 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/PriorityQueue.java | PriorityQueue.hasCapacity | public boolean hasCapacity(int priority)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "hasCapacity", ""+priority);
boolean result;
synchronized(queueMonitor)
{
result = priority >= lowestPriorityWithCapacity;
}
if (TraceCompon... | java | public boolean hasCapacity(int priority)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "hasCapacity", ""+priority);
boolean result;
synchronized(queueMonitor)
{
result = priority >= lowestPriorityWithCapacity;
}
if (TraceCompon... | [
"public",
"boolean",
"hasCapacity",
"(",
"int",
"priority",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"hasCapacity\""... | Checks to see if a given priority level has the capacity to accept another
message to be queued.
@param priority
@return boolean | [
"Checks",
"to",
"see",
"if",
"a",
"given",
"priority",
"level",
"has",
"the",
"capacity",
"to",
"accept",
"another",
"message",
"to",
"be",
"queued",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/PriorityQueue.java#L489-L501 |
68,424 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/PriorityQueue.java | PriorityQueue.close | public void close(boolean immediate)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "close", ""+immediate);
synchronized(queueMonitor)
{
if (immediate || (totalQueueDepth == 0))
{
state = CLOSED;
closeWaitersMonito... | java | public void close(boolean immediate)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "close", ""+immediate);
synchronized(queueMonitor)
{
if (immediate || (totalQueueDepth == 0))
{
state = CLOSED;
closeWaitersMonito... | [
"public",
"void",
"close",
"(",
"boolean",
"immediate",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"close\"",
",",
... | Closes the priority queue. This causes all new queue requests to be ignored.
Any existing data that has been queued may be dequeued, unless the immediate flag
has been set, in which case, we consider ourselves closed. | [
"Closes",
"the",
"priority",
"queue",
".",
"This",
"causes",
"all",
"new",
"queue",
"requests",
"to",
"be",
"ignored",
".",
"Any",
"existing",
"data",
"that",
"has",
"been",
"queued",
"may",
"be",
"dequeued",
"unless",
"the",
"immediate",
"flag",
"has",
"b... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/PriorityQueue.java#L508-L524 |
68,425 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/PriorityQueue.java | PriorityQueue.purge | public void purge()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "purge");
synchronized(queueMonitor)
{
state = CLOSED;
for (int i=0; i < JFapChannelConstants.MAX_PRIORITY_LEVELS-1; ++i)
{
queueArray[i].monitor.setActive(false);
}
... | java | public void purge()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "purge");
synchronized(queueMonitor)
{
state = CLOSED;
for (int i=0; i < JFapChannelConstants.MAX_PRIORITY_LEVELS-1; ++i)
{
queueArray[i].monitor.setActive(false);
}
... | [
"public",
"void",
"purge",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"purge\"",
")",
";",
"synchronized",
"(... | Purges the content of the priority queue. This closes the queue and
wakes up any blocked threads | [
"Purges",
"the",
"content",
"of",
"the",
"priority",
"queue",
".",
"This",
"closes",
"the",
"queue",
"and",
"wakes",
"up",
"any",
"blocked",
"threads"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/PriorityQueue.java#L530-L545 |
68,426 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/PriorityQueue.java | PriorityQueue.waitForCloseToComplete | public void waitForCloseToComplete()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "waitForCloseToComplete");
closeWaitersMonitor.waitOn();
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "waitForCloseToComplete");
... | java | public void waitForCloseToComplete()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "waitForCloseToComplete");
closeWaitersMonitor.waitOn();
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "waitForCloseToComplete");
... | [
"public",
"void",
"waitForCloseToComplete",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"waitForCloseToComplete\"",
... | Blocks until a close operation has completed. I.e. the priority queue has been
drained. If the queue is already closed, this method returns immeidately. | [
"Blocks",
"until",
"a",
"close",
"operation",
"has",
"completed",
".",
"I",
".",
"e",
".",
"the",
"priority",
"queue",
"has",
"been",
"drained",
".",
"If",
"the",
"queue",
"is",
"already",
"closed",
"this",
"method",
"returns",
"immeidately",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/PriorityQueue.java#L552-L559 |
68,427 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/PriorityQueue.java | PriorityQueue.isEmpty | public boolean isEmpty() throws SIConnectionDroppedException
{
synchronized(queueMonitor)
{
if (state == CLOSED) throw new SIConnectionDroppedException(TraceNLS.getFormattedMessage(JFapChannelConstants.MSG_BUNDLE, "PRIORITY_QUEUE_PURGED_SICJ0077", null, "PRIORITY_QUEUE_PURGED_SICJ0077"));
... | java | public boolean isEmpty() throws SIConnectionDroppedException
{
synchronized(queueMonitor)
{
if (state == CLOSED) throw new SIConnectionDroppedException(TraceNLS.getFormattedMessage(JFapChannelConstants.MSG_BUNDLE, "PRIORITY_QUEUE_PURGED_SICJ0077", null, "PRIORITY_QUEUE_PURGED_SICJ0077"));
... | [
"public",
"boolean",
"isEmpty",
"(",
")",
"throws",
"SIConnectionDroppedException",
"{",
"synchronized",
"(",
"queueMonitor",
")",
"{",
"if",
"(",
"state",
"==",
"CLOSED",
")",
"throw",
"new",
"SIConnectionDroppedException",
"(",
"TraceNLS",
".",
"getFormattedMessag... | Returns true iff this priority queue is empty.
@throws SIConnectionDroppedException if the priorty queue has been
closed or purged.
@return True iff this priority queue is empty. | [
"Returns",
"true",
"iff",
"this",
"priority",
"queue",
"is",
"empty",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/PriorityQueue.java#L578-L585 |
68,428 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.feature.cmdline/src/com/ibm/ws/kernel/feature/internal/generator/FeatureList.java | FeatureList.isGABuild | private static boolean isGABuild() {
boolean result = true;
final Properties props = new Properties();
AccessController.doPrivileged(new PrivilegedAction<Object>() {
@Override
public Object run() {
try {
final File version = new File(... | java | private static boolean isGABuild() {
boolean result = true;
final Properties props = new Properties();
AccessController.doPrivileged(new PrivilegedAction<Object>() {
@Override
public Object run() {
try {
final File version = new File(... | [
"private",
"static",
"boolean",
"isGABuild",
"(",
")",
"{",
"boolean",
"result",
"=",
"true",
";",
"final",
"Properties",
"props",
"=",
"new",
"Properties",
"(",
")",
";",
"AccessController",
".",
"doPrivileged",
"(",
"new",
"PrivilegedAction",
"<",
"Object",
... | Work out whether we should generate the schema for a GA build or not.
@return true if ga schema, false otherwise. | [
"Work",
"out",
"whether",
"we",
"should",
"generate",
"the",
"schema",
"for",
"a",
"GA",
"build",
"or",
"not",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.feature.cmdline/src/com/ibm/ws/kernel/feature/internal/generator/FeatureList.java#L580-L616 |
68,429 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/error/SocialLoginException.java | SocialLoginException.setFfdcAlready | public void setFfdcAlready(boolean ffdcAlready) {
this.ffdcAlready = ffdcAlready;
if (tc.isDebugEnabled()) {
Tr.debug(tc, "ffdc already handled? " + ffdcAlready);
}
} | java | public void setFfdcAlready(boolean ffdcAlready) {
this.ffdcAlready = ffdcAlready;
if (tc.isDebugEnabled()) {
Tr.debug(tc, "ffdc already handled? " + ffdcAlready);
}
} | [
"public",
"void",
"setFfdcAlready",
"(",
"boolean",
"ffdcAlready",
")",
"{",
"this",
".",
"ffdcAlready",
"=",
"ffdcAlready",
";",
"if",
"(",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"ffdc already handled? \"",
... | set to true if FFDC already handle this exception | [
"set",
"to",
"true",
"if",
"FFDC",
"already",
"handle",
"this",
"exception"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/error/SocialLoginException.java#L150-L155 |
68,430 | OpenLiberty/open-liberty | dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/impl/OpenAPIUIBundlesUpdater.java | OpenAPIUIBundlesUpdater.getResource | private static String getResource(Bundle myBundle, String resourcePath) {
if (myBundle == null)
return null;
String bundleShortDescription = getBundleDescription(myBundle);
StringBuilder responseString = new StringBuilder();
URL bundleResource = myBundle.getResource(resourceP... | java | private static String getResource(Bundle myBundle, String resourcePath) {
if (myBundle == null)
return null;
String bundleShortDescription = getBundleDescription(myBundle);
StringBuilder responseString = new StringBuilder();
URL bundleResource = myBundle.getResource(resourceP... | [
"private",
"static",
"String",
"getResource",
"(",
"Bundle",
"myBundle",
",",
"String",
"resourcePath",
")",
"{",
"if",
"(",
"myBundle",
"==",
"null",
")",
"return",
"null",
";",
"String",
"bundleShortDescription",
"=",
"getBundleDescription",
"(",
"myBundle",
"... | Return as a string the contents of a file in the bundle. | [
"Return",
"as",
"a",
"string",
"the",
"contents",
"of",
"a",
"file",
"in",
"the",
"bundle",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/impl/OpenAPIUIBundlesUpdater.java#L267-L293 |
68,431 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.core/src/com/ibm/ws/logging/internal/PackageProcessor.java | PackageProcessor.harvestPackageList | private static void harvestPackageList(BundlePackages packages, Bundle bundle) {
// Double check that the bundle is (still) installed:
if (bundle.getLocation() != null && bundle.getState() != Bundle.UNINSTALLED) {
BundleManifest manifest = new BundleManifest(bundle);
/*
... | java | private static void harvestPackageList(BundlePackages packages, Bundle bundle) {
// Double check that the bundle is (still) installed:
if (bundle.getLocation() != null && bundle.getState() != Bundle.UNINSTALLED) {
BundleManifest manifest = new BundleManifest(bundle);
/*
... | [
"private",
"static",
"void",
"harvestPackageList",
"(",
"BundlePackages",
"packages",
",",
"Bundle",
"bundle",
")",
"{",
"// Double check that the bundle is (still) installed:",
"if",
"(",
"bundle",
".",
"getLocation",
"(",
")",
"!=",
"null",
"&&",
"bundle",
".",
"g... | This method is static to avoid concurrent access issues. | [
"This",
"method",
"is",
"static",
"to",
"avoid",
"concurrent",
"access",
"issues",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/logging/internal/PackageProcessor.java#L183-L200 |
68,432 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.core/src/com/ibm/ws/logging/internal/PackageProcessor.java | PackageProcessor.extractPackageFromStackTraceElement | public static String extractPackageFromStackTraceElement(StackTraceElement element) {
String className = element.getClassName();
int lastDotIndex = className.lastIndexOf(".");
String packageName;
if (lastDotIndex > 0) {
packageName = className.substring(0, lastDotIndex);
... | java | public static String extractPackageFromStackTraceElement(StackTraceElement element) {
String className = element.getClassName();
int lastDotIndex = className.lastIndexOf(".");
String packageName;
if (lastDotIndex > 0) {
packageName = className.substring(0, lastDotIndex);
... | [
"public",
"static",
"String",
"extractPackageFromStackTraceElement",
"(",
"StackTraceElement",
"element",
")",
"{",
"String",
"className",
"=",
"element",
".",
"getClassName",
"(",
")",
";",
"int",
"lastDotIndex",
"=",
"className",
".",
"lastIndexOf",
"(",
"\".\"",
... | Work out the package name from a StackTraceElement. This is easier than a stack trace
line, because we already know the class name. | [
"Work",
"out",
"the",
"package",
"name",
"from",
"a",
"StackTraceElement",
".",
"This",
"is",
"easier",
"than",
"a",
"stack",
"trace",
"line",
"because",
"we",
"already",
"know",
"the",
"class",
"name",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/logging/internal/PackageProcessor.java#L237-L247 |
68,433 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.core/src/com/ibm/ws/logging/internal/PackageProcessor.java | PackageProcessor.isSpecOrThirdPartyOrBootDelegationPackage | public boolean isSpecOrThirdPartyOrBootDelegationPackage(String packageName) {
SharedPackageInspector inspector = st.getService();
if (inspector != null) {
PackageType type = inspector.getExportedPackageType(packageName);
if (type != null && type.isSpecApi()) {
r... | java | public boolean isSpecOrThirdPartyOrBootDelegationPackage(String packageName) {
SharedPackageInspector inspector = st.getService();
if (inspector != null) {
PackageType type = inspector.getExportedPackageType(packageName);
if (type != null && type.isSpecApi()) {
r... | [
"public",
"boolean",
"isSpecOrThirdPartyOrBootDelegationPackage",
"(",
"String",
"packageName",
")",
"{",
"SharedPackageInspector",
"inspector",
"=",
"st",
".",
"getService",
"(",
")",
";",
"if",
"(",
"inspector",
"!=",
"null",
")",
"{",
"PackageType",
"type",
"="... | Returns true is this package is distributed as part of the Liberty server, but
is 'external' to IBM and available to user applications - that is, if its
exposed as a boot delegation package, or a spec package, or a third party API.
@param packageName the package name to check for
@return | [
"Returns",
"true",
"is",
"this",
"package",
"is",
"distributed",
"as",
"part",
"of",
"the",
"Liberty",
"server",
"but",
"is",
"external",
"to",
"IBM",
"and",
"available",
"to",
"user",
"applications",
"-",
"that",
"is",
"if",
"its",
"exposed",
"as",
"a",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/logging/internal/PackageProcessor.java#L257-L279 |
68,434 | OpenLiberty/open-liberty | dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/jsl/CloneUtility.java | CloneUtility.jslPropertiesToJavaProperties | public static Properties jslPropertiesToJavaProperties(
final JSLProperties xmlProperties) {
final Properties props = new Properties();
for (final Property prop : xmlProperties.getPropertyList()) {
props.setProperty(prop.getName(), prop.getValue());
}
return pr... | java | public static Properties jslPropertiesToJavaProperties(
final JSLProperties xmlProperties) {
final Properties props = new Properties();
for (final Property prop : xmlProperties.getPropertyList()) {
props.setProperty(prop.getName(), prop.getValue());
}
return pr... | [
"public",
"static",
"Properties",
"jslPropertiesToJavaProperties",
"(",
"final",
"JSLProperties",
"xmlProperties",
")",
"{",
"final",
"Properties",
"props",
"=",
"new",
"Properties",
"(",
")",
";",
"for",
"(",
"final",
"Property",
"prop",
":",
"xmlProperties",
"."... | Creates a java.util.Properties map from a com.ibm.jbatch.jsl.model.Properties
object.
@param xmlProperties
@return | [
"Creates",
"a",
"java",
".",
"util",
".",
"Properties",
"map",
"from",
"a",
"com",
".",
"ibm",
".",
"jbatch",
".",
"jsl",
".",
"model",
".",
"Properties",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/jsl/CloneUtility.java#L257-L268 |
68,435 | OpenLiberty/open-liberty | dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/jsl/CloneUtility.java | CloneUtility.javaPropsTojslProperties | public static JSLProperties javaPropsTojslProperties(final Properties javaProps) {
JSLProperties newJSLProps = jslFactory.createJSLProperties();
Enumeration<?> keySet = javaProps.propertyNames();
while (keySet.hasMoreElements()) {
String key = (String)keySet.nextE... | java | public static JSLProperties javaPropsTojslProperties(final Properties javaProps) {
JSLProperties newJSLProps = jslFactory.createJSLProperties();
Enumeration<?> keySet = javaProps.propertyNames();
while (keySet.hasMoreElements()) {
String key = (String)keySet.nextE... | [
"public",
"static",
"JSLProperties",
"javaPropsTojslProperties",
"(",
"final",
"Properties",
"javaProps",
")",
"{",
"JSLProperties",
"newJSLProps",
"=",
"jslFactory",
".",
"createJSLProperties",
"(",
")",
";",
"Enumeration",
"<",
"?",
">",
"keySet",
"=",
"javaProps"... | Creates a new JSLProperties list from a java.util.Properties
object.
@param xmlProperties
@return | [
"Creates",
"a",
"new",
"JSLProperties",
"list",
"from",
"a",
"java",
".",
"util",
".",
"Properties",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/jsl/CloneUtility.java#L277-L296 |
68,436 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.logging/src/com/ibm/ws/kernel/boot/logging/WsLogManager.java | WsLogManager.getLogger | @Override
public Logger getLogger(String name) {
// get the logger from the super impl
Logger logger = super.getLogger(name);
// At this point we don't know which concrete class to use until the
// ras/logging provider is initialized enough to provide a
// wsLogger class
... | java | @Override
public Logger getLogger(String name) {
// get the logger from the super impl
Logger logger = super.getLogger(name);
// At this point we don't know which concrete class to use until the
// ras/logging provider is initialized enough to provide a
// wsLogger class
... | [
"@",
"Override",
"public",
"Logger",
"getLogger",
"(",
"String",
"name",
")",
"{",
"// get the logger from the super impl",
"Logger",
"logger",
"=",
"super",
".",
"getLogger",
"(",
"name",
")",
";",
"// At this point we don't know which concrete class to use until the",
"... | Returns an instance of WsLogger with specified name. If an instance with
specified name does not exist, it will be created.
@param name
name of the logger to obtain
@return Logger instance of a logger with specified name | [
"Returns",
"an",
"instance",
"of",
"WsLogger",
"with",
"specified",
"name",
".",
"If",
"an",
"instance",
"with",
"specified",
"name",
"does",
"not",
"exist",
"it",
"will",
"be",
"created",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.logging/src/com/ibm/ws/kernel/boot/logging/WsLogManager.java#L93-L172 |
68,437 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/internal/KeyringMonitorImpl.java | KeyringMonitorImpl.monitorKeyRings | public ServiceRegistration<KeyringMonitor> monitorKeyRings(String ID, String trigger, String keyStoreLocation) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
Tr.event(this, tc, "monitorKeyRing registration for", ID);
}
BundleContext bundleContext = actionable.ge... | java | public ServiceRegistration<KeyringMonitor> monitorKeyRings(String ID, String trigger, String keyStoreLocation) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
Tr.event(this, tc, "monitorKeyRing registration for", ID);
}
BundleContext bundleContext = actionable.ge... | [
"public",
"ServiceRegistration",
"<",
"KeyringMonitor",
">",
"monitorKeyRings",
"(",
"String",
"ID",
",",
"String",
"trigger",
",",
"String",
"keyStoreLocation",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEve... | Registers this KeyringMonitor to start monitoring the specified keyrings
by mbean notification.
@param id of keyrings to monitor.
@param trigger what trigger the keyring update notification mbean
@return The <code>KeyringMonitor</code> service registration. | [
"Registers",
"this",
"KeyringMonitor",
"to",
"start",
"monitoring",
"the",
"specified",
"keyrings",
"by",
"mbean",
"notification",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/internal/KeyringMonitorImpl.java#L46-L58 |
68,438 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AOStream.java | AOStream.start | public void start() throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "start");
synchronized (this)
{
active = true;
// start the liveness timer for sending ControlRequestHighestGeneratedTick, if needed
if (!completedTick... | java | public void start() throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "start");
synchronized (this)
{
active = true;
// start the liveness timer for sending ControlRequestHighestGeneratedTick, if needed
if (!completedTick... | [
"public",
"void",
"start",
"(",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"start\"",
")",
";",
... | Start the stream, i.e., start sending data and control messages | [
"Start",
"the",
"stream",
"i",
".",
"e",
".",
"start",
"sending",
"data",
"and",
"control",
"messages"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AOStream.java#L539-L577 |
68,439 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AOStream.java | AOStream.stop | public void stop()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "stop");
synchronized (this)
{
active = false;
// stop the liveness timer for sending ControlRequestHighestGeneratedTick, if needed
//NOTE: the requestHighestGeneratedTickTimer w... | java | public void stop()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "stop");
synchronized (this)
{
active = false;
// stop the liveness timer for sending ControlRequestHighestGeneratedTick, if needed
//NOTE: the requestHighestGeneratedTickTimer w... | [
"public",
"void",
"stop",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"stop\"",
")",
";",
"synchronized",
"(",
"this",
")",... | Stop the stream, i.e., stop sending data and control messages | [
"Stop",
"the",
"stream",
"i",
".",
"e",
".",
"stop",
"sending",
"data",
"and",
"control",
"messages"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AOStream.java#L582-L616 |
68,440 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AOStream.java | AOStream.processTimedoutEntries | public void processTimedoutEntries(List timedout)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "processTimedoutEntries", new Object[] {this,timedout});
boolean sendMsg = false;
synchronized (this)
{
if (active && completedTicksInitialized && !timedout... | java | public void processTimedoutEntries(List timedout)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "processTimedoutEntries", new Object[] {this,timedout});
boolean sendMsg = false;
synchronized (this)
{
if (active && completedTicksInitialized && !timedout... | [
"public",
"void",
"processTimedoutEntries",
"(",
"List",
"timedout",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"processTimedoutEntries... | Called when the DecisionExpected timeout occurs
@param timedout | [
"Called",
"when",
"the",
"DecisionExpected",
"timeout",
"occurs"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AOStream.java#L813-L831 |
68,441 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AOStream.java | AOStream.expiredRequest | public final void expiredRequest(long tick)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "expiredRequest", Long.valueOf(tick));
expiredRequest(tick, false);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(tc, "expiredRequest");
... | java | public final void expiredRequest(long tick)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "expiredRequest", Long.valueOf(tick));
expiredRequest(tick, false);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(tc, "expiredRequest");
... | [
"public",
"final",
"void",
"expiredRequest",
"(",
"long",
"tick",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"expiredRequest\"",
",... | Callback from JSRemoteConsumerPoint that the given tick in the stream should be changed to the completed state.
@param tick | [
"Callback",
"from",
"JSRemoteConsumerPoint",
"that",
"the",
"given",
"tick",
"in",
"the",
"stream",
"should",
"be",
"changed",
"to",
"the",
"completed",
"state",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AOStream.java#L837-L844 |
68,442 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AOStream.java | AOStream.removeConsumerKey | public final void removeConsumerKey(String selector, JSRemoteConsumerPoint aock)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeConsumerKey", new Object[] { selector, aock });
synchronized (this)
{
JSRemoteConsumerPoint aock2 = (JSRemoteConsumerPoint... | java | public final void removeConsumerKey(String selector, JSRemoteConsumerPoint aock)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeConsumerKey", new Object[] { selector, aock });
synchronized (this)
{
JSRemoteConsumerPoint aock2 = (JSRemoteConsumerPoint... | [
"public",
"final",
"void",
"removeConsumerKey",
"(",
"String",
"selector",
",",
"JSRemoteConsumerPoint",
"aock",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry... | Method to remove the given JSRemoteConsumerPoint from the consumerKeyTable
@param selector The string representation of the SelectionCriteria(s) of this JSRemoteConsumerPoint
@param aock The JSRemoteConsumerPoint to remove | [
"Method",
"to",
"remove",
"the",
"given",
"JSRemoteConsumerPoint",
"from",
"the",
"consumerKeyTable"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AOStream.java#L1068-L1084 |
68,443 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AOStream.java | AOStream.getNumberOfRequestsInState | public synchronized long getNumberOfRequestsInState(int requiredState)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getNumberOfRequestsInState", Integer.valueOf(requiredState));
//Count the number of tick range objects that are in the
//specified state
lon... | java | public synchronized long getNumberOfRequestsInState(int requiredState)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getNumberOfRequestsInState", Integer.valueOf(requiredState));
//Count the number of tick range objects that are in the
//specified state
lon... | [
"public",
"synchronized",
"long",
"getNumberOfRequestsInState",
"(",
"int",
"requiredState",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
... | Counts the number of requests that have been completed since reboot
@return
@author tpm | [
"Counts",
"the",
"number",
"of",
"requests",
"that",
"have",
"been",
"completed",
"since",
"reboot"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AOStream.java#L2398-L2425 |
68,444 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AOStream.java | AOStream.unlockRejectedTick | public final void unlockRejectedTick(TransactionCommon t, AOValue storedTick) throws MessageStoreException, SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "unlockRejectedTick");
try {
SIMPMessage msg =
consumerDispatcher.getMessageBy... | java | public final void unlockRejectedTick(TransactionCommon t, AOValue storedTick) throws MessageStoreException, SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "unlockRejectedTick");
try {
SIMPMessage msg =
consumerDispatcher.getMessageBy... | [
"public",
"final",
"void",
"unlockRejectedTick",
"(",
"TransactionCommon",
"t",
",",
"AOValue",
"storedTick",
")",
"throws",
"MessageStoreException",
",",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",... | Helper method called by the AOStream when a persistent tick representing a persistently locked
message should be removed since the message has been rejected. This method will also unlock the
message
@param t the transaction
@param stream the stream making this call
@param storedTick the persistent tick
@throws SIResour... | [
"Helper",
"method",
"called",
"by",
"the",
"AOStream",
"when",
"a",
"persistent",
"tick",
"representing",
"a",
"persistently",
"locked",
"message",
"should",
"be",
"removed",
"since",
"the",
"message",
"has",
"been",
"rejected",
".",
"This",
"method",
"will",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AOStream.java#L3120-L3173 |
68,445 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AOStream.java | AOStream.consumeAcceptedTick | public final void consumeAcceptedTick(TransactionCommon t, AOValue storedTick) throws Exception
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "consumeAcceptedTick", storedTick);
try {
SIMPMessage msg =
consumerDispatcher.getMessageByValue(storedTick);... | java | public final void consumeAcceptedTick(TransactionCommon t, AOValue storedTick) throws Exception
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "consumeAcceptedTick", storedTick);
try {
SIMPMessage msg =
consumerDispatcher.getMessageByValue(storedTick);... | [
"public",
"final",
"void",
"consumeAcceptedTick",
"(",
"TransactionCommon",
"t",
",",
"AOValue",
"storedTick",
")",
"throws",
"Exception",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
... | Helper method called by the AOStream when a persistent tick representing a persistently locked
message should be removed since the message has been accepted. This method will also consume the
message
@param t the transaction
@param stream the stream making this call
@param storedTick the persistent tick
@throws Excepti... | [
"Helper",
"method",
"called",
"by",
"the",
"AOStream",
"when",
"a",
"persistent",
"tick",
"representing",
"a",
"persistently",
"locked",
"message",
"should",
"be",
"removed",
"since",
"the",
"message",
"has",
"been",
"accepted",
".",
"This",
"method",
"will",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AOStream.java#L3184-L3214 |
68,446 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/FCWsByteBufferImpl.java | FCWsByteBufferImpl.getFileChannel | public FileChannel getFileChannel() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "getFileChannel(): " + fc);
}
return this.fc;
} | java | public FileChannel getFileChannel() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "getFileChannel(): " + fc);
}
return this.fc;
} | [
"public",
"FileChannel",
"getFileChannel",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"getFileChannel(): \"",
"+",
"fc",
")"... | Return the FileChannel object that is representing this WsByteBufferImpl.
@return FileChannel | [
"Return",
"the",
"FileChannel",
"object",
"that",
"is",
"representing",
"this",
"WsByteBufferImpl",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/FCWsByteBufferImpl.java#L120-L125 |
68,447 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/FCWsByteBufferImpl.java | FCWsByteBufferImpl.convertBufferIfNeeded | private void convertBufferIfNeeded() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "convertBufferIfNeeded status: " + status);
}
if (isFCEnabled()) {
// TRANSFER_TO status is currently on, so turn if OFF
status = status &... | java | private void convertBufferIfNeeded() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "convertBufferIfNeeded status: " + status);
}
if (isFCEnabled()) {
// TRANSFER_TO status is currently on, so turn if OFF
status = status &... | [
"private",
"void",
"convertBufferIfNeeded",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"convertBufferIfNeeded status: \"",
"+",
... | If the buffer has not already been converted from a TRANSFER_TO buffer back
to the more common base BUFFER, then do so now. | [
"If",
"the",
"buffer",
"has",
"not",
"already",
"been",
"converted",
"from",
"a",
"TRANSFER_TO",
"buffer",
"back",
"to",
"the",
"more",
"common",
"base",
"BUFFER",
"then",
"do",
"so",
"now",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/FCWsByteBufferImpl.java#L132-L187 |
68,448 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSListImpl.java | JSListImpl.checkType | public void checkType(JSField elem, int indir) throws JMFSchemaViolationException {
if (!equivFields(element, elem) || indir != indirect)
throw new JMFSchemaViolationException("Incorrect list element types");
} | java | public void checkType(JSField elem, int indir) throws JMFSchemaViolationException {
if (!equivFields(element, elem) || indir != indirect)
throw new JMFSchemaViolationException("Incorrect list element types");
} | [
"public",
"void",
"checkType",
"(",
"JSField",
"elem",
",",
"int",
"indir",
")",
"throws",
"JMFSchemaViolationException",
"{",
"if",
"(",
"!",
"equivFields",
"(",
"element",
",",
"elem",
")",
"||",
"indir",
"!=",
"indirect",
")",
"throw",
"new",
"JMFSchemaVi... | SchemaViolationException if not | [
"SchemaViolationException",
"if",
"not"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSListImpl.java#L170-L173 |
68,449 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSListImpl.java | JSListImpl.equivFields | private boolean equivFields(JSField one, JSField two) {
if (one instanceof JSDynamic) {
return two instanceof JSDynamic;
}
else if (one instanceof JSEnum) {
return two instanceof JSEnum;
}
else if (one instanceof JSPrimitive) {
return (two instanceof JSPrimitive)
&& ((JSPri... | java | private boolean equivFields(JSField one, JSField two) {
if (one instanceof JSDynamic) {
return two instanceof JSDynamic;
}
else if (one instanceof JSEnum) {
return two instanceof JSEnum;
}
else if (one instanceof JSPrimitive) {
return (two instanceof JSPrimitive)
&& ((JSPri... | [
"private",
"boolean",
"equivFields",
"(",
"JSField",
"one",
",",
"JSField",
"two",
")",
"{",
"if",
"(",
"one",
"instanceof",
"JSDynamic",
")",
"{",
"return",
"two",
"instanceof",
"JSDynamic",
";",
"}",
"else",
"if",
"(",
"one",
"instanceof",
"JSEnum",
")",... | here is too specialized. | [
"here",
"is",
"too",
"specialized",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSListImpl.java#L178-L196 |
68,450 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSListImpl.java | JSListImpl.reallocate | int reallocate(int fieldOffset) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) JmfTr.entry(this, tc, "reallocate", new Object[]{Integer.valueOf(offset)});
byte[] oldContents = contents;
int oldOffset = offset;
contents = new byte[length];
System.arraycopy(oldContents, offset, con... | java | int reallocate(int fieldOffset) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) JmfTr.entry(this, tc, "reallocate", new Object[]{Integer.valueOf(offset)});
byte[] oldContents = contents;
int oldOffset = offset;
contents = new byte[length];
System.arraycopy(oldContents, offset, con... | [
"int",
"reallocate",
"(",
"int",
"fieldOffset",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"JmfTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"reallocate\"",
",",
"new... | Reallocate the entire contents buffer | [
"Reallocate",
"the",
"entire",
"contents",
"buffer"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSListImpl.java#L258-L268 |
68,451 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSListImpl.java | JSListImpl.reallocated | void reallocated(byte[] newContents, int newOffset) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) JmfTr.entry(this, tc, "reallocated", new Object[]{newContents, Integer.valueOf(newOffset)});
if (contents != null) {
contents = newContents;
offset = newOffset + 8;
sharedCont... | java | void reallocated(byte[] newContents, int newOffset) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) JmfTr.entry(this, tc, "reallocated", new Object[]{newContents, Integer.valueOf(newOffset)});
if (contents != null) {
contents = newContents;
offset = newOffset + 8;
sharedCont... | [
"void",
"reallocated",
"(",
"byte",
"[",
"]",
"newContents",
",",
"int",
"newOffset",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"JmfTr",
".",
"entry",
"(",
"this",
",",
... | JSMessageData items currently in the cache. | [
"JSMessageData",
"items",
"currently",
"in",
"the",
"cache",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSListImpl.java#L273-L298 |
68,452 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSListImpl.java | JSListImpl.getSize | static int getSize(Object agg) throws JMFSchemaViolationException {
if (agg == null) {
return 0;
}
else if (agg instanceof Collection) {
return ((Collection)agg).size();
}
else if (agg.getClass().isArray()) {
return Array.getLength(agg);
}
else {
throw new JMFSchemaVi... | java | static int getSize(Object agg) throws JMFSchemaViolationException {
if (agg == null) {
return 0;
}
else if (agg instanceof Collection) {
return ((Collection)agg).size();
}
else if (agg.getClass().isArray()) {
return Array.getLength(agg);
}
else {
throw new JMFSchemaVi... | [
"static",
"int",
"getSize",
"(",
"Object",
"agg",
")",
"throws",
"JMFSchemaViolationException",
"{",
"if",
"(",
"agg",
"==",
"null",
")",
"{",
"return",
"0",
";",
"}",
"else",
"if",
"(",
"agg",
"instanceof",
"Collection",
")",
"{",
"return",
"(",
"(",
... | Get the size of an aggregate that may be either an array or a Collection | [
"Get",
"the",
"size",
"of",
"an",
"aggregate",
"that",
"may",
"be",
"either",
"an",
"array",
"or",
"a",
"Collection"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSListImpl.java#L338-L351 |
68,453 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSListImpl.java | JSListImpl.getIterator | static Iterator getIterator(Object agg) throws JMFSchemaViolationException {
if (agg instanceof Collection) {
return ((Collection)agg).iterator();
}
else if (agg.getClass().isArray()) {
return new LiteIterator(agg);
}
else {
throw new JMFSchemaViolationException(agg.getClass().getN... | java | static Iterator getIterator(Object agg) throws JMFSchemaViolationException {
if (agg instanceof Collection) {
return ((Collection)agg).iterator();
}
else if (agg.getClass().isArray()) {
return new LiteIterator(agg);
}
else {
throw new JMFSchemaViolationException(agg.getClass().getN... | [
"static",
"Iterator",
"getIterator",
"(",
"Object",
"agg",
")",
"throws",
"JMFSchemaViolationException",
"{",
"if",
"(",
"agg",
"instanceof",
"Collection",
")",
"{",
"return",
"(",
"(",
"Collection",
")",
"agg",
")",
".",
"iterator",
"(",
")",
";",
"}",
"e... | Get an Iterator over an aggregate that may be either an array or a Collection | [
"Get",
"an",
"Iterator",
"over",
"an",
"aggregate",
"that",
"may",
"be",
"either",
"an",
"array",
"or",
"a",
"Collection"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSListImpl.java#L354-L364 |
68,454 | OpenLiberty/open-liberty | dev/com.ibm.ws.microprofile.faulttolerance.cdi_fat/fat/src/com/ibm/websphere/microprofile/faulttolerance_fat/validation/AppValidator.java | AppValidator.failsWith | public AppValidator failsWith(String expectedFailure) {
stringsToFind.add(expectedFailure);
stringsToFind.add(APP_FAIL_CODE);
server.addIgnoredErrors(Collections.singletonList(expectedFailure));
return this;
} | java | public AppValidator failsWith(String expectedFailure) {
stringsToFind.add(expectedFailure);
stringsToFind.add(APP_FAIL_CODE);
server.addIgnoredErrors(Collections.singletonList(expectedFailure));
return this;
} | [
"public",
"AppValidator",
"failsWith",
"(",
"String",
"expectedFailure",
")",
"{",
"stringsToFind",
".",
"add",
"(",
"expectedFailure",
")",
";",
"stringsToFind",
".",
"add",
"(",
"APP_FAIL_CODE",
")",
";",
"server",
".",
"addIgnoredErrors",
"(",
"Collections",
... | Specify that the app should fail to start, and that the given failure message should be seen during app startup | [
"Specify",
"that",
"the",
"app",
"should",
"fail",
"to",
"start",
"and",
"that",
"the",
"given",
"failure",
"message",
"should",
"be",
"seen",
"during",
"app",
"startup"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.faulttolerance.cdi_fat/fat/src/com/ibm/websphere/microprofile/faulttolerance_fat/validation/AppValidator.java#L89-L94 |
68,455 | OpenLiberty/open-liberty | dev/com.ibm.ws.threading/src/com/ibm/ws/threading/internal/PolicyExecutorImpl.java | PolicyExecutorImpl.acquireExpedite | private int acquireExpedite() {
int a;
while ((a = expeditesAvailable.get()) > 0 && !expeditesAvailable.compareAndSet(a, a - 1));
return a; // returning the value rather than true/false will enable better debug
} | java | private int acquireExpedite() {
int a;
while ((a = expeditesAvailable.get()) > 0 && !expeditesAvailable.compareAndSet(a, a - 1));
return a; // returning the value rather than true/false will enable better debug
} | [
"private",
"int",
"acquireExpedite",
"(",
")",
"{",
"int",
"a",
";",
"while",
"(",
"(",
"a",
"=",
"expeditesAvailable",
".",
"get",
"(",
")",
")",
">",
"0",
"&&",
"!",
"expeditesAvailable",
".",
"compareAndSet",
"(",
"a",
",",
"a",
"-",
"1",
")",
"... | Attempt to acquire a permit to expedite, which involves decrementing the available expedites.
Only allow decrement of a positive value, and otherwise indicate there are no available expedites.
@return number of available expedites at the time we acquired a permit. 0 if none remains and we did not get a permit. | [
"Attempt",
"to",
"acquire",
"a",
"permit",
"to",
"expedite",
"which",
"involves",
"decrementing",
"the",
"available",
"expedites",
".",
"Only",
"allow",
"decrement",
"of",
"a",
"positive",
"value",
"and",
"otherwise",
"indicate",
"there",
"are",
"no",
"available... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.threading/src/com/ibm/ws/threading/internal/PolicyExecutorImpl.java#L275-L279 |
68,456 | OpenLiberty/open-liberty | dev/com.ibm.ws.threading/src/com/ibm/ws/threading/internal/PolicyExecutorImpl.java | PolicyExecutorImpl.decrementWithheldConcurrency | @Trivial
private void decrementWithheldConcurrency() {
int w;
while ((w = withheldConcurrency.get()) > 0 && !withheldConcurrency.compareAndSet(w, w - 1));
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(this, tc, "withheld concurrency " + w + " --> " + (... | java | @Trivial
private void decrementWithheldConcurrency() {
int w;
while ((w = withheldConcurrency.get()) > 0 && !withheldConcurrency.compareAndSet(w, w - 1));
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(this, tc, "withheld concurrency " + w + " --> " + (... | [
"@",
"Trivial",
"private",
"void",
"decrementWithheldConcurrency",
"(",
")",
"{",
"int",
"w",
";",
"while",
"(",
"(",
"w",
"=",
"withheldConcurrency",
".",
"get",
"(",
")",
")",
">",
"0",
"&&",
"!",
"withheldConcurrency",
".",
"compareAndSet",
"(",
"w",
... | Decrement the counter of withheld concurrency only if positive.
This method should only ever be invoked if the caller is about to enqueue a task to the global executor.
Otherwise there is a risk of a race condition where withheldConcurrency decrements to 0 with a task still on the queue. | [
"Decrement",
"the",
"counter",
"of",
"withheld",
"concurrency",
"only",
"if",
"positive",
".",
"This",
"method",
"should",
"only",
"ever",
"be",
"invoked",
"if",
"the",
"caller",
"is",
"about",
"to",
"enqueue",
"a",
"task",
"to",
"the",
"global",
"executor",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.threading/src/com/ibm/ws/threading/internal/PolicyExecutorImpl.java#L400-L406 |
68,457 | OpenLiberty/open-liberty | dev/com.ibm.ws.threading/src/com/ibm/ws/threading/internal/PolicyExecutorImpl.java | PolicyExecutorImpl.invokeAny | @Override
@FFDCIgnore(value = { RejectedExecutionException.class })
public <T> T invokeAny(Collection<? extends Callable<T>> tasks, PolicyTaskCallback[] callbacks) throws InterruptedException, ExecutionException {
int taskCount = tasks.size();
// Special case to run a single task on the current... | java | @Override
@FFDCIgnore(value = { RejectedExecutionException.class })
public <T> T invokeAny(Collection<? extends Callable<T>> tasks, PolicyTaskCallback[] callbacks) throws InterruptedException, ExecutionException {
int taskCount = tasks.size();
// Special case to run a single task on the current... | [
"@",
"Override",
"@",
"FFDCIgnore",
"(",
"value",
"=",
"{",
"RejectedExecutionException",
".",
"class",
"}",
")",
"public",
"<",
"T",
">",
"T",
"invokeAny",
"(",
"Collection",
"<",
"?",
"extends",
"Callable",
"<",
"T",
">",
">",
"tasks",
",",
"PolicyTask... | Because this method is not timed, we allow an optimization where if only a single task is submitted it can run on the current thread. | [
"Because",
"this",
"method",
"is",
"not",
"timed",
"we",
"allow",
"an",
"optimization",
"where",
"if",
"only",
"a",
"single",
"task",
"is",
"submitted",
"it",
"can",
"run",
"on",
"the",
"current",
"thread",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.threading/src/com/ibm/ws/threading/internal/PolicyExecutorImpl.java#L798-L861 |
68,458 | OpenLiberty/open-liberty | dev/com.ibm.ws.threading/src/com/ibm/ws/threading/internal/PolicyExecutorImpl.java | PolicyExecutorImpl.runTask | void runTask(PolicyTaskFutureImpl<?> future) {
running.add(future); // intentionally done before checking state to avoid missing cancels on shutdownNow
int runCount = runningCount.incrementAndGet();
try {
Callback callback = cbLateStart.get();
if (callback != null) {
... | java | void runTask(PolicyTaskFutureImpl<?> future) {
running.add(future); // intentionally done before checking state to avoid missing cancels on shutdownNow
int runCount = runningCount.incrementAndGet();
try {
Callback callback = cbLateStart.get();
if (callback != null) {
... | [
"void",
"runTask",
"(",
"PolicyTaskFutureImpl",
"<",
"?",
">",
"future",
")",
"{",
"running",
".",
"add",
"(",
"future",
")",
";",
"// intentionally done before checking state to avoid missing cancels on shutdownNow",
"int",
"runCount",
"=",
"runningCount",
".",
"increm... | Invoked by the policy executor thread to run a task.
@param future the future for the task.
@return Exception that occurred while running the task. Otherwise null. | [
"Invoked",
"by",
"the",
"policy",
"executor",
"thread",
"to",
"run",
"a",
"task",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.threading/src/com/ibm/ws/threading/internal/PolicyExecutorImpl.java#L1110-L1152 |
68,459 | OpenLiberty/open-liberty | dev/com.ibm.ws.threading/src/com/ibm/ws/threading/internal/PolicyExecutorImpl.java | PolicyExecutorImpl.transferOrReleasePermit | @Trivial
private void transferOrReleasePermit() {
maxConcurrencyConstraint.release();
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(this, tc, "expedites/maxConcurrency available",
expeditesAvailable, maxConcurrencyConstraint.availablePerm... | java | @Trivial
private void transferOrReleasePermit() {
maxConcurrencyConstraint.release();
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(this, tc, "expedites/maxConcurrency available",
expeditesAvailable, maxConcurrencyConstraint.availablePerm... | [
"@",
"Trivial",
"private",
"void",
"transferOrReleasePermit",
"(",
")",
"{",
"maxConcurrencyConstraint",
".",
"release",
"(",
")",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
... | Releases a permit against maxConcurrency or transfers it to a worker task that runs on the global thread pool. | [
"Releases",
"a",
"permit",
"against",
"maxConcurrency",
"or",
"transfers",
"it",
"to",
"a",
"worker",
"task",
"that",
"runs",
"on",
"the",
"global",
"thread",
"pool",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.threading/src/com/ibm/ws/threading/internal/PolicyExecutorImpl.java#L1294-L1310 |
68,460 | OpenLiberty/open-liberty | dev/com.ibm.tx.core/src/com/ibm/ws/Transaction/JTA/XARminst.java | XARminst.closeConnection | public void closeConnection()
{
if (tc.isEntryEnabled()) Tr.entry(tc, "closeConnection");
try
{
if(_XAResourceFactory != null && _XARes != null)
{
((XAResourceFactory)_XAResourceFactory).destroyXAResource(_XARes);
}
}
catch(... | java | public void closeConnection()
{
if (tc.isEntryEnabled()) Tr.entry(tc, "closeConnection");
try
{
if(_XAResourceFactory != null && _XARes != null)
{
((XAResourceFactory)_XAResourceFactory).destroyXAResource(_XARes);
}
}
catch(... | [
"public",
"void",
"closeConnection",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"closeConnection\"",
")",
";",
"try",
"{",
"if",
"(",
"_XAResourceFactory",
"!=",
"null",
"&&",
"_XARes",
"... | Close the XAConnection with the XAResource. | [
"Close",
"the",
"XAConnection",
"with",
"the",
"XAResource",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/ws/Transaction/JTA/XARminst.java#L298-L314 |
68,461 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/TCPReadRequestContextImpl.java | TCPReadRequestContextImpl.readInternal | protected VirtualConnection readInternal(long numBytes, TCPReadCompletedCallback readCallback, boolean forceQueue, int timeout) {
if (timeout == IMMED_TIMEOUT) {
immediateTimeout();
return null;
}
if (timeout == ABORT_TIMEOUT) {
abort();
immediateT... | java | protected VirtualConnection readInternal(long numBytes, TCPReadCompletedCallback readCallback, boolean forceQueue, int timeout) {
if (timeout == IMMED_TIMEOUT) {
immediateTimeout();
return null;
}
if (timeout == ABORT_TIMEOUT) {
abort();
immediateT... | [
"protected",
"VirtualConnection",
"readInternal",
"(",
"long",
"numBytes",
",",
"TCPReadCompletedCallback",
"readCallback",
",",
"boolean",
"forceQueue",
",",
"int",
"timeout",
")",
"{",
"if",
"(",
"timeout",
"==",
"IMMED_TIMEOUT",
")",
"{",
"immediateTimeout",
"(",... | internal async read entry point | [
"internal",
"async",
"read",
"entry",
"point"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/TCPReadRequestContextImpl.java#L145-L166 |
68,462 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebAppConfiguration.java | WebAppConfiguration.isFileServingEnabled | public boolean isFileServingEnabled() {
// PK54499 START
disallowAllFileServingProp = WCCustomProperties.DISALLOW_ALL_FILE_SERVING;
if (disallowAllFileServingProp != null && !this.getApplicationName().equalsIgnoreCase("isclite")) {
try
{
if (Boolean.valueO... | java | public boolean isFileServingEnabled() {
// PK54499 START
disallowAllFileServingProp = WCCustomProperties.DISALLOW_ALL_FILE_SERVING;
if (disallowAllFileServingProp != null && !this.getApplicationName().equalsIgnoreCase("isclite")) {
try
{
if (Boolean.valueO... | [
"public",
"boolean",
"isFileServingEnabled",
"(",
")",
"{",
"// PK54499 START",
"disallowAllFileServingProp",
"=",
"WCCustomProperties",
".",
"DISALLOW_ALL_FILE_SERVING",
";",
"if",
"(",
"disallowAllFileServingProp",
"!=",
"null",
"&&",
"!",
"this",
".",
"getApplicationNa... | Returns the fileServingEnabled.
@return boolean | [
"Returns",
"the",
"fileServingEnabled",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebAppConfiguration.java#L318-L345 |
68,463 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebAppConfiguration.java | WebAppConfiguration.getJspAttributes | public Map<String, String> getJspAttributes() {
if (null == this.jspAttributes) {
this.jspAttributes = new HashMap<String, String>();
}
return this.jspAttributes;
} | java | public Map<String, String> getJspAttributes() {
if (null == this.jspAttributes) {
this.jspAttributes = new HashMap<String, String>();
}
return this.jspAttributes;
} | [
"public",
"Map",
"<",
"String",
",",
"String",
">",
"getJspAttributes",
"(",
")",
"{",
"if",
"(",
"null",
"==",
"this",
".",
"jspAttributes",
")",
"{",
"this",
".",
"jspAttributes",
"=",
"new",
"HashMap",
"<",
"String",
",",
"String",
">",
"(",
")",
... | Returns the jspAttributes.
@return Map<String,String> | [
"Returns",
"the",
"jspAttributes",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebAppConfiguration.java#L545-L550 |
68,464 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebAppConfiguration.java | WebAppConfiguration.getServletInfo | public IServletConfig getServletInfo(String string) {
if (string == null || string.isEmpty()){
Tr.debug(tc, "getServletInfo", "servlet name is null/empty. Use internal servlet name " + NULLSERVLETNAME);
string = NULLSERVLETNAME;
}
return (IServletConfig) this.servletInfo... | java | public IServletConfig getServletInfo(String string) {
if (string == null || string.isEmpty()){
Tr.debug(tc, "getServletInfo", "servlet name is null/empty. Use internal servlet name " + NULLSERVLETNAME);
string = NULLSERVLETNAME;
}
return (IServletConfig) this.servletInfo... | [
"public",
"IServletConfig",
"getServletInfo",
"(",
"String",
"string",
")",
"{",
"if",
"(",
"string",
"==",
"null",
"||",
"string",
".",
"isEmpty",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"getServletInfo\"",
",",
"\"servlet name is null/emp... | Method getServletInfo.
@param string
@return ServletConfig | [
"Method",
"getServletInfo",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebAppConfiguration.java#L591-L598 |
68,465 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebAppConfiguration.java | WebAppConfiguration.isServeServletsByClassnameEnabled | public boolean isServeServletsByClassnameEnabled() {
// PK52059 START
disallowServeServletsByClassnameProp = WCCustomProperties.DISALLOW_SERVE_SERVLETS_BY_CLASSNAME_PROP;
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) {
logger.logp(Level.FI... | java | public boolean isServeServletsByClassnameEnabled() {
// PK52059 START
disallowServeServletsByClassnameProp = WCCustomProperties.DISALLOW_SERVE_SERVLETS_BY_CLASSNAME_PROP;
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) {
logger.logp(Level.FI... | [
"public",
"boolean",
"isServeServletsByClassnameEnabled",
"(",
")",
"{",
"// PK52059 START",
"disallowServeServletsByClassnameProp",
"=",
"WCCustomProperties",
".",
"DISALLOW_SERVE_SERVLETS_BY_CLASSNAME_PROP",
";",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
"."... | Returns the serveServletsByClassname.
@return boolean | [
"Returns",
"the",
"serveServletsByClassname",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebAppConfiguration.java#L624-L654 |
68,466 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebAppConfiguration.java | WebAppConfiguration.setMimeFilters | public void setMimeFilters(HashMap mimeFilters) {
if (mimeFilters != null && mimeFilters.size() > 0) {
this.isMimeFilteringEnabled = true;
}
this.mimeFilters = mimeFilters;
} | java | public void setMimeFilters(HashMap mimeFilters) {
if (mimeFilters != null && mimeFilters.size() > 0) {
this.isMimeFilteringEnabled = true;
}
this.mimeFilters = mimeFilters;
} | [
"public",
"void",
"setMimeFilters",
"(",
"HashMap",
"mimeFilters",
")",
"{",
"if",
"(",
"mimeFilters",
"!=",
"null",
"&&",
"mimeFilters",
".",
"size",
"(",
")",
">",
"0",
")",
"{",
"this",
".",
"isMimeFilteringEnabled",
"=",
"true",
";",
"}",
"this",
"."... | Sets the mimeFilters.
@param mimeFilters
The mimeFilters to set | [
"Sets",
"the",
"mimeFilters",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebAppConfiguration.java#L787-L792 |
68,467 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebAppConfiguration.java | WebAppConfiguration.getApplicationName | public String getApplicationName() {
if (this.applicationName != null)
return this.applicationName;
else if (webApp != null)
return this.webApp.getApplicationName();
else
return null;
} | java | public String getApplicationName() {
if (this.applicationName != null)
return this.applicationName;
else if (webApp != null)
return this.webApp.getApplicationName();
else
return null;
} | [
"public",
"String",
"getApplicationName",
"(",
")",
"{",
"if",
"(",
"this",
".",
"applicationName",
"!=",
"null",
")",
"return",
"this",
".",
"applicationName",
";",
"else",
"if",
"(",
"webApp",
"!=",
"null",
")",
"return",
"this",
".",
"webApp",
".",
"g... | Return the applicationName.
@return String | [
"Return",
"the",
"applicationName",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebAppConfiguration.java#L962-L970 |
68,468 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebAppConfiguration.java | WebAppConfiguration.setDisableStaticMappingCache | public void setDisableStaticMappingCache(){
if (this.contextParams != null){
String value = (String) this.contextParams.get("com.ibm.ws.webcontainer.DISABLE_STATIC_MAPPING_CACHE");
if (value != null ){
if (value.equalsIgnoreCase("true")){
if (com.ibm.e... | java | public void setDisableStaticMappingCache(){
if (this.contextParams != null){
String value = (String) this.contextParams.get("com.ibm.ws.webcontainer.DISABLE_STATIC_MAPPING_CACHE");
if (value != null ){
if (value.equalsIgnoreCase("true")){
if (com.ibm.e... | [
"public",
"void",
"setDisableStaticMappingCache",
"(",
")",
"{",
"if",
"(",
"this",
".",
"contextParams",
"!=",
"null",
")",
"{",
"String",
"value",
"=",
"(",
"String",
")",
"this",
".",
"contextParams",
".",
"get",
"(",
"\"com.ibm.ws.webcontainer.DISABLE_STATIC... | PM84305 - start | [
"PM84305",
"-",
"start"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebAppConfiguration.java#L1852-L1886 |
68,469 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/BlockVector.java | BlockVector.insertNullElementsAt | public final void insertNullElementsAt(int index, int count)
{
if (tc.isEntryEnabled())
SibTr.entry(
tc,
"insertNullElementsAt",
new Object[] { new Integer(index), new Integer(count)});
for (int i = index; i < index + count; i++)
add(i, null);
if (tc.isEntryEnabled())... | java | public final void insertNullElementsAt(int index, int count)
{
if (tc.isEntryEnabled())
SibTr.entry(
tc,
"insertNullElementsAt",
new Object[] { new Integer(index), new Integer(count)});
for (int i = index; i < index + count; i++)
add(i, null);
if (tc.isEntryEnabled())... | [
"public",
"final",
"void",
"insertNullElementsAt",
"(",
"int",
"index",
",",
"int",
"count",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"insertNullElementsAt\"",
",",
"new",
"Object",
"[",
"]... | Inserts count null values at index, moving up all the components at index
and greater.
index cannot be greater than the size of the Vector.
@exception ArrayIndexOutOfBoundsException if the index was invalid. | [
"Inserts",
"count",
"null",
"values",
"at",
"index",
"moving",
"up",
"all",
"the",
"components",
"at",
"index",
"and",
"greater",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/BlockVector.java#L64-L77 |
68,470 | OpenLiberty/open-liberty | dev/com.ibm.ws.opentracing/src/com/ibm/ws/opentracing/filters/SpanFilterBase.java | SpanFilterBase.validatePattern | protected void validatePattern() {
if (pattern.length() == 0) {
throw new IllegalArgumentException(Tr.formatMessage(tc, "OPENTRACING_FILTER_PATTERN_BLANK"));
}
if (!regex) {
try {
URI.create(pattern);
} catch (IllegalArgumentException e) {
... | java | protected void validatePattern() {
if (pattern.length() == 0) {
throw new IllegalArgumentException(Tr.formatMessage(tc, "OPENTRACING_FILTER_PATTERN_BLANK"));
}
if (!regex) {
try {
URI.create(pattern);
} catch (IllegalArgumentException e) {
... | [
"protected",
"void",
"validatePattern",
"(",
")",
"{",
"if",
"(",
"pattern",
".",
"length",
"(",
")",
"==",
"0",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"Tr",
".",
"formatMessage",
"(",
"tc",
",",
"\"OPENTRACING_FILTER_PATTERN_BLANK\"",
")",... | Throw exceptions if the pattern is invalid.
@throws IllegalArgumentException Pattern is blank or non-conformant to RFC 2396. | [
"Throw",
"exceptions",
"if",
"the",
"pattern",
"is",
"invalid",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.opentracing/src/com/ibm/ws/opentracing/filters/SpanFilterBase.java#L103-L115 |
68,471 | OpenLiberty/open-liberty | dev/com.ibm.ws.opentracing/src/com/ibm/ws/opentracing/filters/SpanFilterBase.java | SpanFilterBase.prepareUri | protected final String prepareUri(final URI uri) {
if (compareRelative) {
final String path = uri.getRawPath();
final String query = uri.getRawQuery();
final String fragment = uri.getRawFragment();
if (query != null && fragment != null) {
return pa... | java | protected final String prepareUri(final URI uri) {
if (compareRelative) {
final String path = uri.getRawPath();
final String query = uri.getRawQuery();
final String fragment = uri.getRawFragment();
if (query != null && fragment != null) {
return pa... | [
"protected",
"final",
"String",
"prepareUri",
"(",
"final",
"URI",
"uri",
")",
"{",
"if",
"(",
"compareRelative",
")",
"{",
"final",
"String",
"path",
"=",
"uri",
".",
"getRawPath",
"(",
")",
";",
"final",
"String",
"query",
"=",
"uri",
".",
"getRawQuery... | Prepare the URI for matching.
@param uri The URI.
@return A String version of the URI to compare to the pattern. | [
"Prepare",
"the",
"URI",
"for",
"matching",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.opentracing/src/com/ibm/ws/opentracing/filters/SpanFilterBase.java#L161-L178 |
68,472 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/ConsoleWrapper.java | ConsoleWrapper.readText | public String readText(String prompt) {
if (!isInputStreamAvailable()) {
return null;
}
try {
return console.readLine(prompt);
} catch (IOError e) {
stderr.println("Exception while reading stdin: " + e.getMessage());
e.printStackTrace(stder... | java | public String readText(String prompt) {
if (!isInputStreamAvailable()) {
return null;
}
try {
return console.readLine(prompt);
} catch (IOError e) {
stderr.println("Exception while reading stdin: " + e.getMessage());
e.printStackTrace(stder... | [
"public",
"String",
"readText",
"(",
"String",
"prompt",
")",
"{",
"if",
"(",
"!",
"isInputStreamAvailable",
"(",
")",
")",
"{",
"return",
"null",
";",
"}",
"try",
"{",
"return",
"console",
".",
"readLine",
"(",
"prompt",
")",
";",
"}",
"catch",
"(",
... | Reads text from the input String, prompting with the given String.
@param prompt
@return String read from input. | [
"Reads",
"text",
"from",
"the",
"input",
"String",
"prompting",
"with",
"the",
"given",
"String",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/ConsoleWrapper.java#L46-L57 |
68,473 | OpenLiberty/open-liberty | dev/com.ibm.ws.request.probes/src/com/ibm/wsspi/probeExtension/FastList.java | FastList.add | public synchronized int add(E object) {
if (object == null)
throw new NullPointerException("FastList add called with null");
if ((count + 1) >= maxCount)
resize(capacity * 2);
int initialAddIndex = addIndex;
// find right spot to add to - start with addIndex and look
// for first open spot. give up i... | java | public synchronized int add(E object) {
if (object == null)
throw new NullPointerException("FastList add called with null");
if ((count + 1) >= maxCount)
resize(capacity * 2);
int initialAddIndex = addIndex;
// find right spot to add to - start with addIndex and look
// for first open spot. give up i... | [
"public",
"synchronized",
"int",
"add",
"(",
"E",
"object",
")",
"{",
"if",
"(",
"object",
"==",
"null",
")",
"throw",
"new",
"NullPointerException",
"(",
"\"FastList add called with null\"",
")",
";",
"if",
"(",
"(",
"count",
"+",
"1",
")",
">=",
"maxCoun... | Adds specified object to the list and increments size
@param object
the object to add to the list
@throws NullPointerException
if a null object is supplied | [
"Adds",
"specified",
"object",
"to",
"the",
"list",
"and",
"increments",
"size"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.request.probes/src/com/ibm/wsspi/probeExtension/FastList.java#L67-L94 |
68,474 | OpenLiberty/open-liberty | dev/com.ibm.ws.request.probes/src/com/ibm/wsspi/probeExtension/FastList.java | FastList.getAll | public synchronized List<E> getAll() {
ArrayList<E> list = new ArrayList<E>();
for (E element : listElements) {
if (element != null) {
list.add(element);
}
}
return list;
} | java | public synchronized List<E> getAll() {
ArrayList<E> list = new ArrayList<E>();
for (E element : listElements) {
if (element != null) {
list.add(element);
}
}
return list;
} | [
"public",
"synchronized",
"List",
"<",
"E",
">",
"getAll",
"(",
")",
"{",
"ArrayList",
"<",
"E",
">",
"list",
"=",
"new",
"ArrayList",
"<",
"E",
">",
"(",
")",
";",
"for",
"(",
"E",
"element",
":",
"listElements",
")",
"{",
"if",
"(",
"element",
... | Provides a shallow copy of the list | [
"Provides",
"a",
"shallow",
"copy",
"of",
"the",
"list"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.request.probes/src/com/ibm/wsspi/probeExtension/FastList.java#L129-L139 |
68,475 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/CacheMap.java | CacheMap.addAll | public Object[] addAll(CacheMap c) {
LinkedList<Object> discards = new LinkedList<Object>();
Object discard;
for (int bucketIndex = c.next[c.BEFORE_LRU]; bucketIndex != c.AFTER_MRU; bucketIndex = c.next[bucketIndex])
for (int i = 0; i < c.bucketSizes[bucketIndex]; i++)
... | java | public Object[] addAll(CacheMap c) {
LinkedList<Object> discards = new LinkedList<Object>();
Object discard;
for (int bucketIndex = c.next[c.BEFORE_LRU]; bucketIndex != c.AFTER_MRU; bucketIndex = c.next[bucketIndex])
for (int i = 0; i < c.bucketSizes[bucketIndex]; i++)
... | [
"public",
"Object",
"[",
"]",
"addAll",
"(",
"CacheMap",
"c",
")",
"{",
"LinkedList",
"<",
"Object",
">",
"discards",
"=",
"new",
"LinkedList",
"<",
"Object",
">",
"(",
")",
";",
"Object",
"discard",
";",
"for",
"(",
"int",
"bucketIndex",
"=",
"c",
"... | Inserts into this CacheMap all entries from the specified CacheMap,
returning a list of any values that do not fit.
@param c the source CacheMap from which to copy entries.
@return list of values from the source CacheMap which didn't fit. | [
"Inserts",
"into",
"this",
"CacheMap",
"all",
"entries",
"from",
"the",
"specified",
"CacheMap",
"returning",
"a",
"list",
"of",
"any",
"values",
"that",
"do",
"not",
"fit",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/CacheMap.java#L172-L182 |
68,476 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/CacheMap.java | CacheMap.discardFromBucket | private Object discardFromBucket(int bucketIndex, int entryIndex) {
numDiscards++;
bucketSizes[bucketIndex]--;
numEntries--;
return values[bucketIndex][entryIndex];
} | java | private Object discardFromBucket(int bucketIndex, int entryIndex) {
numDiscards++;
bucketSizes[bucketIndex]--;
numEntries--;
return values[bucketIndex][entryIndex];
} | [
"private",
"Object",
"discardFromBucket",
"(",
"int",
"bucketIndex",
",",
"int",
"entryIndex",
")",
"{",
"numDiscards",
"++",
";",
"bucketSizes",
"[",
"bucketIndex",
"]",
"--",
";",
"numEntries",
"--",
";",
"return",
"values",
"[",
"bucketIndex",
"]",
"[",
"... | Discard an entry from the specified bucket. The actual entry is not nulled out because
it will later be overwritten.
@param bucketIndex the index of the bucket from which to discard an entry.
@param entryIndex the index of the entry within the bucket to discard.
@return the discarded value. | [
"Discard",
"an",
"entry",
"from",
"the",
"specified",
"bucket",
".",
"The",
"actual",
"entry",
"is",
"not",
"nulled",
"out",
"because",
"it",
"will",
"later",
"be",
"overwritten",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/CacheMap.java#L194-L199 |
68,477 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java | MESubscription.addRef | int addRef()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "addRef");
int ret = NOP;
// If this is a new subscription, then the operation is to subscribe.
if (_refCount++ == 0)
ret = SUBSCRIBE;
checkRefCount();
if (TraceComponent.isAnyTraci... | java | int addRef()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "addRef");
int ret = NOP;
// If this is a new subscription, then the operation is to subscribe.
if (_refCount++ == 0)
ret = SUBSCRIBE;
checkRefCount();
if (TraceComponent.isAnyTraci... | [
"int",
"addRef",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"addRef\"",
")",
";",
"int",
"ret",
"=",
"NOP",
";",
"// If ... | Adds a reference to the subscription.
@return The operation represented by the addition of the reference. | [
"Adds",
"a",
"reference",
"to",
"the",
"subscription",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java#L200-L218 |
68,478 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java | MESubscription.removeRef | int removeRef()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeRef");
int ret = NOP;
// If this is the last reference, then the operation is unsubscribe.
if (--_refCount == 0)
ret = UNSUBSCRIBE;
checkRefCount();
if (TraceComponent.isA... | java | int removeRef()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeRef");
int ret = NOP;
// If this is the last reference, then the operation is unsubscribe.
if (--_refCount == 0)
ret = UNSUBSCRIBE;
checkRefCount();
if (TraceComponent.isA... | [
"int",
"removeRef",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"removeRef\"",
")",
";",
"int",
"ret",
"=",
"NOP",
";",
"... | Removes a reference to the subscription.
@return The operation represented by the removal of the reference. | [
"Removes",
"a",
"reference",
"to",
"the",
"subscription",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java#L226-L244 |
68,479 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java | MESubscription.getTopic | final String getTopic()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getTopic");
SibTr.exit(tc, "getTopic", _topic);
}
return _topic;
} | java | final String getTopic()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getTopic");
SibTr.exit(tc, "getTopic", _topic);
}
return _topic;
} | [
"final",
"String",
"getTopic",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getTopic\"",
")",
";",
"SibTr",
".",
"exit... | Returns the value of the topic.
@return The topic. | [
"Returns",
"the",
"value",
"of",
"the",
"topic",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java#L251-L260 |
68,480 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java | MESubscription.getTopicSpaceUuid | final SIBUuid12 getTopicSpaceUuid()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getTopicSpaceUuid");
SibTr.exit(tc, "getTopicSpaceUuid", _topicSpaceUuid);
}
return _topicSpaceUuid;
} | java | final SIBUuid12 getTopicSpaceUuid()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getTopicSpaceUuid");
SibTr.exit(tc, "getTopicSpaceUuid", _topicSpaceUuid);
}
return _topicSpaceUuid;
} | [
"final",
"SIBUuid12",
"getTopicSpaceUuid",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getTopicSpaceUuid\"",
")",
";",
"S... | Returns the value of the topic space uuid.
@return The topic space uuid | [
"Returns",
"the",
"value",
"of",
"the",
"topic",
"space",
"uuid",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java#L294-L303 |
68,481 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java | MESubscription.getTopicSpaceName | final String getTopicSpaceName()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getTopicSpaceName");
SibTr.exit(tc, "getTopicSpaceName", _topicSpaceName);
}
return _topicSpaceName;
} | java | final String getTopicSpaceName()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getTopicSpaceName");
SibTr.exit(tc, "getTopicSpaceName", _topicSpaceName);
}
return _topicSpaceName;
} | [
"final",
"String",
"getTopicSpaceName",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getTopicSpaceName\"",
")",
";",
"SibT... | Returns the value of the topic space name.
@return The topic space name | [
"Returns",
"the",
"value",
"of",
"the",
"topic",
"space",
"name",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java#L310-L319 |
68,482 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java | MESubscription.getMESubUserId | final String getMESubUserId()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getMESubUserId");
SibTr.exit(tc, "getMESubUserId", _meSubUserId);
}
return _meSubUserId;
} | java | final String getMESubUserId()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getMESubUserId");
SibTr.exit(tc, "getMESubUserId", _meSubUserId);
}
return _meSubUserId;
} | [
"final",
"String",
"getMESubUserId",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getMESubUserId\"",
")",
";",
"SibTr",
... | Returns the value of the userid associated with the subscription.
@return The userid. | [
"Returns",
"the",
"value",
"of",
"the",
"userid",
"associated",
"with",
"the",
"subscription",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java#L326-L335 |
68,483 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java | MESubscription.isForeignSecuredProxy | final boolean isForeignSecuredProxy()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "isForeignSecuredProxy");
SibTr.exit(tc, "isForeignSecuredProxy", new Boolean(_foreignSecuredProxy));
}
return _foreignSecuredProxy;
} | java | final boolean isForeignSecuredProxy()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "isForeignSecuredProxy");
SibTr.exit(tc, "isForeignSecuredProxy", new Boolean(_foreignSecuredProxy));
}
return _foreignSecuredProxy;
} | [
"final",
"boolean",
"isForeignSecuredProxy",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"isForeignSecuredProxy\"",
")",
";"... | Returns true if this proxy sub was from a foreign bus in a secured env.
@return The userid. | [
"Returns",
"true",
"if",
"this",
"proxy",
"sub",
"was",
"from",
"a",
"foreign",
"bus",
"in",
"a",
"secured",
"env",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java#L354-L363 |
68,484 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java | MESubscription.mark | void mark()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "mark");
SibTr.exit(tc, "mark");
}
_marked = true;
} | java | void mark()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "mark");
SibTr.exit(tc, "mark");
}
_marked = true;
} | [
"void",
"mark",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"mark\"",
")",
";",
"SibTr",
".",
"exit",
"(",
"tc",
"... | Marks this object.
Used for deciding if this object is to be deleted.
The object is marked, the proxies are all reregistered.
If there is a mark still left, then this proxy can be deleted. | [
"Marks",
"this",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java#L386-L395 |
68,485 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java | MESubscription.unmark | void unmark()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "unmark");
SibTr.exit(tc, "unmark");
}
_marked = false;
} | java | void unmark()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "unmark");
SibTr.exit(tc, "unmark");
}
_marked = false;
} | [
"void",
"unmark",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"unmark\"",
")",
";",
"SibTr",
".",
"exit",
"(",
"tc",... | Unmarks this object.
Used for deciding if this object is to be deleted.
The object is marked, the proxies are all reregistered.
If there is a mark still left, then this proxy can be deleted. | [
"Unmarks",
"this",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java#L405-L414 |
68,486 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java | MESubscription.isMarked | boolean isMarked()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "isMarked");
SibTr.exit(tc, "isMarked", new Boolean(_marked));
}
return _marked;
} | java | boolean isMarked()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "isMarked");
SibTr.exit(tc, "isMarked", new Boolean(_marked));
}
return _marked;
} | [
"boolean",
"isMarked",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"isMarked\"",
")",
";",
"SibTr",
".",
"exit",
"(",
... | Is Marked indicates if this object is still marked.
If it is, then it can be removed.
@return iMarked true if this Subscription is still marked. | [
"Is",
"Marked",
"indicates",
"if",
"this",
"object",
"is",
"still",
"marked",
".",
"If",
"it",
"is",
"then",
"it",
"can",
"be",
"removed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java#L422-L431 |
68,487 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java | MESubscription.registerForPostCommit | protected void registerForPostCommit(MultiMEProxyHandler proxyHandler,
DestinationHandler destination,
PubSubOutputHandler handler,
Neighbour neighbour)
{
if (TraceComponent.isAnyTracingEnabled() ... | java | protected void registerForPostCommit(MultiMEProxyHandler proxyHandler,
DestinationHandler destination,
PubSubOutputHandler handler,
Neighbour neighbour)
{
if (TraceComponent.isAnyTracingEnabled() ... | [
"protected",
"void",
"registerForPostCommit",
"(",
"MultiMEProxyHandler",
"proxyHandler",
",",
"DestinationHandler",
"destination",
",",
"PubSubOutputHandler",
"handler",
",",
"Neighbour",
"neighbour",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"("... | Sets the information in the subscription so that when a commit
is called it can resolve the correct objects to add items to
the MatchSpace.
@param proxyHandler
@param handler | [
"Sets",
"the",
"information",
"in",
"the",
"subscription",
"so",
"that",
"when",
"a",
"commit",
"is",
"called",
"it",
"can",
"resolve",
"the",
"correct",
"objects",
"to",
"add",
"items",
"to",
"the",
"MatchSpace",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java#L458-L474 |
68,488 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java | MESubscription.registerForPostCommit | protected void registerForPostCommit(Neighbour neighbour,
Neighbours neighbours)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "registerForPostCommit",
new Object[] { neighbour, neighbours });
_proxyHandler = null;
... | java | protected void registerForPostCommit(Neighbour neighbour,
Neighbours neighbours)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "registerForPostCommit",
new Object[] { neighbour, neighbours });
_proxyHandler = null;
... | [
"protected",
"void",
"registerForPostCommit",
"(",
"Neighbour",
"neighbour",
",",
"Neighbours",
"neighbours",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
... | Used only for rollback - if the transaction is rolled
back and there is a neighbour set, then rmeove the proxy reference.
@param neighbour the neighbour object for rollback | [
"Used",
"only",
"for",
"rollback",
"-",
"if",
"the",
"transaction",
"is",
"rolled",
"back",
"and",
"there",
"is",
"a",
"neighbour",
"set",
"then",
"rmeove",
"the",
"proxy",
"reference",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java#L482-L497 |
68,489 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java | MESubscription.eventPostRollbackAdd | public void eventPostRollbackAdd(Transaction transaction) throws SevereMessageStoreException
{
super.eventPostRollbackAdd(transaction);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "eventPostRollbackAdd", transaction);
if (_handler != null)
... | java | public void eventPostRollbackAdd(Transaction transaction) throws SevereMessageStoreException
{
super.eventPostRollbackAdd(transaction);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "eventPostRollbackAdd", transaction);
if (_handler != null)
... | [
"public",
"void",
"eventPostRollbackAdd",
"(",
"Transaction",
"transaction",
")",
"throws",
"SevereMessageStoreException",
"{",
"super",
".",
"eventPostRollbackAdd",
"(",
"transaction",
")",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",... | When the add rollback is made, need to remove the
topic.
Or the topicSpace reference needs to be removed.
@param transaction the {@link Transaction} under which the
event has occurred | [
"When",
"the",
"add",
"rollback",
"is",
"made",
"need",
"to",
"remove",
"the",
"topic",
".",
"Or",
"the",
"topicSpace",
"reference",
"needs",
"to",
"be",
"removed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java#L606-L639 |
68,490 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java | MESubscription.eventPostCommitUpdate | public void eventPostCommitUpdate(Transaction transaction) throws SevereMessageStoreException
{
super.eventPostCommitAdd(transaction);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "eventPostCommitUpdate", transaction);
// Remove the current CPS from... | java | public void eventPostCommitUpdate(Transaction transaction) throws SevereMessageStoreException
{
super.eventPostCommitAdd(transaction);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "eventPostCommitUpdate", transaction);
// Remove the current CPS from... | [
"public",
"void",
"eventPostCommitUpdate",
"(",
"Transaction",
"transaction",
")",
"throws",
"SevereMessageStoreException",
"{",
"super",
".",
"eventPostCommitAdd",
"(",
"transaction",
")",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
... | Updates the ControllableProxySubscription.
We go through a full blown MatchSpace add and remove operation
to ensure that MatchSpace caches get re-synched.
@param transaction the {@link Transaction} under which the
event has occurred | [
"Updates",
"the",
"ControllableProxySubscription",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java#L677-L740 |
68,491 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java | MESubscription.setMatchspaceSub | public void setMatchspaceSub(ControllableProxySubscription sub)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setMatchspaceSub", sub);
_controllableProxySubscription = sub;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.... | java | public void setMatchspaceSub(ControllableProxySubscription sub)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setMatchspaceSub", sub);
_controllableProxySubscription = sub;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.... | [
"public",
"void",
"setMatchspaceSub",
"(",
"ControllableProxySubscription",
"sub",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"setMatch... | This sets the field in the MESubscription for the object that was
stored in the Matchspace
@param sub | [
"This",
"sets",
"the",
"field",
"in",
"the",
"MESubscription",
"for",
"the",
"object",
"that",
"was",
"stored",
"in",
"the",
"Matchspace"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java#L887-L896 |
68,492 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java | MESubscription.getMatchspaceSub | public ControllableProxySubscription getMatchspaceSub()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getMatchspaceSub");
SibTr.exit(tc, "getMatchspaceSub", _controllableProxySubscription);
}
return _controllableProxySubscription;
} | java | public ControllableProxySubscription getMatchspaceSub()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getMatchspaceSub");
SibTr.exit(tc, "getMatchspaceSub", _controllableProxySubscription);
}
return _controllableProxySubscription;
} | [
"public",
"ControllableProxySubscription",
"getMatchspaceSub",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getMatchspaceSub\"",... | Gets the object that was stored in the Matchspace
@return | [
"Gets",
"the",
"object",
"that",
"was",
"stored",
"in",
"the",
"Matchspace"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MESubscription.java#L902-L910 |
68,493 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/msgstore/ReferenceStream.java | ReferenceStream.findById | public final AbstractItem findById(long itemId) throws SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "findById", Long.valueOf(itemId));
AbstractItem item = null;
ReferenceCollection ic = ((ReferenceCollection... | java | public final AbstractItem findById(long itemId) throws SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "findById", Long.valueOf(itemId));
AbstractItem item = null;
ReferenceCollection ic = ((ReferenceCollection... | [
"public",
"final",
"AbstractItem",
"findById",
"(",
"long",
"itemId",
")",
"throws",
"SevereMessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
... | Reply the item in the receiver with a matching ID. The item returned
stream is neither removed from the message store nor locked for exclusive use
of the caller.
@param itemId
@return item found or null if none.
@throws SevereMessageStoreException
@throws MessageStoreException | [
"Reply",
"the",
"item",
"in",
"the",
"receiver",
"with",
"a",
"matching",
"ID",
".",
"The",
"item",
"returned",
"stream",
"is",
"neither",
"removed",
"from",
"the",
"message",
"store",
"nor",
"locked",
"for",
"exclusive",
"use",
"of",
"the",
"caller",
"."
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/msgstore/ReferenceStream.java#L191-L209 |
68,494 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/msgstore/ReferenceStream.java | ReferenceStream.findOldestReference | public final ItemReference findOldestReference() throws MessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "findOldestReference");
ReferenceCollection ic = ((ReferenceCollection) _getMembership());
if (null == ic)
... | java | public final ItemReference findOldestReference() throws MessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "findOldestReference");
ReferenceCollection ic = ((ReferenceCollection) _getMembership());
if (null == ic)
... | [
"public",
"final",
"ItemReference",
"findOldestReference",
"(",
")",
"throws",
"MessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
... | Find the reference that has been known to the stream for longest. The reference returned
may be in any of the states defined in the state model. The caller should not
assume that the reference can be used for any particular purpose.
@return Item, may be null.
@throws {@link MessageStoreException} if the item was spill... | [
"Find",
"the",
"reference",
"that",
"has",
"been",
"known",
"to",
"the",
"stream",
"for",
"longest",
".",
"The",
"reference",
"returned",
"may",
"be",
"in",
"any",
"of",
"the",
"states",
"defined",
"in",
"the",
"state",
"model",
".",
"The",
"caller",
"sh... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/msgstore/ReferenceStream.java#L255-L276 |
68,495 | OpenLiberty/open-liberty | dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/api/impl/JobOperatorImpl.java | JobOperatorImpl.publishEvent | private void publishEvent(WSJobExecution jobEx, String topicToPublish, String correlationId) {
if (eventsPublisher != null) {
eventsPublisher.publishJobExecutionEvent(jobEx, topicToPublish, correlationId);
}
} | java | private void publishEvent(WSJobExecution jobEx, String topicToPublish, String correlationId) {
if (eventsPublisher != null) {
eventsPublisher.publishJobExecutionEvent(jobEx, topicToPublish, correlationId);
}
} | [
"private",
"void",
"publishEvent",
"(",
"WSJobExecution",
"jobEx",
",",
"String",
"topicToPublish",
",",
"String",
"correlationId",
")",
"{",
"if",
"(",
"eventsPublisher",
"!=",
"null",
")",
"{",
"eventsPublisher",
".",
"publishJobExecutionEvent",
"(",
"jobEx",
",... | Helper method to publish event
@param jobEx
@param topicToPublish
@param correlationId | [
"Helper",
"method",
"to",
"publish",
"event"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/api/impl/JobOperatorImpl.java#L369-L373 |
68,496 | OpenLiberty/open-liberty | dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/api/impl/JobOperatorImpl.java | JobOperatorImpl.publishEvent | private void publishEvent(WSJobInstance jobInst, String topicToPublish, String correlationId) {
if (eventsPublisher != null) {
eventsPublisher.publishJobInstanceEvent(jobInst, topicToPublish, correlationId);
}
} | java | private void publishEvent(WSJobInstance jobInst, String topicToPublish, String correlationId) {
if (eventsPublisher != null) {
eventsPublisher.publishJobInstanceEvent(jobInst, topicToPublish, correlationId);
}
} | [
"private",
"void",
"publishEvent",
"(",
"WSJobInstance",
"jobInst",
",",
"String",
"topicToPublish",
",",
"String",
"correlationId",
")",
"{",
"if",
"(",
"eventsPublisher",
"!=",
"null",
")",
"{",
"eventsPublisher",
".",
"publishJobInstanceEvent",
"(",
"jobInst",
... | Helper method to publish event with correlationId
@param jobInstance
@param topicToPublish
@param correlationId | [
"Helper",
"method",
"to",
"publish",
"event",
"with",
"correlationId"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/api/impl/JobOperatorImpl.java#L382-L386 |
68,497 | OpenLiberty/open-liberty | dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/api/impl/JobOperatorImpl.java | JobOperatorImpl.restartInternal | private long restartInternal(long oldExecutionId,
Properties restartParameters) throws JobExecutionAlreadyCompleteException, NoSuchJobExecutionException, JobExecutionNotMostRecentException, JobRestartException, JobSecurityException {
if (authService != null) {
authS... | java | private long restartInternal(long oldExecutionId,
Properties restartParameters) throws JobExecutionAlreadyCompleteException, NoSuchJobExecutionException, JobExecutionNotMostRecentException, JobRestartException, JobSecurityException {
if (authService != null) {
authS... | [
"private",
"long",
"restartInternal",
"(",
"long",
"oldExecutionId",
",",
"Properties",
"restartParameters",
")",
"throws",
"JobExecutionAlreadyCompleteException",
",",
"NoSuchJobExecutionException",
",",
"JobExecutionNotMostRecentException",
",",
"JobRestartException",
",",
"J... | Restart the given execution using the given jobparams.
@return execId of restarted job. | [
"Restart",
"the",
"given",
"execution",
"using",
"the",
"given",
"jobparams",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/api/impl/JobOperatorImpl.java#L651-L676 |
68,498 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/MBeans.java | MBeans.getMessageDigestMD5 | private void getMessageDigestMD5() throws AttributeNotFoundException {
if (MBeans.messageDigestMD5 == null) {
try {
MBeans.messageDigestMD5 = MessageDigestUtility.createMessageDigest("MD5");
} catch (NoSuchAlgorithmException e) {
Tr.error(tc, "DYNA1044E", ... | java | private void getMessageDigestMD5() throws AttributeNotFoundException {
if (MBeans.messageDigestMD5 == null) {
try {
MBeans.messageDigestMD5 = MessageDigestUtility.createMessageDigest("MD5");
} catch (NoSuchAlgorithmException e) {
Tr.error(tc, "DYNA1044E", ... | [
"private",
"void",
"getMessageDigestMD5",
"(",
")",
"throws",
"AttributeNotFoundException",
"{",
"if",
"(",
"MBeans",
".",
"messageDigestMD5",
"==",
"null",
")",
"{",
"try",
"{",
"MBeans",
".",
"messageDigestMD5",
"=",
"MessageDigestUtility",
".",
"createMessageDige... | create messageDigest for MD5 algoritm if it is not created. | [
"create",
"messageDigest",
"for",
"MD5",
"algoritm",
"if",
"it",
"is",
"not",
"created",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/MBeans.java#L651-L660 |
68,499 | OpenLiberty/open-liberty | dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/metatype/ExtendedObjectClassDefinitionImpl.java | ExtendedObjectClassDefinitionImpl.getAttributeMap | @Override
@Trivial
public Map<String, ExtendedAttributeDefinition> getAttributeMap() {
Map<String, ExtendedAttributeDefinition> map = null;
AttributeDefinition[] attrDefs = getAttributeDefinitions(ObjectClassDefinition.ALL);
if (attrDefs != null) {
map = new HashMap<String, E... | java | @Override
@Trivial
public Map<String, ExtendedAttributeDefinition> getAttributeMap() {
Map<String, ExtendedAttributeDefinition> map = null;
AttributeDefinition[] attrDefs = getAttributeDefinitions(ObjectClassDefinition.ALL);
if (attrDefs != null) {
map = new HashMap<String, E... | [
"@",
"Override",
"@",
"Trivial",
"public",
"Map",
"<",
"String",
",",
"ExtendedAttributeDefinition",
">",
"getAttributeMap",
"(",
")",
"{",
"Map",
"<",
"String",
",",
"ExtendedAttributeDefinition",
">",
"map",
"=",
"null",
";",
"AttributeDefinition",
"[",
"]",
... | ONLY USED BY SCHEMA WRITER | [
"ONLY",
"USED",
"BY",
"SCHEMA",
"WRITER"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/metatype/ExtendedObjectClassDefinitionImpl.java#L270-L284 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.