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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
111,500 | OpenLiberty/open-liberty | dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigEvaluator.java | ConfigEvaluator.evaluateConfigElement | private String evaluateConfigElement(ConfigElement childElement, final ExtendedAttributeDefinition parentAttribute, EvaluationContext context,
int index) throws ConfigEvaluatorException {
RegistryEntry childRegistryEntry = null;
if (parentAttribute != null && par... | java | private String evaluateConfigElement(ConfigElement childElement, final ExtendedAttributeDefinition parentAttribute, EvaluationContext context,
int index) throws ConfigEvaluatorException {
RegistryEntry childRegistryEntry = null;
if (parentAttribute != null && par... | [
"private",
"String",
"evaluateConfigElement",
"(",
"ConfigElement",
"childElement",
",",
"final",
"ExtendedAttributeDefinition",
"parentAttribute",
",",
"EvaluationContext",
"context",
",",
"int",
"index",
")",
"throws",
"ConfigEvaluatorException",
"{",
"RegistryEntry",
"ch... | Creates a NestedInfo object containing the service pid, config element, and registry entry for a nested config
element. If this service pid has not been seen yet in this context, the pid value will be returned. Otherwise,
the method returns null.
@param childElement The nested element
@param parentAttribute The Attrib... | [
"Creates",
"a",
"NestedInfo",
"object",
"containing",
"the",
"service",
"pid",
"config",
"element",
"and",
"registry",
"entry",
"for",
"a",
"nested",
"config",
"element",
".",
"If",
"this",
"service",
"pid",
"has",
"not",
"been",
"seen",
"yet",
"in",
"this",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigEvaluator.java#L1452-L1535 |
111,501 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATDestination.java | StaticCATDestination.rcvCreateTempDestination | static void rcvCreateTempDestination(CommsByteBuffer request, Conversation conversation,
int requestNumber, boolean allocatedFromBufferPool,
boolean partOfExchange)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())... | java | static void rcvCreateTempDestination(CommsByteBuffer request, Conversation conversation,
int requestNumber, boolean allocatedFromBufferPool,
boolean partOfExchange)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())... | [
"static",
"void",
"rcvCreateTempDestination",
"(",
"CommsByteBuffer",
"request",
",",
"Conversation",
"conversation",
",",
"int",
"requestNumber",
",",
"boolean",
"allocatedFromBufferPool",
",",
"boolean",
"partOfExchange",
")",
"{",
"if",
"(",
"TraceComponent",
".",
... | Creates a temporary destination for use for this connection only.
Fields:
BIT16 ConnectionObjectID
BIT16 Distribution type (0x0000 - ONE, 0x0001 - ALL)
BIT16 DestinationNamePrefixLength
BYTE[] DestinationNamePrefix
@param request
@param conversation
@param requestNumber
@param allocatedFromBufferPool
@pa... | [
"Creates",
"a",
"temporary",
"destination",
"for",
"use",
"for",
"this",
"connection",
"only",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATDestination.java#L89-L188 |
111,502 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.jwtsso_fat/fat/src/com/ibm/ws/security/jwtsso/fat/utils/CommonExpectations.java | CommonExpectations.getJwtPrincipalExpectations | public static Expectations getJwtPrincipalExpectations(String testAction, String user, String issuer) {
Expectations expectations = new Expectations();
expectations.addExpectation(new JwtExpectation(testAction, "token_type", JwtFatConstants.TOKEN_TYPE_BEARER));
expectations.addExpectation(new Jw... | java | public static Expectations getJwtPrincipalExpectations(String testAction, String user, String issuer) {
Expectations expectations = new Expectations();
expectations.addExpectation(new JwtExpectation(testAction, "token_type", JwtFatConstants.TOKEN_TYPE_BEARER));
expectations.addExpectation(new Jw... | [
"public",
"static",
"Expectations",
"getJwtPrincipalExpectations",
"(",
"String",
"testAction",
",",
"String",
"user",
",",
"String",
"issuer",
")",
"{",
"Expectations",
"expectations",
"=",
"new",
"Expectations",
"(",
")",
";",
"expectations",
".",
"addExpectation"... | Sets expectations that will check various claims within the subject JWT. | [
"Sets",
"expectations",
"that",
"will",
"check",
"various",
"claims",
"within",
"the",
"subject",
"JWT",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.jwtsso_fat/fat/src/com/ibm/ws/security/jwtsso/fat/utils/CommonExpectations.java#L196-L203 |
111,503 | OpenLiberty/open-liberty | dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/bci/AbstractRasClassAdapter.java | AbstractRasClassAdapter.visitInnerClass | @Override
public void visitInnerClass(String name, String outerName, String innerName, int access) {
// Make sure the class is annotated.
ensureAnnotated();
if (name.equals(getClassInternalName())) {
StringBuilder sb = new StringBuilder();
sb.append(outerName);
... | java | @Override
public void visitInnerClass(String name, String outerName, String innerName, int access) {
// Make sure the class is annotated.
ensureAnnotated();
if (name.equals(getClassInternalName())) {
StringBuilder sb = new StringBuilder();
sb.append(outerName);
... | [
"@",
"Override",
"public",
"void",
"visitInnerClass",
"(",
"String",
"name",
",",
"String",
"outerName",
",",
"String",
"innerName",
",",
"int",
"access",
")",
"{",
"// Make sure the class is annotated.",
"ensureAnnotated",
"(",
")",
";",
"if",
"(",
"name",
".",... | Visit the information about an inner class. We use this to determine
whether or not the we're visiting an inner class. This callback is
also used to ensure that appropriate class level annotations exist. | [
"Visit",
"the",
"information",
"about",
"an",
"inner",
"class",
".",
"We",
"use",
"this",
"to",
"determine",
"whether",
"or",
"not",
"the",
"we",
"re",
"visiting",
"an",
"inner",
"class",
".",
"This",
"callback",
"is",
"also",
"used",
"to",
"ensure",
"th... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/bci/AbstractRasClassAdapter.java#L176-L190 |
111,504 | OpenLiberty/open-liberty | dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/bci/AbstractRasClassAdapter.java | AbstractRasClassAdapter.ensureTraceObjectFieldAnnotated | protected void ensureTraceObjectFieldAnnotated() {
if (traceObjectFieldAnnotationVisitor == null && getTraceObjectFieldType() != null) {
visitAnnotation(TRACE_OBJECT_FIELD_TYPE.getDescriptor(), true);
// Save and restore the reference to the traceObjectFieldAnnotationVisitor
... | java | protected void ensureTraceObjectFieldAnnotated() {
if (traceObjectFieldAnnotationVisitor == null && getTraceObjectFieldType() != null) {
visitAnnotation(TRACE_OBJECT_FIELD_TYPE.getDescriptor(), true);
// Save and restore the reference to the traceObjectFieldAnnotationVisitor
... | [
"protected",
"void",
"ensureTraceObjectFieldAnnotated",
"(",
")",
"{",
"if",
"(",
"traceObjectFieldAnnotationVisitor",
"==",
"null",
"&&",
"getTraceObjectFieldType",
"(",
")",
"!=",
"null",
")",
"{",
"visitAnnotation",
"(",
"TRACE_OBJECT_FIELD_TYPE",
".",
"getDescriptor... | Verify that the TraceObjectField annotation exists on the instrumented
class. If one does not exist, add it. | [
"Verify",
"that",
"the",
"TraceObjectField",
"annotation",
"exists",
"on",
"the",
"instrumented",
"class",
".",
"If",
"one",
"does",
"not",
"exist",
"add",
"it",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/bci/AbstractRasClassAdapter.java#L216-L229 |
111,505 | OpenLiberty/open-liberty | dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/bci/AbstractRasClassAdapter.java | AbstractRasClassAdapter.visitEnd | @Override
public void visitEnd() {
if (isInstrumentableClass()) {
// Add a field to hold the trace state if needed
if (isTraceObjectFieldDefinitionRequired()) {
int access = (Opcodes.ACC_PRIVATE | Opcodes.ACC_FINAL | Opcodes.ACC_STATIC | Opcodes.ACC_SYNTHETIC);
... | java | @Override
public void visitEnd() {
if (isInstrumentableClass()) {
// Add a field to hold the trace state if needed
if (isTraceObjectFieldDefinitionRequired()) {
int access = (Opcodes.ACC_PRIVATE | Opcodes.ACC_FINAL | Opcodes.ACC_STATIC | Opcodes.ACC_SYNTHETIC);
... | [
"@",
"Override",
"public",
"void",
"visitEnd",
"(",
")",
"{",
"if",
"(",
"isInstrumentableClass",
"(",
")",
")",
"{",
"// Add a field to hold the trace state if needed",
"if",
"(",
"isTraceObjectFieldDefinitionRequired",
"(",
")",
")",
"{",
"int",
"access",
"=",
"... | Visit the end of the class. All of the methods and fieldInfos defined in
the class have been visited at this point. If we didn't encounter a
trace state field or static initializer, we'll add them now. | [
"Visit",
"the",
"end",
"of",
"the",
"class",
".",
"All",
"of",
"the",
"methods",
"and",
"fieldInfos",
"defined",
"in",
"the",
"class",
"have",
"been",
"visited",
"at",
"this",
"point",
".",
"If",
"we",
"didn",
"t",
"encounter",
"a",
"trace",
"state",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/bci/AbstractRasClassAdapter.java#L258-L284 |
111,506 | OpenLiberty/open-liberty | dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/bci/AbstractRasClassAdapter.java | AbstractRasClassAdapter.getTraceOptionsData | public TraceOptionsData getTraceOptionsData() {
if (classInfo != null) {
return classInfo.getTraceOptionsData();
}
if (optionsAnnotationVisitor != null) {
return optionsAnnotationVisitor.getTraceOptionsData();
}
return null;
} | java | public TraceOptionsData getTraceOptionsData() {
if (classInfo != null) {
return classInfo.getTraceOptionsData();
}
if (optionsAnnotationVisitor != null) {
return optionsAnnotationVisitor.getTraceOptionsData();
}
return null;
} | [
"public",
"TraceOptionsData",
"getTraceOptionsData",
"(",
")",
"{",
"if",
"(",
"classInfo",
"!=",
"null",
")",
"{",
"return",
"classInfo",
".",
"getTraceOptionsData",
"(",
")",
";",
"}",
"if",
"(",
"optionsAnnotationVisitor",
"!=",
"null",
")",
"{",
"return",
... | Get the effective trace options for this class.
@return the effective trace options for this class | [
"Get",
"the",
"effective",
"trace",
"options",
"for",
"this",
"class",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/bci/AbstractRasClassAdapter.java#L440-L448 |
111,507 | OpenLiberty/open-liberty | dev/com.ibm.ws.session.cache/src/com/ibm/ws/session/store/cache/RuntimeUpdateListenerImpl.java | RuntimeUpdateListenerImpl.notificationCreated | @Trivial //trace is manually added.
@Override
public void notificationCreated(RuntimeUpdateManager updateManager, RuntimeUpdateNotification notification) {
final boolean trace = TraceComponent.isAnyTracingEnabled();
if (trace && tc.isEntryEnabled())
Tr.entry(this, tc, "notificationC... | java | @Trivial //trace is manually added.
@Override
public void notificationCreated(RuntimeUpdateManager updateManager, RuntimeUpdateNotification notification) {
final boolean trace = TraceComponent.isAnyTracingEnabled();
if (trace && tc.isEntryEnabled())
Tr.entry(this, tc, "notificationC... | [
"@",
"Trivial",
"//trace is manually added.",
"@",
"Override",
"public",
"void",
"notificationCreated",
"(",
"RuntimeUpdateManager",
"updateManager",
",",
"RuntimeUpdateNotification",
"notification",
")",
"{",
"final",
"boolean",
"trace",
"=",
"TraceComponent",
".",
"isAn... | Perform validation checking on the sessionCache feature's configuration. | [
"Perform",
"validation",
"checking",
"on",
"the",
"sessionCache",
"feature",
"s",
"configuration",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.cache/src/com/ibm/ws/session/store/cache/RuntimeUpdateListenerImpl.java#L71-L142 |
111,508 | OpenLiberty/open-liberty | dev/com.ibm.ws.session.cache/src/com/ibm/ws/session/store/cache/RuntimeUpdateListenerImpl.java | RuntimeUpdateListenerImpl.isSessionCacheBellConfigured | private boolean isSessionCacheBellConfigured() throws IOException, InvalidSyntaxException {
final boolean trace = TraceComponent.isAnyTracingEnabled();
boolean sessionCacheBellFound = false;
String bellConfigFilter = FilterUtils.createPropertyFilter("service.factoryPid", "com.ibm.ws.classloading... | java | private boolean isSessionCacheBellConfigured() throws IOException, InvalidSyntaxException {
final boolean trace = TraceComponent.isAnyTracingEnabled();
boolean sessionCacheBellFound = false;
String bellConfigFilter = FilterUtils.createPropertyFilter("service.factoryPid", "com.ibm.ws.classloading... | [
"private",
"boolean",
"isSessionCacheBellConfigured",
"(",
")",
"throws",
"IOException",
",",
"InvalidSyntaxException",
"{",
"final",
"boolean",
"trace",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"boolean",
"sessionCacheBellFound",
"=",
"false",
... | Check if the server configuration contains a BELL that provides the javax.cache.spi.CachingProvider service.
@return True if a BELL providing the javax.cache.spi.CachingProvider service is configured.
@throws IOException
@throws InvalidSyntaxException | [
"Check",
"if",
"the",
"server",
"configuration",
"contains",
"a",
"BELL",
"that",
"provides",
"the",
"javax",
".",
"cache",
".",
"spi",
".",
"CachingProvider",
"service",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.cache/src/com/ibm/ws/session/store/cache/RuntimeUpdateListenerImpl.java#L151-L200 |
111,509 | OpenLiberty/open-liberty | dev/com.ibm.ws.jndi/src/com/ibm/ws/jndi/internal/WSContextFactory.java | WSContextFactory.activate | protected void activate(ComponentContext cc) {
Bundle usingBundle = cc.getUsingBundle();
userContext = usingBundle.getBundleContext();
} | java | protected void activate(ComponentContext cc) {
Bundle usingBundle = cc.getUsingBundle();
userContext = usingBundle.getBundleContext();
} | [
"protected",
"void",
"activate",
"(",
"ComponentContext",
"cc",
")",
"{",
"Bundle",
"usingBundle",
"=",
"cc",
".",
"getUsingBundle",
"(",
")",
";",
"userContext",
"=",
"usingBundle",
".",
"getBundleContext",
"(",
")",
";",
"}"
] | called by DS to activate this component | [
"called",
"by",
"DS",
"to",
"activate",
"this",
"component"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jndi/src/com/ibm/ws/jndi/internal/WSContextFactory.java#L49-L52 |
111,510 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.fat.common/src/com/ibm/ws/security/fat/common/utils/SecurityFatHttpUtils.java | SecurityFatHttpUtils.getHttpConnectionWithAnyResponseCode | public static HttpURLConnection getHttpConnectionWithAnyResponseCode(LibertyServer server, String path) throws IOException {
int timeout = DEFAULT_TIMEOUT;
URL url = createURL(server, path);
HttpURLConnection con = getHttpConnection(url, timeout, HTTPRequestMethod.GET);
Log.info(Security... | java | public static HttpURLConnection getHttpConnectionWithAnyResponseCode(LibertyServer server, String path) throws IOException {
int timeout = DEFAULT_TIMEOUT;
URL url = createURL(server, path);
HttpURLConnection con = getHttpConnection(url, timeout, HTTPRequestMethod.GET);
Log.info(Security... | [
"public",
"static",
"HttpURLConnection",
"getHttpConnectionWithAnyResponseCode",
"(",
"LibertyServer",
"server",
",",
"String",
"path",
")",
"throws",
"IOException",
"{",
"int",
"timeout",
"=",
"DEFAULT_TIMEOUT",
";",
"URL",
"url",
"=",
"createURL",
"(",
"server",
"... | This method creates a connection to a webpage and then returns the connection, it doesn't care what the response code is.
@param server
The liberty server that is hosting the URL
@param path
The path to the URL with the output to test (excluding port and server information). For instance
"/someContextRoot/servlet1"
@r... | [
"This",
"method",
"creates",
"a",
"connection",
"to",
"a",
"webpage",
"and",
"then",
"returns",
"the",
"connection",
"it",
"doesn",
"t",
"care",
"what",
"the",
"response",
"code",
"is",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.fat.common/src/com/ibm/ws/security/fat/common/utils/SecurityFatHttpUtils.java#L42-L49 |
111,511 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/octracker/OutboundConnectionTracker.java | OutboundConnectionTracker.getAllOutboundConversations | @SuppressWarnings("unchecked")
public List getAllOutboundConversations()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getAllOutboundConversations");
final List<Conversation> result = new ArrayList<Conversation>();
final HashMap<En... | java | @SuppressWarnings("unchecked")
public List getAllOutboundConversations()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getAllOutboundConversations");
final List<Conversation> result = new ArrayList<Conversation>();
final HashMap<En... | [
"@",
"SuppressWarnings",
"(",
"\"unchecked\"",
")",
"public",
"List",
"getAllOutboundConversations",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",... | Gets a list of all the active conversations known about by the outbound connection tracker.
@return Returns a list | [
"Gets",
"a",
"list",
"of",
"all",
"the",
"active",
"conversations",
"known",
"about",
"by",
"the",
"outbound",
"connection",
"tracker",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/octracker/OutboundConnectionTracker.java#L230-L270 |
111,512 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/octracker/OutboundConnectionTracker.java | OutboundConnectionTracker.closeConversation | public void closeConversation(OutboundConnection connectionHostingConversation)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "closeConversation", connectionHostingConversation);
// To avoid deadlock - keep a list of pending closes and only all... | java | public void closeConversation(OutboundConnection connectionHostingConversation)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "closeConversation", connectionHostingConversation);
// To avoid deadlock - keep a list of pending closes and only all... | [
"public",
"void",
"closeConversation",
"(",
"OutboundConnection",
"connectionHostingConversation",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
... | Closes a conversation for the specified connection. It is unnecessary to
require a reference to the conversation being closed as by the time this method
is invoked, the conversation has been marked "closed" and all that remains is the
book keeping. This method notifies the appropriate connection group that a
conversati... | [
"Closes",
"a",
"conversation",
"for",
"the",
"specified",
"connection",
".",
"It",
"is",
"unnecessary",
"to",
"require",
"a",
"reference",
"to",
"the",
"conversation",
"being",
"closed",
"as",
"by",
"the",
"time",
"this",
"method",
"is",
"invoked",
"the",
"c... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/octracker/OutboundConnectionTracker.java#L343-L421 |
111,513 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/octracker/OutboundConnectionTracker.java | OutboundConnectionTracker.connect | public Conversation connect(final ConversationReceiveListener receiveListener, final Conversation.ConversationType conversationType, final ConversationUsageType usageType) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "connect... | java | public Conversation connect(final ConversationReceiveListener receiveListener, final Conversation.ConversationType conversationType, final ConversationUsageType usageType) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "connect... | [
"public",
"Conversation",
"connect",
"(",
"final",
"ConversationReceiveListener",
"receiveListener",
",",
"final",
"Conversation",
".",
"ConversationType",
"conversationType",
",",
"final",
"ConversationUsageType",
"usageType",
")",
"throws",
"SIResourceException",
"{",
"if... | begin F244595, D259087 | [
"begin",
"F244595",
"D259087"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/octracker/OutboundConnectionTracker.java#L618-L686 |
111,514 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/octracker/OutboundConnectionTracker.java | OutboundConnectionTracker.cloneConversation | public Conversation cloneConversation(OutboundConnection connection,
ConversationReceiveListener conversationReceiveListener)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(th... | java | public Conversation cloneConversation(OutboundConnection connection,
ConversationReceiveListener conversationReceiveListener)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(th... | [
"public",
"Conversation",
"cloneConversation",
"(",
"OutboundConnection",
"connection",
",",
"ConversationReceiveListener",
"conversationReceiveListener",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc... | Clones a conversation. The method locates the appropriate connection group and
invokes it's clone method.
@param connection The connection to clone a conversation for.
@param conversationReceiveListener The receive listener to use for the cloned connection
@return Conversation a new cloned conversation
@throws SIComms... | [
"Clones",
"a",
"conversation",
".",
"The",
"method",
"locates",
"the",
"appropriate",
"connection",
"group",
"and",
"invokes",
"it",
"s",
"clone",
"method",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/octracker/OutboundConnectionTracker.java#L763-L774 |
111,515 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/octracker/OutboundConnectionTracker.java | OutboundConnectionTracker.purgeFromInvalidateImpl | public void purgeFromInvalidateImpl(OutboundConnection connection, boolean notifyPeer)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "purgeFromInvalidateImpl", new Object[] { connection, "" + notifyPeer });
connection.getConnectionData().getConn... | java | public void purgeFromInvalidateImpl(OutboundConnection connection, boolean notifyPeer)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "purgeFromInvalidateImpl", new Object[] { connection, "" + notifyPeer });
connection.getConnectionData().getConn... | [
"public",
"void",
"purgeFromInvalidateImpl",
"(",
"OutboundConnection",
"connection",
",",
"boolean",
"notifyPeer",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entr... | Purges a conneciton from the tracker. This is invoked when an error is detected on
a connection and we do not want any further conversations to attempt to use it.
@param connection The connection to purge
@param notifyPeer Should we send notification to the connections peer that the purge
is taking place? | [
"Purges",
"a",
"conneciton",
"from",
"the",
"tracker",
".",
"This",
"is",
"invoked",
"when",
"an",
"error",
"is",
"detected",
"on",
"a",
"connection",
"and",
"we",
"do",
"not",
"want",
"any",
"further",
"conversations",
"to",
"attempt",
"to",
"use",
"it",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/octracker/OutboundConnectionTracker.java#L784-L791 |
111,516 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/octracker/OutboundConnectionTracker.java | OutboundConnectionTracker.purgeClosedConnection | public void purgeClosedConnection(OutboundConnection connection)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "purgeClosedConnection", connection);
connection.getConnectionData().getConnectionDataGroup().purgeClosedConnection(connection);
... | java | public void purgeClosedConnection(OutboundConnection connection)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "purgeClosedConnection", connection);
connection.getConnectionData().getConnectionDataGroup().purgeClosedConnection(connection);
... | [
"public",
"void",
"purgeClosedConnection",
"(",
"OutboundConnection",
"connection",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
... | Purges a connection from the tracker, that has been closed by the remote peer, so
can no longer be used.
@param connection The connection to purge | [
"Purges",
"a",
"connection",
"from",
"the",
"tracker",
"that",
"has",
"been",
"closed",
"by",
"the",
"remote",
"peer",
"so",
"can",
"no",
"longer",
"be",
"used",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/octracker/OutboundConnectionTracker.java#L799-L806 |
111,517 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/token/JsonTokenUtil.java | JsonTokenUtil.getPayload | public static JWTPayload getPayload(String tokenString) {
JWTPayload payload = null;
String[] jwtParts = splitTokenString(tokenString);
if (jwtParts.length >= 2) {
WSJsonToken token = deserialize(jwtParts, tokenString);
payload = new JWTPayload();
fromJsonToke... | java | public static JWTPayload getPayload(String tokenString) {
JWTPayload payload = null;
String[] jwtParts = splitTokenString(tokenString);
if (jwtParts.length >= 2) {
WSJsonToken token = deserialize(jwtParts, tokenString);
payload = new JWTPayload();
fromJsonToke... | [
"public",
"static",
"JWTPayload",
"getPayload",
"(",
"String",
"tokenString",
")",
"{",
"JWTPayload",
"payload",
"=",
"null",
";",
"String",
"[",
"]",
"jwtParts",
"=",
"splitTokenString",
"(",
"tokenString",
")",
";",
"if",
"(",
"jwtParts",
".",
"length",
">... | Extract payload from token without validating. | [
"Extract",
"payload",
"from",
"token",
"without",
"validating",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/token/JsonTokenUtil.java#L248-L257 |
111,518 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/token/JsonTokenUtil.java | JsonTokenUtil.getElement | protected static String getElement(JWTPayload payload, String element) {
String output = null;
if (payload != null) {
Object outObj = payload.get(element);
if (outObj instanceof String) {
output = (String) outObj;
} else if (outObj instanceof List) {
... | java | protected static String getElement(JWTPayload payload, String element) {
String output = null;
if (payload != null) {
Object outObj = payload.get(element);
if (outObj instanceof String) {
output = (String) outObj;
} else if (outObj instanceof List) {
... | [
"protected",
"static",
"String",
"getElement",
"(",
"JWTPayload",
"payload",
",",
"String",
"element",
")",
"{",
"String",
"output",
"=",
"null",
";",
"if",
"(",
"payload",
"!=",
"null",
")",
"{",
"Object",
"outObj",
"=",
"payload",
".",
"get",
"(",
"ele... | Get Aud element. | [
"Get",
"Aud",
"element",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/token/JsonTokenUtil.java#L263-L277 |
111,519 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/error/ServletErrorReport.java | ServletErrorReport.getExceptionType | public String getExceptionType()
{
String exceptionType = null;
Throwable rootCause = this;
do{
Throwable temp = ((ServletException)rootCause).getRootCause();
if(temp != null) {
rootCause = temp;
}
else{
... | java | public String getExceptionType()
{
String exceptionType = null;
Throwable rootCause = this;
do{
Throwable temp = ((ServletException)rootCause).getRootCause();
if(temp != null) {
rootCause = temp;
}
else{
... | [
"public",
"String",
"getExceptionType",
"(",
")",
"{",
"String",
"exceptionType",
"=",
"null",
";",
"Throwable",
"rootCause",
"=",
"this",
";",
"do",
"{",
"Throwable",
"temp",
"=",
"(",
"(",
"ServletException",
")",
"rootCause",
")",
".",
"getRootCause",
"("... | Returns the fully-qualified class name of the exception. | [
"Returns",
"the",
"fully",
"-",
"qualified",
"class",
"name",
"of",
"the",
"exception",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/error/ServletErrorReport.java#L179-L198 |
111,520 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/error/ServletErrorReport.java | ServletErrorReport.getExceptionClass | public Class getExceptionClass()
{
Class exceptionClass = null;
Throwable rootCause = this;
do{
Throwable temp = ((ServletException)rootCause).getRootCause();
if(temp != null) {
rootCause = temp;
}
else{
br... | java | public Class getExceptionClass()
{
Class exceptionClass = null;
Throwable rootCause = this;
do{
Throwable temp = ((ServletException)rootCause).getRootCause();
if(temp != null) {
rootCause = temp;
}
else{
br... | [
"public",
"Class",
"getExceptionClass",
"(",
")",
"{",
"Class",
"exceptionClass",
"=",
"null",
";",
"Throwable",
"rootCause",
"=",
"this",
";",
"do",
"{",
"Throwable",
"temp",
"=",
"(",
"(",
"ServletException",
")",
"rootCause",
")",
".",
"getRootCause",
"("... | Returns the java.lang.Class of the root cause. | [
"Returns",
"the",
"java",
".",
"lang",
".",
"Class",
"of",
"the",
"root",
"cause",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/error/ServletErrorReport.java#L203-L222 |
111,521 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/error/ServletErrorReport.java | ServletErrorReport.isApplicationError | private boolean isApplicationError(Throwable rootEx, String pkgRoot) {
if (rootEx != null) {
StackTraceElement[] stackTrace = rootEx.getStackTrace();
if (stackTrace != null && stackTrace.length > 0) {
StackTraceElement rootThrower = stackTrace[0];
... | java | private boolean isApplicationError(Throwable rootEx, String pkgRoot) {
if (rootEx != null) {
StackTraceElement[] stackTrace = rootEx.getStackTrace();
if (stackTrace != null && stackTrace.length > 0) {
StackTraceElement rootThrower = stackTrace[0];
... | [
"private",
"boolean",
"isApplicationError",
"(",
"Throwable",
"rootEx",
",",
"String",
"pkgRoot",
")",
"{",
"if",
"(",
"rootEx",
"!=",
"null",
")",
"{",
"StackTraceElement",
"[",
"]",
"stackTrace",
"=",
"rootEx",
".",
"getStackTrace",
"(",
")",
";",
"if",
... | This method determines if the error is initiated by an application or not.
@param rootEx the exception being tested
@return true if a nice friendly app error should be returned, false otherwise. | [
"This",
"method",
"determines",
"if",
"the",
"error",
"is",
"initiated",
"by",
"an",
"application",
"or",
"not",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/error/ServletErrorReport.java#L320-L334 |
111,522 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/websphere/exception/DistributedException.java | DistributedException.setLocalizationInfo | public void setLocalizationInfo(String resourceBundleName, String resourceKey, Object[] formatArguments)
{
exceptionInfo.setLocalizationInfo(resourceBundleName,resourceKey,formatArguments);
} | java | public void setLocalizationInfo(String resourceBundleName, String resourceKey, Object[] formatArguments)
{
exceptionInfo.setLocalizationInfo(resourceBundleName,resourceKey,formatArguments);
} | [
"public",
"void",
"setLocalizationInfo",
"(",
"String",
"resourceBundleName",
",",
"String",
"resourceKey",
",",
"Object",
"[",
"]",
"formatArguments",
")",
"{",
"exceptionInfo",
".",
"setLocalizationInfo",
"(",
"resourceBundleName",
",",
"resourceKey",
",",
"formatAr... | Set the values to be used for finding the correct
translated version of the message and formatting it.
@param resourceBundleName java.lang.String - the name of the
resource bundle, which is a subclass of java.util.PropertyResourceBundle.
@param resourceKey java.lang.String - the key in the resource bundle
that specifie... | [
"Set",
"the",
"values",
"to",
"be",
"used",
"for",
"finding",
"the",
"correct",
"translated",
"version",
"of",
"the",
"message",
"and",
"formatting",
"it",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/websphere/exception/DistributedException.java#L350-L353 |
111,523 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.isStarted | @Override
public boolean isStarted() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "isStarted");
SibTr.exit(tc, "isStarted", new Boolean(_started));
}
return _started;
} | java | @Override
public boolean isStarted() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "isStarted");
SibTr.exit(tc, "isStarted", new Boolean(_started));
}
return _started;
} | [
"@",
"Override",
"public",
"boolean",
"isStarted",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"isStarted\"",
")",
";",
... | Indicates whether the MP has started or not. | [
"Indicates",
"whether",
"the",
"MP",
"has",
"started",
"or",
"not",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L304-L313 |
111,524 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.createConnection | protected SICoreConnection createConnection() throws SIResourceException {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "createConnection");
SICoreConnection newConn = new ConnectionImpl(this, null, null);
// Lock the connections so t... | java | protected SICoreConnection createConnection() throws SIResourceException {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "createConnection");
SICoreConnection newConn = new ConnectionImpl(this, null, null);
// Lock the connections so t... | [
"protected",
"SICoreConnection",
"createConnection",
"(",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"... | Connection locks are obtained on the connection lock manager.
@return | [
"Connection",
"locks",
"are",
"obtained",
"on",
"the",
"connection",
"lock",
"manager",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L320-L347 |
111,525 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.removeConnection | protected void removeConnection(ConnectionImpl connection) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "removeConnection", connection);
synchronized (_connections) {
_connections.remove(connection);
}
if (TraceC... | java | protected void removeConnection(ConnectionImpl connection) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "removeConnection", connection);
synchronized (_connections) {
_connections.remove(connection);
}
if (TraceC... | [
"protected",
"void",
"removeConnection",
"(",
"ConnectionImpl",
"connection",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"removeConnect... | Removes a connection from the list of connections
@param connection
The connection to remove. | [
"Removes",
"a",
"connection",
"from",
"the",
"list",
"of",
"connections"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L355-L367 |
111,526 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.addConsumer | void addConsumer(ConsumerSessionImpl consumer) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "addConsumer", consumer);
_consumerList.add(consumer);
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
... | java | void addConsumer(ConsumerSessionImpl consumer) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "addConsumer", consumer);
_consumerList.add(consumer);
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
... | [
"void",
"addConsumer",
"(",
"ConsumerSessionImpl",
"consumer",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"addConsumer\"",
",",
"cons... | Adds a consumer to the message procoessor's list of consumers.
@param consumer | [
"Adds",
"a",
"consumer",
"to",
"the",
"message",
"procoessor",
"s",
"list",
"of",
"consumers",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L442-L452 |
111,527 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getConsumer | ConsumerSessionImpl getConsumer(long id) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "getConsumer", new Long(id));
ConsumerSessionImpl consumer = _consumerList.get(id);
if (TraceComponent.isAnyTracingEnabled()
&& tc.isE... | java | ConsumerSessionImpl getConsumer(long id) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "getConsumer", new Long(id));
ConsumerSessionImpl consumer = _consumerList.get(id);
if (TraceComponent.isAnyTracingEnabled()
&& tc.isE... | [
"ConsumerSessionImpl",
"getConsumer",
"(",
"long",
"id",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getConsumer\"",
",",
"new",
"L... | Gets a consumer from the list of consumers on this messaging engine
@param id
The id to find from the list. | [
"Gets",
"a",
"consumer",
"from",
"the",
"list",
"of",
"consumers",
"on",
"this",
"messaging",
"engine"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L460-L472 |
111,528 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.removeConsumer | void removeConsumer(ConsumerSessionImpl consumer) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "removeConsumer", consumer);
_consumerList.remove(consumer);
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())... | java | void removeConsumer(ConsumerSessionImpl consumer) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "removeConsumer", consumer);
_consumerList.remove(consumer);
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())... | [
"void",
"removeConsumer",
"(",
"ConsumerSessionImpl",
"consumer",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"removeConsumer\"",
",",
... | Removes a consumer from the list of all consumers on this messaging
engine.
@param consumer | [
"Removes",
"a",
"consumer",
"from",
"the",
"list",
"of",
"all",
"consumers",
"on",
"this",
"messaging",
"engine",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L480-L490 |
111,529 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getMessagingEngineBus | public String getMessagingEngineBus() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "getMessagingEngineBus");
String returnString = _engine.getBusName();
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
... | java | public String getMessagingEngineBus() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "getMessagingEngineBus");
String returnString = _engine.getBusName();
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
... | [
"public",
"String",
"getMessagingEngineBus",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getMessagingEngineBus\"",
")",
";",
"St... | Gets the bus the messaging engine belongs to.
@return | [
"Gets",
"the",
"bus",
"the",
"messaging",
"engine",
"belongs",
"to",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L516-L525 |
111,530 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getBus | public JsBus getBus() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "getBus");
JsBus jsBus = (JsBus) _engine.getBus();
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.exit(tc, "getBus", js... | java | public JsBus getBus() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "getBus");
JsBus jsBus = (JsBus) _engine.getBus();
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.exit(tc, "getBus", js... | [
"public",
"JsBus",
"getBus",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getBus\"",
")",
";",
"JsBus",
"jsBus",
"=",
"(",
... | Gets a reference to the actual bus which this messaging engine belongs
to.
@return | [
"Gets",
"a",
"reference",
"to",
"the",
"actual",
"bus",
"which",
"this",
"messaging",
"engine",
"belongs",
"to",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L533-L542 |
111,531 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getProxyHandler | public MultiMEProxyHandler getProxyHandler() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "getProxyHandler");
SibTr.exit(tc, "getProxyHandler", _multiMEProxyHandler);
}
return _multiMEProxyHandler;
} | java | public MultiMEProxyHandler getProxyHandler() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "getProxyHandler");
SibTr.exit(tc, "getProxyHandler", _multiMEProxyHandler);
}
return _multiMEProxyHandler;
} | [
"public",
"MultiMEProxyHandler",
"getProxyHandler",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getProxyHandler\"",
")",
";... | getProxyHandler returns the reference to the MultiMEProxyHandler for
handling with proxy requests
@return MultiMEProxyHandler The ProxyHandler instance | [
"getProxyHandler",
"returns",
"the",
"reference",
"to",
"the",
"MultiMEProxyHandler",
"for",
"handling",
"with",
"proxy",
"requests"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L582-L590 |
111,532 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.checkStarted | private void checkStarted() throws SIResourceException {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "checkStarted");
synchronized (_mpStartStopLock) {
if (!isStarted()) {
if (TraceComponent.isAnyTracingEnabled()
... | java | private void checkStarted() throws SIResourceException {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "checkStarted");
synchronized (_mpStartStopLock) {
if (!isStarted()) {
if (TraceComponent.isAnyTracingEnabled()
... | [
"private",
"void",
"checkStarted",
"(",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"checkStarted\"",
... | Checks that the ME is started
@throws SINotSupportedException
if the ME isn't started
180489 | [
"Checks",
"that",
"the",
"ME",
"is",
"started"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L795-L816 |
111,533 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.initialize | @Override
public void initialize(JsMessagingEngine engine) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "initialize", engine);
this._engine = engine;
//Venu mock mock
//This is needed for MELockOwner in PersistentMessage... | java | @Override
public void initialize(JsMessagingEngine engine) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "initialize", engine);
this._engine = engine;
//Venu mock mock
//This is needed for MELockOwner in PersistentMessage... | [
"@",
"Override",
"public",
"void",
"initialize",
"(",
"JsMessagingEngine",
"engine",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"in... | Initialises the MessageProcessor class. Called by the
JsEngineComponent.initialize
@param engine
The JsMessagingEngine for this MessageProcessor. | [
"Initialises",
"the",
"MessageProcessor",
"class",
".",
"Called",
"by",
"the",
"JsEngineComponent",
".",
"initialize"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L989-L1109 |
111,534 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.stop | @Override
public void stop(int mode) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "stop", new Integer(mode));
try {
// Check whether the stop is from COMMS server to stop MP
// connection. In that case just call c... | java | @Override
public void stop(int mode) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "stop", new Integer(mode));
try {
// Check whether the stop is from COMMS server to stop MP
// connection. In that case just call c... | [
"@",
"Override",
"public",
"void",
"stop",
"(",
"int",
"mode",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"stop\"",
",",
"new",... | Stops the message processor
Implements the stop method in the JsEngineComponent
@param mode
The mode that stop has been issued
@see com.ibm.ws.sib.admin.JsEngineComponent.stop | [
"Stops",
"the",
"message",
"processor"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L1642-L1766 |
111,535 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.coldStart | private void coldStart() throws MessageStoreException {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "coldStart");
/*
* Cold starting. Everything here needs to be started if we aren't
* retrieving previous destinations/state ... | java | private void coldStart() throws MessageStoreException {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "coldStart");
/*
* Cold starting. Everything here needs to be started if we aren't
* retrieving previous destinations/state ... | [
"private",
"void",
"coldStart",
"(",
")",
"throws",
"MessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"coldStart\"",
")"... | Specific cold start procedure for the Message Processor. | [
"Specific",
"cold",
"start",
"procedure",
"for",
"the",
"Message",
"Processor",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L1879-L1930 |
111,536 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.configureNeighbours | private void configureNeighbours() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "configureNeighbours");
try {
JsAdminService service = JsMainAdminComponentImpl.getJsAdminService();
// Check that the admin service is ... | java | private void configureNeighbours() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "configureNeighbours");
try {
JsAdminService service = JsMainAdminComponentImpl.getJsAdminService();
// Check that the admin service is ... | [
"private",
"void",
"configureNeighbours",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"configureNeighbours\"",
")",
";",
"try",
... | Loads the Neighbours from Admin
@return | [
"Loads",
"the",
"Neighbours",
"from",
"Admin"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2035-L2112 |
111,537 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.createProxyHandler | private void createProxyHandler() throws MessageStoreException {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "createProxyHandler");
_multiMEProxyHandler = new MultiMEProxyHandler(this, _txManager);
_persistentStore.addItemStream(_mult... | java | private void createProxyHandler() throws MessageStoreException {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "createProxyHandler");
_multiMEProxyHandler = new MultiMEProxyHandler(this, _txManager);
_persistentStore.addItemStream(_mult... | [
"private",
"void",
"createProxyHandler",
"(",
")",
"throws",
"MessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"createProx... | In a cold start ME Environment, the proxy handler needs to be created. | [
"In",
"a",
"cold",
"start",
"ME",
"Environment",
"the",
"proxy",
"handler",
"needs",
"to",
"be",
"created",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2340-L2352 |
111,538 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.createDestinationManager | private void createDestinationManager() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "createDestinationManager");
_destinationManager = new DestinationManager(this, _persistentStore);
if (TraceComponent.isAnyTracingEnabled()
... | java | private void createDestinationManager() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "createDestinationManager");
_destinationManager = new DestinationManager(this, _persistentStore);
if (TraceComponent.isAnyTracingEnabled()
... | [
"private",
"void",
"createDestinationManager",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"createDestinationManager\"",
")",
";",
... | Create this message processor's destination manager. | [
"Create",
"this",
"message",
"processor",
"s",
"destination",
"manager",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2357-L2367 |
111,539 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.createDynamicConfigManager | private void createDynamicConfigManager() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "createDynamicConfigManager");
_dynamicConfigManager = new DynamicConfigManager(this);
if (TraceComponent.isAnyTracingEnabled()
&& tc... | java | private void createDynamicConfigManager() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "createDynamicConfigManager");
_dynamicConfigManager = new DynamicConfigManager(this);
if (TraceComponent.isAnyTracingEnabled()
&& tc... | [
"private",
"void",
"createDynamicConfigManager",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"createDynamicConfigManager\"",
")",
"... | Create this message processor's dynamic config manager. | [
"Create",
"this",
"message",
"processor",
"s",
"dynamic",
"config",
"manager",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2372-L2382 |
111,540 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.createPersistentStore | private void createPersistentStore() throws MessageStoreException {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "createPersistentStore");
_persistentStore = new MessageProcessorStore(new SIBUuid8(_engine.getUuid()),
_m... | java | private void createPersistentStore() throws MessageStoreException {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "createPersistentStore");
_persistentStore = new MessageProcessorStore(new SIBUuid8(_engine.getUuid()),
_m... | [
"private",
"void",
"createPersistentStore",
"(",
")",
"throws",
"MessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"createP... | Create this message processor's persistent store. | [
"Create",
"this",
"message",
"processor",
"s",
"persistent",
"store",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2387-L2398 |
111,541 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.createSystemDefaultExceptionDestination | public DestinationDefinition createSystemDefaultExceptionDestination()
throws SIResourceException, SIMPDestinationAlreadyExistsException {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "createSystemDefaultExceptionDestination");
... | java | public DestinationDefinition createSystemDefaultExceptionDestination()
throws SIResourceException, SIMPDestinationAlreadyExistsException {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "createSystemDefaultExceptionDestination");
... | [
"public",
"DestinationDefinition",
"createSystemDefaultExceptionDestination",
"(",
")",
"throws",
"SIResourceException",
",",
"SIMPDestinationAlreadyExistsException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
... | Method to create the System default exception destination. There will be
a default exception destination per Messaging Engine. | [
"Method",
"to",
"create",
"the",
"System",
"default",
"exception",
"destination",
".",
"There",
"will",
"be",
"a",
"default",
"exception",
"destination",
"per",
"Messaging",
"Engine",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2439-L2477 |
111,542 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.startNewThread | public void startNewThread(Runnable runnable) throws InterruptedException {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "startNewThread");
if (_consumerThreadPool == null) {
createConsumerThreadPool();
}
try {
... | java | public void startNewThread(Runnable runnable) throws InterruptedException {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "startNewThread");
if (_consumerThreadPool == null) {
createConsumerThreadPool();
}
try {
... | [
"public",
"void",
"startNewThread",
"(",
"Runnable",
"runnable",
")",
"throws",
"InterruptedException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
... | Starts a new thread from the MP Consumers Thread Pool Only consumer
threads should use this thread pool.
@param runnable
@throws InterruptedException | [
"Starts",
"a",
"new",
"thread",
"from",
"the",
"MP",
"Consumers",
"Thread",
"Pool",
"Only",
"consumer",
"threads",
"should",
"use",
"this",
"thread",
"pool",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2585-L2609 |
111,543 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.startNewSystemThread | public void startNewSystemThread(Runnable runnable)
throws InterruptedException {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "startNewSystemThread", runnable);
if (_systemThreadPool == null) {
createSystemThre... | java | public void startNewSystemThread(Runnable runnable)
throws InterruptedException {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "startNewSystemThread", runnable);
if (_systemThreadPool == null) {
createSystemThre... | [
"public",
"void",
"startNewSystemThread",
"(",
"Runnable",
"runnable",
")",
"throws",
"InterruptedException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
... | Starts a new thread from the MP System Thread Pool Only system threads
should start call start using this method.
@param runnable
@throws InterruptedException | [
"Starts",
"a",
"new",
"thread",
"from",
"the",
"MP",
"System",
"Thread",
"Pool",
"Only",
"system",
"threads",
"should",
"start",
"call",
"start",
"using",
"this",
"method",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2641-L2667 |
111,544 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.setConfig | @Override
public void setConfig(LWMConfig meConfig) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "setConfig", new Object[] { meConfig });
_highMessageThreshold = ((JsMessagingEngine) meConfig).getMEThreshold();
if (TraceComponen... | java | @Override
public void setConfig(LWMConfig meConfig) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "setConfig", new Object[] { meConfig });
_highMessageThreshold = ((JsMessagingEngine) meConfig).getMEThreshold();
if (TraceComponen... | [
"@",
"Override",
"public",
"void",
"setConfig",
"(",
"LWMConfig",
"meConfig",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"setConfig... | setConfig is implemented from the interface JsEngineComponent and is used
to set properties on the MP
@param config
the JsEObject config of the messaging engine
@see com.ibm.ws.sib.admin.JsEngineComponent.setConfig | [
"setConfig",
"is",
"implemented",
"from",
"the",
"interface",
"JsEngineComponent",
"and",
"is",
"used",
"to",
"set",
"properties",
"on",
"the",
"MP"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2704-L2715 |
111,545 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.setCustomProperty | @Override
public void setCustomProperty(String propertyName, String propertyValue) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "setCustomProperty", new Object[] { propertyName,
prope... | java | @Override
public void setCustomProperty(String propertyName, String propertyValue) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "setCustomProperty", new Object[] { propertyName,
prope... | [
"@",
"Override",
"public",
"void",
"setCustomProperty",
"(",
"String",
"propertyName",
",",
"String",
"propertyValue",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
... | setCustomProperty is implemented from the interface JsEngineComponent and
is used to set properties on the MP
@param propertyName
The name of the Attribute
@param propertyValue
The value of the Attribute
@see com.ibm.ws.sib.admin.JsEngineComponent.setCustomProperty | [
"setCustomProperty",
"is",
"implemented",
"from",
"the",
"interface",
"JsEngineComponent",
"and",
"is",
"used",
"to",
"set",
"properties",
"on",
"the",
"MP"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2728-L2740 |
111,546 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getProxyHandlerDestAddr | public JsDestinationAddress getProxyHandlerDestAddr() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "getProxyHandlerDestAddr");
SibTr.exit(tc, "getProxyHandlerDestAddr", _proxyHandlerDestAddr);
}
return _proxyHandlerDestA... | java | public JsDestinationAddress getProxyHandlerDestAddr() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "getProxyHandlerDestAddr");
SibTr.exit(tc, "getProxyHandlerDestAddr", _proxyHandlerDestAddr);
}
return _proxyHandlerDestA... | [
"public",
"JsDestinationAddress",
"getProxyHandlerDestAddr",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getProxyHandlerDestAdd... | Method to return the name of the Subscription Proxy Queue used to receive
the proxy updates
@return String, the proxy Q name. | [
"Method",
"to",
"return",
"the",
"name",
"of",
"the",
"Subscription",
"Proxy",
"Queue",
"used",
"to",
"receive",
"the",
"proxy",
"updates"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2784-L2791 |
111,547 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getSearchResultsObjectPool | public SearchResultsObjectPool getSearchResultsObjectPool() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "getSearchResultsObjectPool");
SibTr.exit(tc, "getSearchResultsObjectPool", _connectionToMP);
}
return _searchResul... | java | public SearchResultsObjectPool getSearchResultsObjectPool() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "getSearchResultsObjectPool");
SibTr.exit(tc, "getSearchResultsObjectPool", _connectionToMP);
}
return _searchResul... | [
"public",
"SearchResultsObjectPool",
"getSearchResultsObjectPool",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getSearchResults... | Gets the SearchResultsObjectPool instance
@return the object pool | [
"Gets",
"the",
"SearchResultsObjectPool",
"instance"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2798-L2805 |
111,548 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getSystemConnection | public MPCoreConnection getSystemConnection() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "getSystemConnection");
SibTr.exit(tc, "getSystemConnection", _connectionToMP);
}
return _connectionToMP;
} | java | public MPCoreConnection getSystemConnection() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "getSystemConnection");
SibTr.exit(tc, "getSystemConnection", _connectionToMP);
}
return _connectionToMP;
} | [
"public",
"MPCoreConnection",
"getSystemConnection",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getSystemConnection\"",
")",... | Method to return the connection that the SYSTEM queue was created on.
This connection is used wherever an internal producerSession or
consumerSession is required.
@return SICoreConnection The connection made for registering internal
consumers/producers. | [
"Method",
"to",
"return",
"the",
"connection",
"that",
"the",
"SYSTEM",
"queue",
"was",
"created",
"on",
".",
"This",
"connection",
"is",
"used",
"wherever",
"an",
"internal",
"producerSession",
"or",
"consumerSession",
"is",
"required",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2815-L2823 |
111,549 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getMessagingEngineUuid | public SIBUuid8 getMessagingEngineUuid() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "getMessagingEngineUuid");
SIBUuid8 uuid = _persistentStore.getMessagingEngineUuid();
if (TraceComponent.isAnyTracingEnabled()
&& tc.isE... | java | public SIBUuid8 getMessagingEngineUuid() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "getMessagingEngineUuid");
SIBUuid8 uuid = _persistentStore.getMessagingEngineUuid();
if (TraceComponent.isAnyTracingEnabled()
&& tc.isE... | [
"public",
"SIBUuid8",
"getMessagingEngineUuid",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getMessagingEngineUuid\"",
")",
";",
... | Returns the messagingEngineUuid
@return String | [
"Returns",
"the",
"messagingEngineUuid"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2848-L2857 |
111,550 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getControlMessageFactory | public static ControlMessageFactory getControlMessageFactory() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "getControlMessageFactory");
if (_controlMessageFactory == null)
_controlMessageFactory = (ControlMessageFactory) getSing... | java | public static ControlMessageFactory getControlMessageFactory() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "getControlMessageFactory");
if (_controlMessageFactory == null)
_controlMessageFactory = (ControlMessageFactory) getSing... | [
"public",
"static",
"ControlMessageFactory",
"getControlMessageFactory",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getControlMessa... | Creates the control message factory single instance
@return the single instance of the control message factory. | [
"Creates",
"the",
"control",
"message",
"factory",
"single",
"instance"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2923-L2935 |
111,551 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getJsMessageHandleFactory | public static JsMessageHandleFactory getJsMessageHandleFactory() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "getJsMessageHandleFactory");
if (_jsMessageHandleFactory == null)
_jsMessageHandleFactory = (JsMessageHandleFactory) g... | java | public static JsMessageHandleFactory getJsMessageHandleFactory() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "getJsMessageHandleFactory");
if (_jsMessageHandleFactory == null)
_jsMessageHandleFactory = (JsMessageHandleFactory) g... | [
"public",
"static",
"JsMessageHandleFactory",
"getJsMessageHandleFactory",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getJsMessageH... | Creates the message handle factory single instance
@return the single instance of the message handle factory. | [
"Creates",
"the",
"message",
"handle",
"factory",
"single",
"instance"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2942-L2954 |
111,552 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.add | public void add(Item item, TransactionCommon transaction)
throws MessageStoreException, SIResourceException {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "add", new Object[] { item, transaction });
Transaction msTran = res... | java | public void add(Item item, TransactionCommon transaction)
throws MessageStoreException, SIResourceException {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "add", new Object[] { item, transaction });
Transaction msTran = res... | [
"public",
"void",
"add",
"(",
"Item",
"item",
",",
"TransactionCommon",
"transaction",
")",
"throws",
"MessageStoreException",
",",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(... | Add an item to the Message Processor ItemStream.
@throws SIResourceException
@see com.ibm.ws.sib.msgstore.AbstractItem#add(Item, Transaction) | [
"Add",
"an",
"item",
"to",
"the",
"Message",
"Processor",
"ItemStream",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2963-L2975 |
111,553 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getTXManager | public SIMPTransactionManager getTXManager() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "getTXManager");
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.exit(tc, "getTXManager", _txManager);
... | java | public SIMPTransactionManager getTXManager() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "getTXManager");
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.exit(tc, "getTXManager", _txManager);
... | [
"public",
"SIMPTransactionManager",
"getTXManager",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getTXManager\"",
")",
";",
"if",... | Get the Transaction Manager | [
"Get",
"the",
"Transaction",
"Manager"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2980-L2990 |
111,554 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getTargetBatchHandler | public BatchHandler getTargetBatchHandler() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "getTargetBatchHandler");
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.exit(tc, "getTargetBatchHandler... | java | public BatchHandler getTargetBatchHandler() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "getTargetBatchHandler");
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.exit(tc, "getTargetBatchHandler... | [
"public",
"BatchHandler",
"getTargetBatchHandler",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getTargetBatchHandler\"",
")",
";",... | Get the Target Batch Handler | [
"Get",
"the",
"Target",
"Batch",
"Handler"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L2995-L3005 |
111,555 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getSourceBatchHandler | public BatchHandler getSourceBatchHandler() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "getSourceBatchHandler");
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.exit(tc, "getSourceBatchHandler... | java | public BatchHandler getSourceBatchHandler() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "getSourceBatchHandler");
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.exit(tc, "getSourceBatchHandler... | [
"public",
"BatchHandler",
"getSourceBatchHandler",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getSourceBatchHandler\"",
")",
";",... | Get the Source Batch Handler | [
"Get",
"the",
"Source",
"Batch",
"Handler"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L3010-L3020 |
111,556 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getPublicationBatchHandler | public BatchHandler getPublicationBatchHandler() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "getPublicationBatchHandler");
SibTr.exit(tc, "getPublicationBatchHandler", _sourceBatchHandler);
}
return _publicationBatchH... | java | public BatchHandler getPublicationBatchHandler() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "getPublicationBatchHandler");
SibTr.exit(tc, "getPublicationBatchHandler", _sourceBatchHandler);
}
return _publicationBatchH... | [
"public",
"BatchHandler",
"getPublicationBatchHandler",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getPublicationBatchHandler\... | Get the Publication Batch Handler | [
"Get",
"the",
"Publication",
"Batch",
"Handler"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L3025-L3033 |
111,557 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getDestinationLocationManager | public DestinationLocationManager getDestinationLocationManager() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "getDestinationLocationManager");
SibTr.exit(tc, "getDestinationLocationManager",
_destinationLocation... | java | public DestinationLocationManager getDestinationLocationManager() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "getDestinationLocationManager");
SibTr.exit(tc, "getDestinationLocationManager",
_destinationLocation... | [
"public",
"DestinationLocationManager",
"getDestinationLocationManager",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getDestina... | Returns the destinationLocationManager.
@return DestinationLocationManager | [
"Returns",
"the",
"destinationLocationManager",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L3075-L3083 |
111,558 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getLinkManager | public LinkManager getLinkManager() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "getLinkManager");
SibTr.exit(tc, "getLinkManager");
}
return _linkManager;
} | java | public LinkManager getLinkManager() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "getLinkManager");
SibTr.exit(tc, "getLinkManager");
}
return _linkManager;
} | [
"public",
"LinkManager",
"getLinkManager",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getLinkManager\"",
")",
";",
"SibT... | Returns the LinkManager.
@return LinkManager | [
"Returns",
"the",
"LinkManager",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L3090-L3097 |
111,559 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getMQLinkManager | MQLinkManager getMQLinkManager() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "getMQLinkManager");
SibTr.exit(tc, "getMQLinkManager");
}
return _mqLinkManager;
} | java | MQLinkManager getMQLinkManager() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "getMQLinkManager");
SibTr.exit(tc, "getMQLinkManager");
}
return _mqLinkManager;
} | [
"MQLinkManager",
"getMQLinkManager",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getMQLinkManager\"",
")",
";",
"SibTr",
... | Returns the MQLinkManager.
@return MQLinkManager | [
"Returns",
"the",
"MQLinkManager",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L3104-L3111 |
111,560 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getSIBDestinationLocalitySet | public Set getSIBDestinationLocalitySet(String busName, String uuid,
boolean newSet) throws SIBExceptionDestinationNotFound,
SIBExceptionBase {
/*
* if (TraceComponent.isAnyTracingEnabled() &&
* tc.isEntryEnabled()) SibTr.entry(t... | java | public Set getSIBDestinationLocalitySet(String busName, String uuid,
boolean newSet) throws SIBExceptionDestinationNotFound,
SIBExceptionBase {
/*
* if (TraceComponent.isAnyTracingEnabled() &&
* tc.isEntryEnabled()) SibTr.entry(t... | [
"public",
"Set",
"getSIBDestinationLocalitySet",
"(",
"String",
"busName",
",",
"String",
"uuid",
",",
"boolean",
"newSet",
")",
"throws",
"SIBExceptionDestinationNotFound",
",",
"SIBExceptionBase",
"{",
"/*\n * if (TraceComponent.isAnyTracingEnabled() &&\n * tc.i... | Hence just setting set to the current ME UUID | [
"Hence",
"just",
"setting",
"set",
"to",
"the",
"current",
"ME",
"UUID"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L3128-L3150 |
111,561 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.setDiscardMsgsAfterQueueDeletion | public void setDiscardMsgsAfterQueueDeletion() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "setDiscardMsgsAfterQueueDeletion");
SibTr.exit(tc, "setDiscardMsgsAfterQueueDeletion");
}
_discardMsgsAfterQueueDeletion = tru... | java | public void setDiscardMsgsAfterQueueDeletion() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "setDiscardMsgsAfterQueueDeletion");
SibTr.exit(tc, "setDiscardMsgsAfterQueueDeletion");
}
_discardMsgsAfterQueueDeletion = tru... | [
"public",
"void",
"setDiscardMsgsAfterQueueDeletion",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"setDiscardMsgsAfterQueueDelet... | Set _discardMsgsAfterQueueDeletion to true. | [
"Set",
"_discardMsgsAfterQueueDeletion",
"to",
"true",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L3182-L3190 |
111,562 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.mapMeNameToUuid | public SIBUuid8 mapMeNameToUuid(String name) {
SIBUuid8 result = null;
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "mapMeNameToUuid", name);
// Be tolerant of bad args
if (name != null) {
// First, short circuit t... | java | public SIBUuid8 mapMeNameToUuid(String name) {
SIBUuid8 result = null;
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "mapMeNameToUuid", name);
// Be tolerant of bad args
if (name != null) {
// First, short circuit t... | [
"public",
"SIBUuid8",
"mapMeNameToUuid",
"(",
"String",
"name",
")",
"{",
"SIBUuid8",
"result",
"=",
"null",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(... | Map the name of an ME to its Uuid.
@param name
The name of the ME to map.
@return The SIBUuid8 for the ME. | [
"Map",
"the",
"name",
"of",
"an",
"ME",
"to",
"its",
"Uuid",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L3267-L3288 |
111,563 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.isSingleServer | final public boolean isSingleServer() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "isSingleServer");
if (!_singleServerSet) {
JsAdminService service = JsMainAdminComponentImpl.getJsAdminService();
if (service.isInitia... | java | final public boolean isSingleServer() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "isSingleServer");
if (!_singleServerSet) {
JsAdminService service = JsMainAdminComponentImpl.getJsAdminService();
if (service.isInitia... | [
"final",
"public",
"boolean",
"isSingleServer",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"isSingleServer\"",
")",
";",
"if",... | Returns whether the ME is running as part of a stand alone server.
@return | [
"Returns",
"whether",
"the",
"ME",
"is",
"running",
"as",
"part",
"of",
"a",
"stand",
"alone",
"server",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L3555-L3575 |
111,564 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.setRuntimeEventListener | public void setRuntimeEventListener(RuntimeEventListener listener) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "setRuntimeEventListener", listener);
_runtimeEventListener = listener;
if (TraceComponent.isAnyTracingEnabled()
... | java | public void setRuntimeEventListener(RuntimeEventListener listener) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "setRuntimeEventListener", listener);
_runtimeEventListener = listener;
if (TraceComponent.isAnyTracingEnabled()
... | [
"public",
"void",
"setRuntimeEventListener",
"(",
"RuntimeEventListener",
"listener",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"setRu... | Set MessageProcessor's RuntimeEventListener.
@param listener
A RuntimeEventListener | [
"Set",
"MessageProcessor",
"s",
"RuntimeEventListener",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L3615-L3623 |
111,565 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.getRuntimeEventListener | public RuntimeEventListener getRuntimeEventListener() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "getRuntimeEventListener");
SibTr.exit(tc, "getRuntimeEventListener", _runtimeEventListener);
}
return _runtimeEventListe... | java | public RuntimeEventListener getRuntimeEventListener() {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled()) {
SibTr.entry(tc, "getRuntimeEventListener");
SibTr.exit(tc, "getRuntimeEventListener", _runtimeEventListener);
}
return _runtimeEventListe... | [
"public",
"RuntimeEventListener",
"getRuntimeEventListener",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getRuntimeEventListene... | Get MessageProcessor's RuntimeEventListener. | [
"Get",
"MessageProcessor",
"s",
"RuntimeEventListener",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L3628-L3635 |
111,566 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java | MessageProcessor.fireNotAuthenticatedEvent | private void fireNotAuthenticatedEvent(String userName) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "fireNotAuthenticatedEvent", userName);
// Check that we have a RuntimeEventListener
if (_runtimeEventListener != null) {
... | java | private void fireNotAuthenticatedEvent(String userName) {
if (TraceComponent.isAnyTracingEnabled()
&& tc.isEntryEnabled())
SibTr.entry(tc, "fireNotAuthenticatedEvent", userName);
// Check that we have a RuntimeEventListener
if (_runtimeEventListener != null) {
... | [
"private",
"void",
"fireNotAuthenticatedEvent",
"(",
"String",
"userName",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"fireNotAuthentic... | Fire an event notification of type TYPE_SIB_SECURITY_NOT_AUTHENTICATED
with reason SECURITY_REASON_NOT_AUTHENTICATED.
@param newState | [
"Fire",
"an",
"event",
"notification",
"of",
"type",
"TYPE_SIB_SECURITY_NOT_AUTHENTICATED",
"with",
"reason",
"SECURITY_REASON_NOT_AUTHENTICATED",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MessageProcessor.java#L3643-L3678 |
111,567 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/am/MPAlarmManager.java | MPAlarmManager.create | public Alarm create(long delta, int percentLate, AlarmListener listener, Object context)
throws SIErrorException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"create",
new Object[] { this, Long.valueOf(delta), Integer.valueOf(percentLate), li... | java | public Alarm create(long delta, int percentLate, AlarmListener listener, Object context)
throws SIErrorException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"create",
new Object[] { this, Long.valueOf(delta), Integer.valueOf(percentLate), li... | [
"public",
"Alarm",
"create",
"(",
"long",
"delta",
",",
"int",
"percentLate",
",",
"AlarmListener",
"listener",
",",
"Object",
"context",
")",
"throws",
"SIErrorException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
"."... | Create a new alarm.
@param delta The amount of time before the alarm should be fired, in ms
@param percentLate The percentage by which the alarm can be late
@param listener The alarm listener which is called when the alarm fires.
@param context A context object for the alarm
@return An Alarm object through which the a... | [
"Create",
"a",
"new",
"alarm",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/am/MPAlarmManager.java#L215-L334 |
111,568 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/am/MPAlarmManager.java | MPAlarmManager.cancelAll | public synchronized void cancelAll()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "cancelAll", this);
//flag that we are cancelling all of the existing alarms
_cancelAll = true;
//variables to hold copies of the lists of existing alarms
LinkedList oldPe... | java | public synchronized void cancelAll()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "cancelAll", this);
//flag that we are cancelling all of the existing alarms
_cancelAll = true;
//variables to hold copies of the lists of existing alarms
LinkedList oldPe... | [
"public",
"synchronized",
"void",
"cancelAll",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"cancelAll\"",
",",
"this",
")",
"... | cancel all of the alarms which are currenly registered. | [
"cancel",
"all",
"of",
"the",
"alarms",
"which",
"are",
"currenly",
"registered",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/am/MPAlarmManager.java#L339-L400 |
111,569 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/am/MPAlarmManager.java | MPAlarmManager.stopThread | public void stopThread(StoppableThreadCache threadCache)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "stopThread");
cancelAll();
_alarmThread.finishAlarmThread();
// Remove this object from the thread cache
threadCache.deregisterThread(this)... | java | public void stopThread(StoppableThreadCache threadCache)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "stopThread");
cancelAll();
_alarmThread.finishAlarmThread();
// Remove this object from the thread cache
threadCache.deregisterThread(this)... | [
"public",
"void",
"stopThread",
"(",
"StoppableThreadCache",
"threadCache",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"stopThread\"",
... | Tell the alarm manager to finish and stop it's alarm thread. | [
"Tell",
"the",
"alarm",
"manager",
"to",
"finish",
"and",
"stop",
"it",
"s",
"alarm",
"thread",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/am/MPAlarmManager.java#L405-L419 |
111,570 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBInterceptorBinding.java | EJBInterceptorBinding.setExcludeClassLevelInterceptors | public void setExcludeClassLevelInterceptors(boolean exclude) throws EJBConfigurationException
{
if (ivBindingStyle == BindingStyle.STYLE3 || ivBindingStyle == BindingStyle.STYLE4)
{
ivExcludeClassLevelInterceptors = (exclude) ? Boolean.TRUE : Boolean.FALSE;
}
else
... | java | public void setExcludeClassLevelInterceptors(boolean exclude) throws EJBConfigurationException
{
if (ivBindingStyle == BindingStyle.STYLE3 || ivBindingStyle == BindingStyle.STYLE4)
{
ivExcludeClassLevelInterceptors = (exclude) ? Boolean.TRUE : Boolean.FALSE;
}
else
... | [
"public",
"void",
"setExcludeClassLevelInterceptors",
"(",
"boolean",
"exclude",
")",
"throws",
"EJBConfigurationException",
"{",
"if",
"(",
"ivBindingStyle",
"==",
"BindingStyle",
".",
"STYLE3",
"||",
"ivBindingStyle",
"==",
"BindingStyle",
".",
"STYLE4",
")",
"{",
... | Set whether to exclude class level interceptors from a
method level EJBInterceptorBinding object.
@param exclude must be boolean true if class level interceptors are to be
excluded for this binding.
@throws EJBConfigurationException is thrown if if this EJBInterceptorBinding object is not a
method level EJBIntercepto... | [
"Set",
"whether",
"to",
"exclude",
"class",
"level",
"interceptors",
"from",
"a",
"method",
"level",
"EJBInterceptorBinding",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBInterceptorBinding.java#L285-L298 |
111,571 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBInterceptorBinding.java | EJBInterceptorBinding.setExcludeDefaultInterceptors | public void setExcludeDefaultInterceptors(boolean exclude) throws EJBConfigurationException
{
if (ivBindingStyle == BindingStyle.STYLE1)
{
// CNTR0225E: The exclude-default-interceptors element in the deployment
// descriptor is not valid for a style 1 interceptor-binding ele... | java | public void setExcludeDefaultInterceptors(boolean exclude) throws EJBConfigurationException
{
if (ivBindingStyle == BindingStyle.STYLE1)
{
// CNTR0225E: The exclude-default-interceptors element in the deployment
// descriptor is not valid for a style 1 interceptor-binding ele... | [
"public",
"void",
"setExcludeDefaultInterceptors",
"(",
"boolean",
"exclude",
")",
"throws",
"EJBConfigurationException",
"{",
"if",
"(",
"ivBindingStyle",
"==",
"BindingStyle",
".",
"STYLE1",
")",
"{",
"// CNTR0225E: The exclude-default-interceptors element in the deployment",... | Set whether to exclude default interceptors from either a class or
method level EJBInterceptorBinding object.
@param exclude must be boolean true if default interceptors are to be
excluded for this binding.
@throws EJBConfigurationException is thrown if if this EJBInterceptorBinding object is a
default interceptor EJ... | [
"Set",
"whether",
"to",
"exclude",
"default",
"interceptors",
"from",
"either",
"a",
"class",
"or",
"method",
"level",
"EJBInterceptorBinding",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBInterceptorBinding.java#L311-L325 |
111,572 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBInterceptorBinding.java | EJBInterceptorBinding.dump | public void dump()
{
Object allData[] = new Object[] {
this,
"EJBName = " + ivEjbName,
"method name = " + ivMethodName,
... | java | public void dump()
{
Object allData[] = new Object[] {
this,
"EJBName = " + ivEjbName,
"method name = " + ivMethodName,
... | [
"public",
"void",
"dump",
"(",
")",
"{",
"Object",
"allData",
"[",
"]",
"=",
"new",
"Object",
"[",
"]",
"{",
"this",
",",
"\"EJBName = \"",
"+",
"ivEjbName",
",",
"\"method name = \"",
"+",
"ivMethodName",
",",
"\"method paramet... | Perform a Tr.dump of this EJBInterceptorBinding object. | [
"Perform",
"a",
"Tr",
".",
"dump",
"of",
"this",
"EJBInterceptorBinding",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBInterceptorBinding.java#L357-L410 |
111,573 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/util/cache/CacheElementEnumerator.java | CacheElementEnumerator.nextElemNoEx | public Object nextElemNoEx()
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
// If the current bucket has been exhausted, try to find
// another non-empty bucket.
if (ivElementIndex >= ivBucketSize)
{
if (!findNextBucket()) {
// ... | java | public Object nextElemNoEx()
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
// If the current bucket has been exhausted, try to find
// another non-empty bucket.
if (ivElementIndex >= ivBucketSize)
{
if (!findNextBucket()) {
// ... | [
"public",
"Object",
"nextElemNoEx",
"(",
")",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"// If the current bucket has been exhausted, try to find",
"// another non-empty bucket.",
"if",
"(",
"ivElementIndex",
">=... | d532639.2 | [
"d532639",
".",
"2"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/util/cache/CacheElementEnumerator.java#L289-L313 |
111,574 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/provisioning/ContentBasedLocalBundleRepository.java | ContentBasedLocalBundleRepository.dispose | public void dispose() {
if (_cacheFile != null && _dirty) {
PrintStream out = null;
try {
File parent = _cacheFile.getParentFile();
if (parent.isDirectory() || parent.mkdirs()) {
out = new PrintStream(_cacheFile);
fo... | java | public void dispose() {
if (_cacheFile != null && _dirty) {
PrintStream out = null;
try {
File parent = _cacheFile.getParentFile();
if (parent.isDirectory() || parent.mkdirs()) {
out = new PrintStream(_cacheFile);
fo... | [
"public",
"void",
"dispose",
"(",
")",
"{",
"if",
"(",
"_cacheFile",
"!=",
"null",
"&&",
"_dirty",
")",
"{",
"PrintStream",
"out",
"=",
"null",
";",
"try",
"{",
"File",
"parent",
"=",
"_cacheFile",
".",
"getParentFile",
"(",
")",
";",
"if",
"(",
"par... | This method is called once provisioning is over. It flushes the cache and clears up memory.
After this is called future calls to public methods will fail. | [
"This",
"method",
"is",
"called",
"once",
"provisioning",
"is",
"over",
".",
"It",
"flushes",
"the",
"cache",
"and",
"clears",
"up",
"memory",
".",
"After",
"this",
"is",
"called",
"future",
"calls",
"to",
"public",
"methods",
"will",
"fail",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/provisioning/ContentBasedLocalBundleRepository.java#L280-L300 |
111,575 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/provisioning/ContentBasedLocalBundleRepository.java | ContentBasedLocalBundleRepository.selectBundle | public File selectBundle(String baseLocation, final String symbolicName, final VersionRange versionRange) {
readCache();
return selectResource(baseLocation, symbolicName, versionRange);
} | java | public File selectBundle(String baseLocation, final String symbolicName, final VersionRange versionRange) {
readCache();
return selectResource(baseLocation, symbolicName, versionRange);
} | [
"public",
"File",
"selectBundle",
"(",
"String",
"baseLocation",
",",
"final",
"String",
"symbolicName",
",",
"final",
"VersionRange",
"versionRange",
")",
"{",
"readCache",
"(",
")",
";",
"return",
"selectResource",
"(",
"baseLocation",
",",
"symbolicName",
",",
... | This method selects bundles based on the input criteria. The first parameter is the baseLocation. This
can be null, the empty string, a directory, a comma separated list of directories, or a file path relative
to the install. If it is a file path then that exact bundle is returned irrespective of other selection
parame... | [
"This",
"method",
"selects",
"bundles",
"based",
"on",
"the",
"input",
"criteria",
".",
"The",
"first",
"parameter",
"is",
"the",
"baseLocation",
".",
"This",
"can",
"be",
"null",
"the",
"empty",
"string",
"a",
"directory",
"a",
"comma",
"separated",
"list",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/provisioning/ContentBasedLocalBundleRepository.java#L326-L329 |
111,576 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/provisioning/ContentBasedLocalBundleRepository.java | ContentBasedLocalBundleRepository.includeBaseLocation | @Override
protected synchronized void includeBaseLocation(String baseLocation) {
_locations.add(baseLocation);
// only do the processing if the cache has been read.
if (_cacheRead) {
File[] files = new File(_installDir, baseLocation).listFiles(new FileFilter() {
... | java | @Override
protected synchronized void includeBaseLocation(String baseLocation) {
_locations.add(baseLocation);
// only do the processing if the cache has been read.
if (_cacheRead) {
File[] files = new File(_installDir, baseLocation).listFiles(new FileFilter() {
... | [
"@",
"Override",
"protected",
"synchronized",
"void",
"includeBaseLocation",
"(",
"String",
"baseLocation",
")",
"{",
"_locations",
".",
"add",
"(",
"baseLocation",
")",
";",
"// only do the processing if the cache has been read.",
"if",
"(",
"_cacheRead",
")",
"{",
"... | This method scans the provided location under the install dir. It looks at all the jar files in that directory
and provided the file isn't in the cache it'll read the manifest and add it into memory.
@param baseLocation the directory in the install to scan. | [
"This",
"method",
"scans",
"the",
"provided",
"location",
"under",
"the",
"install",
"dir",
".",
"It",
"looks",
"at",
"all",
"the",
"jar",
"files",
"in",
"that",
"directory",
"and",
"provided",
"the",
"file",
"isn",
"t",
"in",
"the",
"cache",
"it",
"ll",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/provisioning/ContentBasedLocalBundleRepository.java#L357-L385 |
111,577 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/provisioning/ContentBasedLocalBundleRepository.java | ContentBasedLocalBundleRepository.readCache | @FFDCIgnore(IOException.class)
// The feature manager and kernel only do provisioning from a single thread, so this is paranoia, but should
// never be contended.
private synchronized void readCache() {
if (!!!_cacheRead) {
BufferedReader reader = null;
try {
... | java | @FFDCIgnore(IOException.class)
// The feature manager and kernel only do provisioning from a single thread, so this is paranoia, but should
// never be contended.
private synchronized void readCache() {
if (!!!_cacheRead) {
BufferedReader reader = null;
try {
... | [
"@",
"FFDCIgnore",
"(",
"IOException",
".",
"class",
")",
"// The feature manager and kernel only do provisioning from a single thread, so this is paranoia, but should",
"// never be contended.",
"private",
"synchronized",
"void",
"readCache",
"(",
")",
"{",
"if",
"(",
"!",
"!"... | This method reads the cache. Each line in the file represents a different bundle. The BundleInfo
constructor reads the cache line and validates the data re-reading from the bundle manifest if required.
@param cache | [
"This",
"method",
"reads",
"the",
"cache",
".",
"Each",
"line",
"in",
"the",
"file",
"represents",
"a",
"different",
"bundle",
".",
"The",
"BundleInfo",
"constructor",
"reads",
"the",
"cache",
"line",
"and",
"validates",
"the",
"data",
"re",
"-",
"reading",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/provisioning/ContentBasedLocalBundleRepository.java#L393-L428 |
111,578 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/provisioning/ContentBasedLocalBundleRepository.java | ContentBasedLocalBundleRepository.addToCache | private void addToCache(BundleInfo bInfo) {
List<Resource> info = _cacheBySymbolicName.get(bInfo.symbolicName);
if (info == null) {
info = new ArrayList<Resource>();
info.add(bInfo);
}
info = _cacheBySymbolicName.putIfAbsent(bInfo.symbolicName, info);
if... | java | private void addToCache(BundleInfo bInfo) {
List<Resource> info = _cacheBySymbolicName.get(bInfo.symbolicName);
if (info == null) {
info = new ArrayList<Resource>();
info.add(bInfo);
}
info = _cacheBySymbolicName.putIfAbsent(bInfo.symbolicName, info);
if... | [
"private",
"void",
"addToCache",
"(",
"BundleInfo",
"bInfo",
")",
"{",
"List",
"<",
"Resource",
">",
"info",
"=",
"_cacheBySymbolicName",
".",
"get",
"(",
"bInfo",
".",
"symbolicName",
")",
";",
"if",
"(",
"info",
"==",
"null",
")",
"{",
"info",
"=",
"... | This method adds into the cache. Adding into the cache requires updating a map and a set.
@param bInfo the bundle info to add into. | [
"This",
"method",
"adds",
"into",
"the",
"cache",
".",
"Adding",
"into",
"the",
"cache",
"requires",
"updating",
"a",
"map",
"and",
"a",
"set",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/provisioning/ContentBasedLocalBundleRepository.java#L435-L451 |
111,579 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.core/src/com/ibm/ws/ffdc/FFDC.java | FFDC.registerDiagnosticModule | public static int registerDiagnosticModule(DiagnosticModule diagnosticModule, String packageName) {
if (modules.containsKey(packageName)) {
return 1;
}
try {
diagnosticModule.init();
} catch (Throwable th) {
// No FFDC code needed - we're reporting th... | java | public static int registerDiagnosticModule(DiagnosticModule diagnosticModule, String packageName) {
if (modules.containsKey(packageName)) {
return 1;
}
try {
diagnosticModule.init();
} catch (Throwable th) {
// No FFDC code needed - we're reporting th... | [
"public",
"static",
"int",
"registerDiagnosticModule",
"(",
"DiagnosticModule",
"diagnosticModule",
",",
"String",
"packageName",
")",
"{",
"if",
"(",
"modules",
".",
"containsKey",
"(",
"packageName",
")",
")",
"{",
"return",
"1",
";",
"}",
"try",
"{",
"diagn... | Register a diagnostic module
@param diagnosticModule
The diagnostic module to be registered
@param packageName
The package name with which to register
@return 0 if the diagnostic module is registered 1 if the diagnostic
module was already registered 3 if the diagnostic module could
not be initialized | [
"Register",
"a",
"diagnostic",
"module"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/ffdc/FFDC.java#L37-L52 |
111,580 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.core/src/com/ibm/ws/ffdc/FFDC.java | FFDC.deregisterDiagnosticModule | public static boolean deregisterDiagnosticModule(String packageName) {
if (modules.containsKey(packageName)) {
modules.remove(packageName);
return true;
} else
return false;
} | java | public static boolean deregisterDiagnosticModule(String packageName) {
if (modules.containsKey(packageName)) {
modules.remove(packageName);
return true;
} else
return false;
} | [
"public",
"static",
"boolean",
"deregisterDiagnosticModule",
"(",
"String",
"packageName",
")",
"{",
"if",
"(",
"modules",
".",
"containsKey",
"(",
"packageName",
")",
")",
"{",
"modules",
".",
"remove",
"(",
"packageName",
")",
";",
"return",
"true",
";",
"... | Deregister a diagnostic module for a package
@param packageName
The package name for which to deregister a diagnostic module
@return true if a diagnostic module was registered from the package (and
is now not registered), false otherwise | [
"Deregister",
"a",
"diagnostic",
"module",
"for",
"a",
"package"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/ffdc/FFDC.java#L62-L68 |
111,581 | OpenLiberty/open-liberty | dev/com.ibm.ws.security/src/com/ibm/ws/security/context/SubjectManager.java | SubjectManager.replaceCallerSubject | public Subject replaceCallerSubject(Subject callerSubject) {
SubjectThreadContext subjectThreadContext = getSubjectThreadContext();
Subject replacedCallerSubject = subjectThreadContext.getCallerSubject();
subjectThreadContext.setCallerSubject(callerSubject);
return replacedCallerSubject;... | java | public Subject replaceCallerSubject(Subject callerSubject) {
SubjectThreadContext subjectThreadContext = getSubjectThreadContext();
Subject replacedCallerSubject = subjectThreadContext.getCallerSubject();
subjectThreadContext.setCallerSubject(callerSubject);
return replacedCallerSubject;... | [
"public",
"Subject",
"replaceCallerSubject",
"(",
"Subject",
"callerSubject",
")",
"{",
"SubjectThreadContext",
"subjectThreadContext",
"=",
"getSubjectThreadContext",
"(",
")",
";",
"Subject",
"replacedCallerSubject",
"=",
"subjectThreadContext",
".",
"getCallerSubject",
"... | Replaces the caller subject on the thread and returns the replaced subject. | [
"Replaces",
"the",
"caller",
"subject",
"on",
"the",
"thread",
"and",
"returns",
"the",
"replaced",
"subject",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security/src/com/ibm/ws/security/context/SubjectManager.java#L61-L66 |
111,582 | OpenLiberty/open-liberty | dev/com.ibm.ws.security/src/com/ibm/ws/security/context/SubjectManager.java | SubjectManager.replaceInvocationSubject | public Subject replaceInvocationSubject(Subject invocationSubject) {
SubjectThreadContext subjectThreadContext = getSubjectThreadContext();
Subject replacedInvocationSubject = subjectThreadContext.getInvocationSubject();
subjectThreadContext.setInvocationSubject(invocationSubject);
retur... | java | public Subject replaceInvocationSubject(Subject invocationSubject) {
SubjectThreadContext subjectThreadContext = getSubjectThreadContext();
Subject replacedInvocationSubject = subjectThreadContext.getInvocationSubject();
subjectThreadContext.setInvocationSubject(invocationSubject);
retur... | [
"public",
"Subject",
"replaceInvocationSubject",
"(",
"Subject",
"invocationSubject",
")",
"{",
"SubjectThreadContext",
"subjectThreadContext",
"=",
"getSubjectThreadContext",
"(",
")",
";",
"Subject",
"replacedInvocationSubject",
"=",
"subjectThreadContext",
".",
"getInvocat... | Replaces the invocation subject on the thread and returns the replaced subject. | [
"Replaces",
"the",
"invocation",
"subject",
"on",
"the",
"thread",
"and",
"returns",
"the",
"replaced",
"subject",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security/src/com/ibm/ws/security/context/SubjectManager.java#L71-L76 |
111,583 | OpenLiberty/open-liberty | dev/com.ibm.ws.install/src/com/ibm/ws/install/InstallKernelFactory.java | InstallKernelFactory.getInstance | public static InstallKernel getInstance(File installRoot) {
if (installKernel == null) {
installKernel = new InstallKernelImpl(installRoot);
}
return installKernel;
} | java | public static InstallKernel getInstance(File installRoot) {
if (installKernel == null) {
installKernel = new InstallKernelImpl(installRoot);
}
return installKernel;
} | [
"public",
"static",
"InstallKernel",
"getInstance",
"(",
"File",
"installRoot",
")",
"{",
"if",
"(",
"installKernel",
"==",
"null",
")",
"{",
"installKernel",
"=",
"new",
"InstallKernelImpl",
"(",
"installRoot",
")",
";",
"}",
"return",
"installKernel",
";",
"... | Return the singleton instance of InstallKernel.
The instance will be reset if the installRoot is changed.
@param installRoot the liberty installation root.
@return the installKernel | [
"Return",
"the",
"singleton",
"instance",
"of",
"InstallKernel",
".",
"The",
"instance",
"will",
"be",
"reset",
"if",
"the",
"installRoot",
"is",
"changed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/InstallKernelFactory.java#L43-L48 |
111,584 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/LogCursorImpl.java | LogCursorImpl.hasNext | public boolean hasNext()
{
if (tc.isEntryEnabled()) Tr.entry(tc, "hasNext",this);
boolean hasNext = false;
if ( (!_empty) && ( (_singleObject != null) ||
((_iterator1 != null) && (_iterator1.hasNext())) ||
((_iterator2 != null) && ... | java | public boolean hasNext()
{
if (tc.isEntryEnabled()) Tr.entry(tc, "hasNext",this);
boolean hasNext = false;
if ( (!_empty) && ( (_singleObject != null) ||
((_iterator1 != null) && (_iterator1.hasNext())) ||
((_iterator2 != null) && ... | [
"public",
"boolean",
"hasNext",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"hasNext\"",
",",
"this",
")",
";",
"boolean",
"hasNext",
"=",
"false",
";",
"if",
"(",
"(",
"!",
"_empty",
... | Returns a boolean flag to indicate if this LogCursorImpl has further objects to
return.
@return boolean Flag indicating if this LogCursorImpl has further objects to
return. | [
"Returns",
"a",
"boolean",
"flag",
"to",
"indicate",
"if",
"this",
"LogCursorImpl",
"has",
"further",
"objects",
"to",
"return",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/LogCursorImpl.java#L350-L365 |
111,585 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/internal/hpel/HpelTraceServiceConfig.java | HpelTraceServiceConfig.getPid | public static String getPid() {
if (pid == null) {
String runtimeName = ManagementFactory.getRuntimeMXBean().getName();
if (runtimeName == null) {
pid = "unknown";
} else {
int index = runtimeName.indexOf('@');
if (index < 0) {
... | java | public static String getPid() {
if (pid == null) {
String runtimeName = ManagementFactory.getRuntimeMXBean().getName();
if (runtimeName == null) {
pid = "unknown";
} else {
int index = runtimeName.indexOf('@');
if (index < 0) {
... | [
"public",
"static",
"String",
"getPid",
"(",
")",
"{",
"if",
"(",
"pid",
"==",
"null",
")",
"{",
"String",
"runtimeName",
"=",
"ManagementFactory",
".",
"getRuntimeMXBean",
"(",
")",
".",
"getName",
"(",
")",
";",
"if",
"(",
"runtimeName",
"==",
"null",
... | Retrieves process ID for the current process.
@return pid string retrieved from the process name. | [
"Retrieves",
"process",
"ID",
"for",
"the",
"current",
"process",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/internal/hpel/HpelTraceServiceConfig.java#L66-L81 |
111,586 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.wim.core/src/com/ibm/ws/security/wim/adapter/urbridge/utils/URBridgeEntityFactory.java | URBridgeEntityFactory.createObject | public URBridgeEntity createObject(Entity entity, URBridge urBridge,
Map<String, String> attrMap, String baseEntryName, Map<String, String> entityConfigMap) throws WIMException {
String entityType = entity.getTypeName();
URBridgeEntity obj = null;
if (Serv... | java | public URBridgeEntity createObject(Entity entity, URBridge urBridge,
Map<String, String> attrMap, String baseEntryName, Map<String, String> entityConfigMap) throws WIMException {
String entityType = entity.getTypeName();
URBridgeEntity obj = null;
if (Serv... | [
"public",
"URBridgeEntity",
"createObject",
"(",
"Entity",
"entity",
",",
"URBridge",
"urBridge",
",",
"Map",
"<",
"String",
",",
"String",
">",
"attrMap",
",",
"String",
"baseEntryName",
",",
"Map",
"<",
"String",
",",
"String",
">",
"entityConfigMap",
")",
... | Create a URBridgeEntity from input parameters. With inheritance this
allows Users and Groups to be treated identically.
@param entity The entity to be wrapped by the URBridgeEntity. This
entity's type determines which type of OSEntityObject
is created.
@param urBridge The UserRegisty associated with the adapter.
@para... | [
"Create",
"a",
"URBridgeEntity",
"from",
"input",
"parameters",
".",
"With",
"inheritance",
"this",
"allows",
"Users",
"and",
"Groups",
"to",
"be",
"treated",
"identically",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.core/src/com/ibm/ws/security/wim/adapter/urbridge/utils/URBridgeEntityFactory.java#L56-L72 |
111,587 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/OptimizedSIXAResourceProxy.java | OptimizedSIXAResourceProxy.takeCloseLock | private void takeCloseLock()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "takeCloseLock");
while (true)
{
try
{
closeLock.readLock().lockInterruptibly();
break;
}
catch (InterruptedException e)... | java | private void takeCloseLock()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "takeCloseLock");
while (true)
{
try
{
closeLock.readLock().lockInterruptibly();
break;
}
catch (InterruptedException e)... | [
"private",
"void",
"takeCloseLock",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"takeCloseLock\"",
")",
";",
"wh... | Take a "reader" lock on the close synchronization primative. | [
"Take",
"a",
"reader",
"lock",
"on",
"the",
"close",
"synchronization",
"primative",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/OptimizedSIXAResourceProxy.java#L1131-L1149 |
111,588 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/OptimizedSIXAResourceProxy.java | OptimizedSIXAResourceProxy.releaseCloseLock | private void releaseCloseLock()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "releaseCloseLock");
closeLock.readLock().unlock();
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "releaseCloseLock");
} | java | private void releaseCloseLock()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "releaseCloseLock");
closeLock.readLock().unlock();
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "releaseCloseLock");
} | [
"private",
"void",
"releaseCloseLock",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"releaseCloseLock\"",
")",
";",... | Release a "reader" lock on the close synchronization primative. | [
"Release",
"a",
"reader",
"lock",
"on",
"the",
"close",
"synchronization",
"primative",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/OptimizedSIXAResourceProxy.java#L1154-L1159 |
111,589 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AsyncLibrary.java | AsyncLibrary.initialize | private static void initialize() throws AsyncException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "initialize");
}
capabilities = aio_init(MAX_IDENTIFIERS, AsyncException.class);
aioInitialized = AIO_INITIALIZED;
if (TraceCompon... | java | private static void initialize() throws AsyncException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "initialize");
}
capabilities = aio_init(MAX_IDENTIFIERS, AsyncException.class);
aioInitialized = AIO_INITIALIZED;
if (TraceCompon... | [
"private",
"static",
"void",
"initialize",
"(",
")",
"throws",
"AsyncException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"initializ... | Initialize the provider.
@throws AsyncException | [
"Initialize",
"the",
"provider",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AsyncLibrary.java#L294-L304 |
111,590 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AsyncLibrary.java | AsyncLibrary.shutdown | public static void shutdown() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "shutdown");
}
synchronized (oneAtATime) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "have lock"); // runn... | java | public static void shutdown() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "shutdown");
}
synchronized (oneAtATime) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "have lock"); // runn... | [
"public",
"static",
"void",
"shutdown",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"shutdown\"",
")",
";",
"}",
"synchro... | Shutdown the AIO library. | [
"Shutdown",
"the",
"AIO",
"library",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AsyncLibrary.java#L309-L336 |
111,591 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AsyncLibrary.java | AsyncLibrary.getInstance | public static IAsyncProvider getInstance() {
if (instance != null) {
return instance;
}
try {
return createInstance();
} catch (AsyncException x) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Error g... | java | public static IAsyncProvider getInstance() {
if (instance != null) {
return instance;
}
try {
return createInstance();
} catch (AsyncException x) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Error g... | [
"public",
"static",
"IAsyncProvider",
"getInstance",
"(",
")",
"{",
"if",
"(",
"instance",
"!=",
"null",
")",
"{",
"return",
"instance",
";",
"}",
"try",
"{",
"return",
"createInstance",
"(",
")",
";",
"}",
"catch",
"(",
"AsyncException",
"x",
")",
"{",
... | Get the singleton instance of the async library.
@return IasyncProvider | [
"Get",
"the",
"singleton",
"instance",
"of",
"the",
"async",
"library",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AsyncLibrary.java#L343-L356 |
111,592 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AsyncLibrary.java | AsyncLibrary.createInstance | public static synchronized IAsyncProvider createInstance() throws AsyncException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "createInstance");
}
if (instance == null) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()... | java | public static synchronized IAsyncProvider createInstance() throws AsyncException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "createInstance");
}
if (instance == null) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()... | [
"public",
"static",
"synchronized",
"IAsyncProvider",
"createInstance",
"(",
")",
"throws",
"AsyncException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"entry",
"("... | Find or create the AIO provider.
@return IAsyncProvider
@throws AsyncException | [
"Find",
"or",
"create",
"the",
"AIO",
"provider",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AsyncLibrary.java#L364-L385 |
111,593 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AsyncLibrary.java | AsyncLibrary.getIOException | public static IOException getIOException(String desc, int code) {
return new IOException(desc + ErrorMessageCache.get(code));
} | java | public static IOException getIOException(String desc, int code) {
return new IOException(desc + ErrorMessageCache.get(code));
} | [
"public",
"static",
"IOException",
"getIOException",
"(",
"String",
"desc",
",",
"int",
"code",
")",
"{",
"return",
"new",
"IOException",
"(",
"desc",
"+",
"ErrorMessageCache",
".",
"get",
"(",
"code",
")",
")",
";",
"}"
] | Get an IOException instance for the input description and native
AIO return coded.
@param desc
@param code
@return IOException | [
"Get",
"an",
"IOException",
"instance",
"for",
"the",
"input",
"description",
"and",
"native",
"AIO",
"return",
"coded",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AsyncLibrary.java#L816-L818 |
111,594 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSchema.java | JSchema.getCompatibility | public CompatibilityMap getCompatibility(JSchema access) throws JMFSchemaViolationException {
CompatibilityMap ans = null;
if (compMaps == null)
compMaps = new HashedArray(COMP_MAP_BUCKETS, 2);
else
ans = (CompatibilityMap)compMaps.get(access.getID());
if (ans != null)
return ans;
... | java | public CompatibilityMap getCompatibility(JSchema access) throws JMFSchemaViolationException {
CompatibilityMap ans = null;
if (compMaps == null)
compMaps = new HashedArray(COMP_MAP_BUCKETS, 2);
else
ans = (CompatibilityMap)compMaps.get(access.getID());
if (ans != null)
return ans;
... | [
"public",
"CompatibilityMap",
"getCompatibility",
"(",
"JSchema",
"access",
")",
"throws",
"JMFSchemaViolationException",
"{",
"CompatibilityMap",
"ans",
"=",
"null",
";",
"if",
"(",
"compMaps",
"==",
"null",
")",
"compMaps",
"=",
"new",
"HashedArray",
"(",
"COMP_... | Find the CompatibilityMap from a given access JSchema to this JSchema
@param access the JSchema that is intended to be used as the access schema
@return the desired CompatibilityMap if the schemas are compatible. This method
never returns null.
@exception SchemaViolationException if the the JSchemas are not compatibl... | [
"Find",
"the",
"CompatibilityMap",
"from",
"a",
"given",
"access",
"JSchema",
"to",
"this",
"JSchema"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSchema.java#L319-L330 |
111,595 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSchema.java | JSchema.getAccessor | public int getAccessor(String name) {
if (name == null)
name = "";
StringTokenizer path = new StringTokenizer(name, "/");
JMFType pos = getEffectiveType(jsTypeTree);
while (pos != null && path.hasMoreTokens())
pos = findChild(getEffectiveType(pos), path.nextToken());
if (pos instanceof J... | java | public int getAccessor(String name) {
if (name == null)
name = "";
StringTokenizer path = new StringTokenizer(name, "/");
JMFType pos = getEffectiveType(jsTypeTree);
while (pos != null && path.hasMoreTokens())
pos = findChild(getEffectiveType(pos), path.nextToken());
if (pos instanceof J... | [
"public",
"int",
"getAccessor",
"(",
"String",
"name",
")",
"{",
"if",
"(",
"name",
"==",
"null",
")",
"name",
"=",
"\"\"",
";",
"StringTokenizer",
"path",
"=",
"new",
"StringTokenizer",
"(",
"name",
",",
"\"/\"",
")",
";",
"JMFType",
"pos",
"=",
"getE... | Resolve a symbolic name to an accessor
@param name the symbolic name to resolve. We use a simple, vaguely XPath-like,
syntax:
<xmp>
Name ::= [ Segment ] ( '/' Segment )*
Segment ::= SimpleName | '[' NonNegInt ']'
SimpleName ::= ... anything acceptable as XML NCName ...
</xmp>
<p>The starting context for resolution ... | [
"Resolve",
"a",
"symbolic",
"name",
"to",
"an",
"accessor"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSchema.java#L354-L367 |
111,596 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSchema.java | JSchema.findChild | private JMFType findChild(JMFType start, String segment) {
if (start instanceof JSPrimitive || start instanceof JSDynamic ||
start instanceof JSEnum)
return null;
if (segment.charAt(0) == '[')
return findChildByIndex(start, Integer.parseInt(segment.substring(1, segment.length() - 1)));
... | java | private JMFType findChild(JMFType start, String segment) {
if (start instanceof JSPrimitive || start instanceof JSDynamic ||
start instanceof JSEnum)
return null;
if (segment.charAt(0) == '[')
return findChildByIndex(start, Integer.parseInt(segment.substring(1, segment.length() - 1)));
... | [
"private",
"JMFType",
"findChild",
"(",
"JMFType",
"start",
",",
"String",
"segment",
")",
"{",
"if",
"(",
"start",
"instanceof",
"JSPrimitive",
"||",
"start",
"instanceof",
"JSDynamic",
"||",
"start",
"instanceof",
"JSEnum",
")",
"return",
"null",
";",
"if",
... | called on it. | [
"called",
"on",
"it",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSchema.java#L379-L389 |
111,597 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSchema.java | JSchema.findVariantChildByName | private JMFType findVariantChildByName(JSVariant var, String name) {
for (int i = 0; i < var.getCaseCount(); i++) {
JMFType theCase = getEffectiveType(var.getCase(i));
String caseName = theCase.getFeatureName();
if (caseName != null && caseName.equals(name))
return theCase;
}
retur... | java | private JMFType findVariantChildByName(JSVariant var, String name) {
for (int i = 0; i < var.getCaseCount(); i++) {
JMFType theCase = getEffectiveType(var.getCase(i));
String caseName = theCase.getFeatureName();
if (caseName != null && caseName.equals(name))
return theCase;
}
retur... | [
"private",
"JMFType",
"findVariantChildByName",
"(",
"JSVariant",
"var",
",",
"String",
"name",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"var",
".",
"getCaseCount",
"(",
")",
";",
"i",
"++",
")",
"{",
"JMFType",
"theCase",
"=",
"get... | Find the child of a variant by name | [
"Find",
"the",
"child",
"of",
"a",
"variant",
"by",
"name"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSchema.java#L414-L422 |
111,598 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSchema.java | JSchema.findTupleChildByName | private JMFType findTupleChildByName(JSTuple tup, String name) {
for (int i = 0; i < tup.getFieldCount(); i++) {
JMFType theField = getEffectiveType(tup.getField(i));
String fieldName = theField.getFeatureName();
if (fieldName != null && fieldName.equals(name))
return theField;
}
r... | java | private JMFType findTupleChildByName(JSTuple tup, String name) {
for (int i = 0; i < tup.getFieldCount(); i++) {
JMFType theField = getEffectiveType(tup.getField(i));
String fieldName = theField.getFeatureName();
if (fieldName != null && fieldName.equals(name))
return theField;
}
r... | [
"private",
"JMFType",
"findTupleChildByName",
"(",
"JSTuple",
"tup",
",",
"String",
"name",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"tup",
".",
"getFieldCount",
"(",
")",
";",
"i",
"++",
")",
"{",
"JMFType",
"theField",
"=",
"getEf... | Find the child of a tuple by name | [
"Find",
"the",
"child",
"of",
"a",
"tuple",
"by",
"name"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSchema.java#L425-L433 |
111,599 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSchema.java | JSchema.getCaseIndex | public int getCaseIndex(int accessor, String name) {
JMFFieldDef field = getFieldDef(accessor);
if (!(field instanceof JSVariant))
return -1;
JMFType target = findVariantChildByName((JSVariant)field, name);
if (target != null)
return getEffectiveSiblingPosition(target);
else
return... | java | public int getCaseIndex(int accessor, String name) {
JMFFieldDef field = getFieldDef(accessor);
if (!(field instanceof JSVariant))
return -1;
JMFType target = findVariantChildByName((JSVariant)field, name);
if (target != null)
return getEffectiveSiblingPosition(target);
else
return... | [
"public",
"int",
"getCaseIndex",
"(",
"int",
"accessor",
",",
"String",
"name",
")",
"{",
"JMFFieldDef",
"field",
"=",
"getFieldDef",
"(",
"accessor",
")",
";",
"if",
"(",
"!",
"(",
"field",
"instanceof",
"JSVariant",
")",
")",
"return",
"-",
"1",
";",
... | Resolve a case name to a case index
@param accessor the accessor of a JSVariant in the schema in whose scope the case
name is to be resolved
@param name the case name to be resolved
@return the case index associated with the name or -1 if either the accessor does not
refer to a JSVariant in this schema or the name doe... | [
"Resolve",
"a",
"case",
"name",
"to",
"a",
"case",
"index"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSchema.java#L444-L453 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.