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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
70,300 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheEntry.java | CacheEntry.getCacheValueSize | @Override
public long getCacheValueSize() {
long valuesize = -1;
if (this.value != null) {
Object localValue = this.value;
valuesize = ObjectSizer.getSize(localValue);
} else {
if (this.serializedValue != null) {
byte[] localSerializedValue... | java | @Override
public long getCacheValueSize() {
long valuesize = -1;
if (this.value != null) {
Object localValue = this.value;
valuesize = ObjectSizer.getSize(localValue);
} else {
if (this.serializedValue != null) {
byte[] localSerializedValue... | [
"@",
"Override",
"public",
"long",
"getCacheValueSize",
"(",
")",
"{",
"long",
"valuesize",
"=",
"-",
"1",
";",
"if",
"(",
"this",
".",
"value",
"!=",
"null",
")",
"{",
"Object",
"localValue",
"=",
"this",
".",
"value",
";",
"valuesize",
"=",
"ObjectSi... | Computes the best-effort size of the cache entry's value. Returns -1 if
value could not be computed. | [
"Computes",
"the",
"best",
"-",
"effort",
"size",
"of",
"the",
"cache",
"entry",
"s",
"value",
".",
"Returns",
"-",
"1",
"if",
"value",
"could",
"not",
"be",
"computed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheEntry.java#L1484-L1499 |
70,301 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.servlet.3.1/src/com/ibm/ws/webcontainer31/srt/SRTRequestContext31.java | SRTRequestContext31.generateNewId | public HttpSession generateNewId(WebApp webapp) {
HttpSession existingSession = (HttpSession) webappToSessionMap.get(webapp);
if (existingSession != null) {
if (!webapp.getSessionContext().isValid(existingSession, request, false)) {
existingSession = null;
}
... | java | public HttpSession generateNewId(WebApp webapp) {
HttpSession existingSession = (HttpSession) webappToSessionMap.get(webapp);
if (existingSession != null) {
if (!webapp.getSessionContext().isValid(existingSession, request, false)) {
existingSession = null;
}
... | [
"public",
"HttpSession",
"generateNewId",
"(",
"WebApp",
"webapp",
")",
"{",
"HttpSession",
"existingSession",
"=",
"(",
"HttpSession",
")",
"webappToSessionMap",
".",
"get",
"(",
"webapp",
")",
";",
"if",
"(",
"existingSession",
"!=",
"null",
")",
"{",
"if",
... | Added for support of HttpSessionIdListeners | [
"Added",
"for",
"support",
"of",
"HttpSessionIdListeners"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.servlet.3.1/src/com/ibm/ws/webcontainer31/srt/SRTRequestContext31.java#L45-L66 |
70,302 | OpenLiberty/open-liberty | dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLRecoverableUnitImpl.java | SQLRecoverableUnitImpl.lookupSection | public RecoverableUnitSection lookupSection(int identity)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "lookupSection",new java.lang.Object[]{this,new Integer(identity)});
SQLRecoverableUnitSectionImpl recoverableUnitSection = (SQLRecoverableUnitSectionImpl)_recoverableUnitSections.get(new Integer(identity));
... | java | public RecoverableUnitSection lookupSection(int identity)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "lookupSection",new java.lang.Object[]{this,new Integer(identity)});
SQLRecoverableUnitSectionImpl recoverableUnitSection = (SQLRecoverableUnitSectionImpl)_recoverableUnitSections.get(new Integer(identity));
... | [
"public",
"RecoverableUnitSection",
"lookupSection",
"(",
"int",
"identity",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"lookupSection\"",
",",
"new",
"java",
".",
"lang",
".",
"Object",
"[",
"]... | Returns the recoverable unit section previously created with the supplied
identity. If no such recoverable unit section exists, this method returns null.
@param identity The identitiy of the required recoverable unit section.
@return The recoverable unit section previously created with the supplied
identity. | [
"Returns",
"the",
"recoverable",
"unit",
"section",
"previously",
"created",
"with",
"the",
"supplied",
"identity",
".",
"If",
"no",
"such",
"recoverable",
"unit",
"section",
"exists",
"this",
"method",
"returns",
"null",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLRecoverableUnitImpl.java#L306-L314 |
70,303 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/rldispatcher/ConversationReceiveListenerErrorOccurredInvocation.java | ConversationReceiveListenerErrorOccurredInvocation.invoke | protected synchronized void invoke()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "invoke");
try
{
listener.errorOccurred(exception,
segmentType,
requestNumber,
... | java | protected synchronized void invoke()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "invoke");
try
{
listener.errorOccurred(exception,
segmentType,
requestNumber,
... | [
"protected",
"synchronized",
"void",
"invoke",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"invoke\"",
")",
";",... | Invokes the error occurred callback of a receive listener. The information
required for this invocation is encapsulated in this class. If code in the
callback throws an exception then the connection is invalidated. | [
"Invokes",
"the",
"error",
"occurred",
"callback",
"of",
"a",
"receive",
"listener",
".",
"The",
"information",
"required",
"for",
"this",
"invocation",
"is",
"encapsulated",
"in",
"this",
"class",
".",
"If",
"code",
"in",
"the",
"callback",
"throws",
"an",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/rldispatcher/ConversationReceiveListenerErrorOccurredInvocation.java#L95-L117 |
70,304 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/rldispatcher/ConversationReceiveListenerErrorOccurredInvocation.java | ConversationReceiveListenerErrorOccurredInvocation.reset | protected synchronized void reset(Connection connection,
ConversationReceiveListener listener,
SIConnectionLostException exception,
int segmentType,
int requestNumber,
int priority,
... | java | protected synchronized void reset(Connection connection,
ConversationReceiveListener listener,
SIConnectionLostException exception,
int segmentType,
int requestNumber,
int priority,
... | [
"protected",
"synchronized",
"void",
"reset",
"(",
"Connection",
"connection",
",",
"ConversationReceiveListener",
"listener",
",",
"SIConnectionLostException",
"exception",
",",
"int",
"segmentType",
",",
"int",
"requestNumber",
",",
"int",
"priority",
",",
"Conversati... | Resets the state of this object. Used for pooling. | [
"Resets",
"the",
"state",
"of",
"this",
"object",
".",
"Used",
"for",
"pooling",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/rldispatcher/ConversationReceiveListenerErrorOccurredInvocation.java#L120-L150 |
70,305 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/component/visit/PartialVisitContext.java | PartialVisitContext._idAdded | private void _idAdded(String clientId)
{
// An id to visit has been added, update our other
// collections to reflect this.
// Update the ids collection
_ids.add(_getIdFromClientId(clientId));
// Update the unvisited ids collection
_unvisitedClientIds.add(clientId);
// Update the subtre... | java | private void _idAdded(String clientId)
{
// An id to visit has been added, update our other
// collections to reflect this.
// Update the ids collection
_ids.add(_getIdFromClientId(clientId));
// Update the unvisited ids collection
_unvisitedClientIds.add(clientId);
// Update the subtre... | [
"private",
"void",
"_idAdded",
"(",
"String",
"clientId",
")",
"{",
"// An id to visit has been added, update our other",
"// collections to reflect this.",
"// Update the ids collection",
"_ids",
".",
"add",
"(",
"_getIdFromClientId",
"(",
"clientId",
")",
")",
";",
"// Up... | an new id has been added. | [
"an",
"new",
"id",
"has",
"been",
"added",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/component/visit/PartialVisitContext.java#L234-L247 |
70,306 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/component/visit/PartialVisitContext.java | PartialVisitContext._getVisitId | private String _getVisitId(UIComponent component)
{
// We first check to see whether the component's id
// is in our id collection. We do this before checking
// for the full client id because getting the full client id
// is more expensive than just getting the local id.
String id = component.ge... | java | private String _getVisitId(UIComponent component)
{
// We first check to see whether the component's id
// is in our id collection. We do this before checking
// for the full client id because getting the full client id
// is more expensive than just getting the local id.
String id = component.ge... | [
"private",
"String",
"_getVisitId",
"(",
"UIComponent",
"component",
")",
"{",
"// We first check to see whether the component's id",
"// is in our id collection. We do this before checking",
"// for the full client id because getting the full client id",
"// is more expensive than just getti... | If so, returns its client id. If not, returns null. | [
"If",
"so",
"returns",
"its",
"client",
"id",
".",
"If",
"not",
"returns",
"null",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/component/visit/PartialVisitContext.java#L267-L287 |
70,307 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/component/visit/PartialVisitContext.java | PartialVisitContext._getIdFromClientId | private String _getIdFromClientId(String clientId)
{
final char separator = getFacesContext().getNamingContainerSeparatorChar();
int lastIndex = clientId.lastIndexOf(separator);
String id = null;
if (lastIndex < 0)
{
id = clientId;
}
else if (lastIndex < (clientId.length() - 1))
... | java | private String _getIdFromClientId(String clientId)
{
final char separator = getFacesContext().getNamingContainerSeparatorChar();
int lastIndex = clientId.lastIndexOf(separator);
String id = null;
if (lastIndex < 0)
{
id = clientId;
}
else if (lastIndex < (clientId.length() - 1))
... | [
"private",
"String",
"_getIdFromClientId",
"(",
"String",
"clientId",
")",
"{",
"final",
"char",
"separator",
"=",
"getFacesContext",
"(",
")",
".",
"getNamingContainerSeparatorChar",
"(",
")",
";",
"int",
"lastIndex",
"=",
"clientId",
".",
"lastIndexOf",
"(",
"... | out the trailing id segmetn. | [
"out",
"the",
"trailing",
"id",
"segmetn",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/component/visit/PartialVisitContext.java#L293-L314 |
70,308 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/component/visit/PartialVisitContext.java | PartialVisitContext._addSubtreeClientId | private void _addSubtreeClientId(String clientId)
{
// Loop over the client id and find the substring corresponding to
// each ancestor NamingContainer client id. For each ancestor
// NamingContainer, add an entry into the map for the full client
// id.
final char separator = getFacesContext().ge... | java | private void _addSubtreeClientId(String clientId)
{
// Loop over the client id and find the substring corresponding to
// each ancestor NamingContainer client id. For each ancestor
// NamingContainer, add an entry into the map for the full client
// id.
final char separator = getFacesContext().ge... | [
"private",
"void",
"_addSubtreeClientId",
"(",
"String",
"clientId",
")",
"{",
"// Loop over the client id and find the substring corresponding to",
"// each ancestor NamingContainer client id. For each ancestor",
"// NamingContainer, add an entry into the map for the full client",
"// id.",
... | subtree client ids | [
"subtree",
"client",
"ids"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/component/visit/PartialVisitContext.java#L319-L354 |
70,309 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/component/visit/PartialVisitContext.java | PartialVisitContext._removeSubtreeClientId | private void _removeSubtreeClientId(String clientId)
{
// Loop through each entry in the map and check to see whether
// the client id to remove should be contained in the corresponding
// collection - ie. whether the key (the NamingContainer client id)
// is present at the start of the client id to r... | java | private void _removeSubtreeClientId(String clientId)
{
// Loop through each entry in the map and check to see whether
// the client id to remove should be contained in the corresponding
// collection - ie. whether the key (the NamingContainer client id)
// is present at the start of the client id to r... | [
"private",
"void",
"_removeSubtreeClientId",
"(",
"String",
"clientId",
")",
"{",
"// Loop through each entry in the map and check to see whether",
"// the client id to remove should be contained in the corresponding",
"// collection - ie. whether the key (the NamingContainer client id)",
"// ... | entries from our subtree collections | [
"entries",
"from",
"our",
"subtree",
"collections"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/component/visit/PartialVisitContext.java#L358-L375 |
70,310 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.iiop/src/com/ibm/ws/transport/iiop/yoko/ORBConfigAdapter.java | ORBConfigAdapter.createServerORB | @Override
public ORB createServerORB(Map<String, Object> config, Map<String, Object> extraConfig, List<IIOPEndpoint> endpoints, Collection<SubsystemFactory> subsystemFactories) throws ConfigException {
ORB orb = createORB(translateToTargetArgs(config, subsystemFactories), translateToTargetProps(config, extr... | java | @Override
public ORB createServerORB(Map<String, Object> config, Map<String, Object> extraConfig, List<IIOPEndpoint> endpoints, Collection<SubsystemFactory> subsystemFactories) throws ConfigException {
ORB orb = createORB(translateToTargetArgs(config, subsystemFactories), translateToTargetProps(config, extr... | [
"@",
"Override",
"public",
"ORB",
"createServerORB",
"(",
"Map",
"<",
"String",
",",
"Object",
">",
"config",
",",
"Map",
"<",
"String",
",",
"Object",
">",
"extraConfig",
",",
"List",
"<",
"IIOPEndpoint",
">",
"endpoints",
",",
"Collection",
"<",
"Subsyst... | Create an ORB for a CORBABean server context.
@param server The CORBABean that owns this ORB's configuration.
@return An ORB instance configured for the CORBABean.
@exception ConfigException | [
"Create",
"an",
"ORB",
"for",
"a",
"CORBABean",
"server",
"context",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.iiop/src/com/ibm/ws/transport/iiop/yoko/ORBConfigAdapter.java#L51-L55 |
70,311 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.iiop/src/com/ibm/ws/transport/iiop/yoko/ORBConfigAdapter.java | ORBConfigAdapter.createClientORB | @Override
public ORB createClientORB(Map<String, Object> clientProps, Collection<SubsystemFactory> subsystemFactories) throws ConfigException {
return createORB(translateToClientArgs(clientProps, subsystemFactories), translateToClientProps(clientProps, subsystemFactories));
} | java | @Override
public ORB createClientORB(Map<String, Object> clientProps, Collection<SubsystemFactory> subsystemFactories) throws ConfigException {
return createORB(translateToClientArgs(clientProps, subsystemFactories), translateToClientProps(clientProps, subsystemFactories));
} | [
"@",
"Override",
"public",
"ORB",
"createClientORB",
"(",
"Map",
"<",
"String",
",",
"Object",
">",
"clientProps",
",",
"Collection",
"<",
"SubsystemFactory",
">",
"subsystemFactories",
")",
"throws",
"ConfigException",
"{",
"return",
"createORB",
"(",
"translateT... | Create an ORB for a CSSBean client context.
@return An ORB instance configured for this client access.
@exception ConfigException | [
"Create",
"an",
"ORB",
"for",
"a",
"CSSBean",
"client",
"context",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.iiop/src/com/ibm/ws/transport/iiop/yoko/ORBConfigAdapter.java#L63-L66 |
70,312 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.iiop/src/com/ibm/ws/transport/iiop/yoko/ORBConfigAdapter.java | ORBConfigAdapter.createORB | private ORB createORB(String[] args, Properties props) {
return ORB.init(args, props);
} | java | private ORB createORB(String[] args, Properties props) {
return ORB.init(args, props);
} | [
"private",
"ORB",
"createORB",
"(",
"String",
"[",
"]",
"args",
",",
"Properties",
"props",
")",
"{",
"return",
"ORB",
".",
"init",
"(",
"args",
",",
"props",
")",
";",
"}"
] | Create an ORB instance using the configured argument
and property bundles.
@param args The String arguments passed to ORB.init().
@param props The property bundle passed to ORB.init().
@return An ORB constructed from the provided args and properties. | [
"Create",
"an",
"ORB",
"instance",
"using",
"the",
"configured",
"argument",
"and",
"property",
"bundles",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.iiop/src/com/ibm/ws/transport/iiop/yoko/ORBConfigAdapter.java#L77-L79 |
70,313 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.iiop/src/com/ibm/ws/transport/iiop/yoko/ORBConfigAdapter.java | ORBConfigAdapter.translateToTargetArgs | private String[] translateToTargetArgs(Map<String, Object> props, Collection<SubsystemFactory> subsystemFactories) throws ConfigException {
ArrayList<String> list = new ArrayList<String>();
for (SubsystemFactory sf : subsystemFactories) {
sf.addTargetORBInitArgs(props, list);
}
... | java | private String[] translateToTargetArgs(Map<String, Object> props, Collection<SubsystemFactory> subsystemFactories) throws ConfigException {
ArrayList<String> list = new ArrayList<String>();
for (SubsystemFactory sf : subsystemFactories) {
sf.addTargetORBInitArgs(props, list);
}
... | [
"private",
"String",
"[",
"]",
"translateToTargetArgs",
"(",
"Map",
"<",
"String",
",",
"Object",
">",
"props",
",",
"Collection",
"<",
"SubsystemFactory",
">",
"subsystemFactories",
")",
"throws",
"ConfigException",
"{",
"ArrayList",
"<",
"String",
">",
"list",... | Translate a CORBABean configuration into an
array of arguments used to configure the ORB
instance.
@param server The IiopEndpoint we're creating an ORB instance for.
@param subsystemFactories subsystem factories to translate configuration
@return A String{} array containing the initialization
arguments.
@exception Co... | [
"Translate",
"a",
"CORBABean",
"configuration",
"into",
"an",
"array",
"of",
"arguments",
"used",
"to",
"configure",
"the",
"ORB",
"instance",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.iiop/src/com/ibm/ws/transport/iiop/yoko/ORBConfigAdapter.java#L93-L105 |
70,314 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.iiop/src/com/ibm/ws/transport/iiop/yoko/ORBConfigAdapter.java | ORBConfigAdapter.translateToClientArgs | private String[] translateToClientArgs(Map<String, Object> clientProps, Collection<SubsystemFactory> subsystemFactories) throws ConfigException {
ArrayList<String> list = new ArrayList<String>();
for (SubsystemFactory sf : subsystemFactories) {
sf.addClientORBInitArgs(clientProps, list);
... | java | private String[] translateToClientArgs(Map<String, Object> clientProps, Collection<SubsystemFactory> subsystemFactories) throws ConfigException {
ArrayList<String> list = new ArrayList<String>();
for (SubsystemFactory sf : subsystemFactories) {
sf.addClientORBInitArgs(clientProps, list);
... | [
"private",
"String",
"[",
"]",
"translateToClientArgs",
"(",
"Map",
"<",
"String",
",",
"Object",
">",
"clientProps",
",",
"Collection",
"<",
"SubsystemFactory",
">",
"subsystemFactories",
")",
"throws",
"ConfigException",
"{",
"ArrayList",
"<",
"String",
">",
"... | Translate client configuration into the
argument bundle needed to instantiate the
client ORB instance.
@param clientProps configuration properties
@param subsystemFactories configured subsystem factories
@return A String array to be passed to ORB.init().
@exception ConfigException if configuration cannot be interprete... | [
"Translate",
"client",
"configuration",
"into",
"the",
"argument",
"bundle",
"needed",
"to",
"instantiate",
"the",
"client",
"ORB",
"instance",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.iiop/src/com/ibm/ws/transport/iiop/yoko/ORBConfigAdapter.java#L154-L166 |
70,315 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.iiop/src/com/ibm/ws/transport/iiop/yoko/ORBConfigAdapter.java | ORBConfigAdapter.translateToClientProps | private Properties translateToClientProps(Map<String, Object> clientProps, Collection<SubsystemFactory> subsystemFactories) throws ConfigException {
Properties result = createYokoORBProperties();
for (SubsystemFactory sf : subsystemFactories) {
addInitializerPropertyForSubsystem(result, sf, ... | java | private Properties translateToClientProps(Map<String, Object> clientProps, Collection<SubsystemFactory> subsystemFactories) throws ConfigException {
Properties result = createYokoORBProperties();
for (SubsystemFactory sf : subsystemFactories) {
addInitializerPropertyForSubsystem(result, sf, ... | [
"private",
"Properties",
"translateToClientProps",
"(",
"Map",
"<",
"String",
",",
"Object",
">",
"clientProps",
",",
"Collection",
"<",
"SubsystemFactory",
">",
"subsystemFactories",
")",
"throws",
"ConfigException",
"{",
"Properties",
"result",
"=",
"createYokoORBPr... | Translate client configuration into the
property bundle necessary to configure the
client ORB instance.
@param clientProps configuration properties
@param subsystemFactories configured subsystem factories
@return A property bundle that can be passed to ORB.init();
@exception ConfigException if configuration cannot be... | [
"Translate",
"client",
"configuration",
"into",
"the",
"property",
"bundle",
"necessary",
"to",
"configure",
"the",
"client",
"ORB",
"instance",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.iiop/src/com/ibm/ws/transport/iiop/yoko/ORBConfigAdapter.java#L179-L186 |
70,316 | OpenLiberty/open-liberty | dev/com.ibm.websphere.security/src/com/ibm/ws/security/core/SecurityContext.java | SecurityContext.getName | public static String getName() {
String secname = null;
WSCredential credential = getCallerWSCredential();
try {
if (credential != null && !credential.isUnauthenticated()) {
String realmSecname = credential.getRealmSecurityName();
if (realmSecname != n... | java | public static String getName() {
String secname = null;
WSCredential credential = getCallerWSCredential();
try {
if (credential != null && !credential.isUnauthenticated()) {
String realmSecname = credential.getRealmSecurityName();
if (realmSecname != n... | [
"public",
"static",
"String",
"getName",
"(",
")",
"{",
"String",
"secname",
"=",
"null",
";",
"WSCredential",
"credential",
"=",
"getCallerWSCredential",
"(",
")",
";",
"try",
"{",
"if",
"(",
"credential",
"!=",
"null",
"&&",
"!",
"credential",
".",
"isUn... | Return the security name of the current subject on the thread
@return the security name id, or null if there is no subject or no WSCredential | [
"Return",
"the",
"security",
"name",
"of",
"the",
"current",
"subject",
"on",
"the",
"thread"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.security/src/com/ibm/ws/security/core/SecurityContext.java#L45-L60 |
70,317 | OpenLiberty/open-liberty | dev/com.ibm.websphere.security/src/com/ibm/ws/security/core/SecurityContext.java | SecurityContext.getUser | public static String getUser() {
String accessid = null;
WSCredential credential = getCallerWSCredential();
try {
if (credential != null && !credential.isUnauthenticated())
accessid = credential.getAccessId();
} catch (Exception e) {
if (TraceComp... | java | public static String getUser() {
String accessid = null;
WSCredential credential = getCallerWSCredential();
try {
if (credential != null && !credential.isUnauthenticated())
accessid = credential.getAccessId();
} catch (Exception e) {
if (TraceComp... | [
"public",
"static",
"String",
"getUser",
"(",
")",
"{",
"String",
"accessid",
"=",
"null",
";",
"WSCredential",
"credential",
"=",
"getCallerWSCredential",
"(",
")",
";",
"try",
"{",
"if",
"(",
"credential",
"!=",
"null",
"&&",
"!",
"credential",
".",
"isU... | Return the accessid of the current subject on the thread
@return the access id, or null if there is no subject or no WSCredential | [
"Return",
"the",
"accessid",
"of",
"the",
"current",
"subject",
"on",
"the",
"thread"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.security/src/com/ibm/ws/security/core/SecurityContext.java#L67-L79 |
70,318 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10EvaluatorImpl.java | XPath10EvaluatorImpl.compareListValues | private Boolean compareListValues( // was BooleanValue
Object firstVal,
Object secondVal,
boolean lessThan,
boolean permissive,
boolean overallTrue) // If true we are searching for at least one TRUE result, else at least one FALSE.
{
if (tc.isAnyTracingEnabled() && tc.isEntryEnab... | java | private Boolean compareListValues( // was BooleanValue
Object firstVal,
Object secondVal,
boolean lessThan,
boolean permissive,
boolean overallTrue) // If true we are searching for at least one TRUE result, else at least one FALSE.
{
if (tc.isAnyTracingEnabled() && tc.isEntryEnab... | [
"private",
"Boolean",
"compareListValues",
"(",
"// was BooleanValue",
"Object",
"firstVal",
",",
"Object",
"secondVal",
",",
"boolean",
"lessThan",
",",
"boolean",
"permissive",
",",
"boolean",
"overallTrue",
")",
"// If true we are searching for at least one TRUE result, el... | Evaluate a comparison between 2 values at least one of which will be from a list.
If we can determine that there is a matching pair then we return TRUE.
@param firstVal
@param secondVal
@param lessThan
@param permissive
@param overallTrue
@return | [
"Evaluate",
"a",
"comparison",
"between",
"2",
"values",
"at",
"least",
"one",
"of",
"which",
"will",
"be",
"from",
"a",
"list",
".",
"If",
"we",
"can",
"determine",
"that",
"there",
"is",
"a",
"matching",
"pair",
"then",
"we",
"return",
"TRUE",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/XPath10EvaluatorImpl.java#L258-L300 |
70,319 | OpenLiberty/open-liberty | dev/com.ibm.ws.repository/src/com/ibm/ws/repository/connections/RestRepositoryConnectionProxy.java | RestRepositoryConnectionProxy.setURL | private URL setURL(URL url) throws RepositoryIllegalArgumentException {
int port = url.getPort();
if (port == -1) {
throw new RepositoryIllegalArgumentException("Bad proxy URL", new IllegalArgumentException("Proxy URL does not contain a port"));
}
String host = url.getHost();... | java | private URL setURL(URL url) throws RepositoryIllegalArgumentException {
int port = url.getPort();
if (port == -1) {
throw new RepositoryIllegalArgumentException("Bad proxy URL", new IllegalArgumentException("Proxy URL does not contain a port"));
}
String host = url.getHost();... | [
"private",
"URL",
"setURL",
"(",
"URL",
"url",
")",
"throws",
"RepositoryIllegalArgumentException",
"{",
"int",
"port",
"=",
"url",
".",
"getPort",
"(",
")",
";",
"if",
"(",
"port",
"==",
"-",
"1",
")",
"{",
"throw",
"new",
"RepositoryIllegalArgumentExceptio... | Rather than setting the port directly, verify that the proxy URL did contain a port
and throw an exception if it did not. This avoids problems later.
@param url
@return | [
"Rather",
"than",
"setting",
"the",
"port",
"directly",
"verify",
"that",
"the",
"proxy",
"URL",
"did",
"contain",
"a",
"port",
"and",
"throw",
"an",
"exception",
"if",
"it",
"did",
"not",
".",
"This",
"avoids",
"problems",
"later",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/connections/RestRepositoryConnectionProxy.java#L60-L70 |
70,320 | OpenLiberty/open-liberty | dev/com.ibm.ws.jmx/src/com/ibm/ws/jmx/internal/DelayedMBeanActivatorHelper.java | DelayedMBeanActivatorHelper.setMBean | protected void setMBean(ServiceReference<?> ref) {
// Use "jmx.objectname" for determining the ObjectName to be consistent with Apache Aries.
Object jmxObjectName = ref.getProperty("jmx.objectname");
if (jmxObjectName instanceof String) {
try {
// Construct an ObjectN... | java | protected void setMBean(ServiceReference<?> ref) {
// Use "jmx.objectname" for determining the ObjectName to be consistent with Apache Aries.
Object jmxObjectName = ref.getProperty("jmx.objectname");
if (jmxObjectName instanceof String) {
try {
// Construct an ObjectN... | [
"protected",
"void",
"setMBean",
"(",
"ServiceReference",
"<",
"?",
">",
"ref",
")",
"{",
"// Use \"jmx.objectname\" for determining the ObjectName to be consistent with Apache Aries.",
"Object",
"jmxObjectName",
"=",
"ref",
".",
"getProperty",
"(",
"\"jmx.objectname\"",
")",... | Sets the reference to a dynamic MBean. | [
"Sets",
"the",
"reference",
"to",
"a",
"dynamic",
"MBean",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx/src/com/ibm/ws/jmx/internal/DelayedMBeanActivatorHelper.java#L89-L108 |
70,321 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/WsByteBufferImpl.java | WsByteBufferImpl.printStackToDebug | public void printStackToDebug() {
Throwable t = new Throwable();
StackTraceElement[] ste = t.getStackTrace();
int start = (ste.length > 6) ? 6 : ste.length;
for (int i = start; i >= 1; i--) {
Tr.debug(tc, "Calling Stack Element[" + i + "]: " + ste[i]);
}
} | java | public void printStackToDebug() {
Throwable t = new Throwable();
StackTraceElement[] ste = t.getStackTrace();
int start = (ste.length > 6) ? 6 : ste.length;
for (int i = start; i >= 1; i--) {
Tr.debug(tc, "Calling Stack Element[" + i + "]: " + ste[i]);
}
} | [
"public",
"void",
"printStackToDebug",
"(",
")",
"{",
"Throwable",
"t",
"=",
"new",
"Throwable",
"(",
")",
";",
"StackTraceElement",
"[",
"]",
"ste",
"=",
"t",
".",
"getStackTrace",
"(",
")",
";",
"int",
"start",
"=",
"(",
"ste",
".",
"length",
">",
... | Debug method to print part of the current stack. | [
"Debug",
"method",
"to",
"print",
"part",
"of",
"the",
"current",
"stack",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/WsByteBufferImpl.java#L1594-L1602 |
70,322 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/WsByteBufferImpl.java | WsByteBufferImpl.setPoolManagerRef | public void setPoolManagerRef(WsByteBufferPoolManagerImpl oManagerRef) {
this.oWsByteBufferPoolManager = oManagerRef;
this.trusted = oManagerRef.isTrustedUsers();
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "setPoolManagerRef: trusted=" + this.tr... | java | public void setPoolManagerRef(WsByteBufferPoolManagerImpl oManagerRef) {
this.oWsByteBufferPoolManager = oManagerRef;
this.trusted = oManagerRef.isTrustedUsers();
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "setPoolManagerRef: trusted=" + this.tr... | [
"public",
"void",
"setPoolManagerRef",
"(",
"WsByteBufferPoolManagerImpl",
"oManagerRef",
")",
"{",
"this",
".",
"oWsByteBufferPoolManager",
"=",
"oManagerRef",
";",
"this",
".",
"trusted",
"=",
"oManagerRef",
".",
"isTrustedUsers",
"(",
")",
";",
"if",
"(",
"Trac... | Set the PoolManager reference.
@param oManagerRef | [
"Set",
"the",
"PoolManager",
"reference",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/WsByteBufferImpl.java#L1727-L1734 |
70,323 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/WsByteBufferImpl.java | WsByteBufferImpl.setDirectShadowBuffer | public void setDirectShadowBuffer(ByteBuffer buffer) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "setDirectShadowBuffer");
}
if (!this.trusted)
checkValidity();
this.oWsBBDirect = buffer;
if (TraceComponent.isAnyTra... | java | public void setDirectShadowBuffer(ByteBuffer buffer) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "setDirectShadowBuffer");
}
if (!this.trusted)
checkValidity();
this.oWsBBDirect = buffer;
if (TraceComponent.isAnyTra... | [
"public",
"void",
"setDirectShadowBuffer",
"(",
"ByteBuffer",
"buffer",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"setDirectShadow... | Set the direct bytebuffer that backs an indirect heap buffer to
the input buffer.
@param buffer | [
"Set",
"the",
"direct",
"bytebuffer",
"that",
"backs",
"an",
"indirect",
"heap",
"buffer",
"to",
"the",
"input",
"buffer",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/WsByteBufferImpl.java#L1772-L1785 |
70,324 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/WsByteBufferImpl.java | WsByteBufferImpl.setParmsToDirectBuffer | public void setParmsToDirectBuffer() {
if (oByteBuffer.isDirect()) {
this.oWsBBDirect = this.oByteBuffer;
return;
}
if (oWsBBDirect == null) {
this.oWsBBDirect = ByteBuffer.allocateDirect(oByteBuffer.capacity());
}
// set the position and li... | java | public void setParmsToDirectBuffer() {
if (oByteBuffer.isDirect()) {
this.oWsBBDirect = this.oByteBuffer;
return;
}
if (oWsBBDirect == null) {
this.oWsBBDirect = ByteBuffer.allocateDirect(oByteBuffer.capacity());
}
// set the position and li... | [
"public",
"void",
"setParmsToDirectBuffer",
"(",
")",
"{",
"if",
"(",
"oByteBuffer",
".",
"isDirect",
"(",
")",
")",
"{",
"this",
".",
"oWsBBDirect",
"=",
"this",
".",
"oByteBuffer",
";",
"return",
";",
"}",
"if",
"(",
"oWsBBDirect",
"==",
"null",
")",
... | Copy the buffer parameters from the indirect to the backing direct buffer,
if necessary. | [
"Copy",
"the",
"buffer",
"parameters",
"from",
"the",
"indirect",
"to",
"the",
"backing",
"direct",
"buffer",
"if",
"necessary",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/WsByteBufferImpl.java#L2040-L2054 |
70,325 | OpenLiberty/open-liberty | dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/handlers/FileStatusHostStatusHandler.java | FileStatusHostStatusHandler.taskHostStatus | private void taskHostStatus(RESTRequest request, RESTResponse response) {
String taskID = RESTHelper.getRequiredParam(request, APIConstants.PARAM_TASK_ID);
String host = RESTHelper.getRequiredParam(request, APIConstants.PARAM_HOST);
String taskHostStatusJson = getMultipleRoutingHelper().getHost... | java | private void taskHostStatus(RESTRequest request, RESTResponse response) {
String taskID = RESTHelper.getRequiredParam(request, APIConstants.PARAM_TASK_ID);
String host = RESTHelper.getRequiredParam(request, APIConstants.PARAM_HOST);
String taskHostStatusJson = getMultipleRoutingHelper().getHost... | [
"private",
"void",
"taskHostStatus",
"(",
"RESTRequest",
"request",
",",
"RESTResponse",
"response",
")",
"{",
"String",
"taskID",
"=",
"RESTHelper",
".",
"getRequiredParam",
"(",
"request",
",",
"APIConstants",
".",
"PARAM_TASK_ID",
")",
";",
"String",
"host",
... | Returns a JSON array of CommandResult serialization, representing the steps taken in that host
[
{
"timestamp" : String,
"status" : String,
"description" : String,
"returnCode" : int,
"StdOut" : String,
"StdErr" : String
}*
] | [
"Returns",
"a",
"JSON",
"array",
"of",
"CommandResult",
"serialization",
"representing",
"the",
"steps",
"taken",
"in",
"that",
"host"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/handlers/FileStatusHostStatusHandler.java#L110-L116 |
70,326 | OpenLiberty/open-liberty | dev/com.ibm.ws.app.manager.war/src/com/ibm/ws/app/manager/ear/internal/EARDeployedAppInfoFactoryImpl.java | EARDeployedAppInfoFactoryImpl.prepareExpansion | protected void prepareExpansion() throws IOException {
WsResource expansionResource = deployedAppServices.getLocationAdmin().resolveResource(AppManagerConstants.EXPANDED_APPS_DIR);
expansionResource.create();
} | java | protected void prepareExpansion() throws IOException {
WsResource expansionResource = deployedAppServices.getLocationAdmin().resolveResource(AppManagerConstants.EXPANDED_APPS_DIR);
expansionResource.create();
} | [
"protected",
"void",
"prepareExpansion",
"(",
")",
"throws",
"IOException",
"{",
"WsResource",
"expansionResource",
"=",
"deployedAppServices",
".",
"getLocationAdmin",
"(",
")",
".",
"resolveResource",
"(",
"AppManagerConstants",
".",
"EXPANDED_APPS_DIR",
")",
";",
"... | Application expansion ... | [
"Application",
"expansion",
"..."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.app.manager.war/src/com/ibm/ws/app/manager/ear/internal/EARDeployedAppInfoFactoryImpl.java#L148-L151 |
70,327 | OpenLiberty/open-liberty | dev/com.ibm.ws.app.manager.war/src/com/ibm/ws/app/manager/ear/internal/EARDeployedAppInfoFactoryImpl.java | EARDeployedAppInfoFactoryImpl.createDeployedAppInfo | @Override
public DeployedAppInfo createDeployedAppInfo(ApplicationInformation<DeployedAppInfo> appInfo)
throws UnableToAdaptException {
String appPid = appInfo.getPid();
String appName = appInfo.getName();
String appPath = appInfo.getLocation();
File appFile = new File(appP... | java | @Override
public DeployedAppInfo createDeployedAppInfo(ApplicationInformation<DeployedAppInfo> appInfo)
throws UnableToAdaptException {
String appPid = appInfo.getPid();
String appName = appInfo.getName();
String appPath = appInfo.getLocation();
File appFile = new File(appP... | [
"@",
"Override",
"public",
"DeployedAppInfo",
"createDeployedAppInfo",
"(",
"ApplicationInformation",
"<",
"DeployedAppInfo",
">",
"appInfo",
")",
"throws",
"UnableToAdaptException",
"{",
"String",
"appPid",
"=",
"appInfo",
".",
"getPid",
"(",
")",
";",
"String",
"a... | Create deployment information for a java enterprise application.
A location must be specified for the application. The location must
have an java enterprise application archive (an EAR file), an expanded
enterprise archive, or an XML loose configuration file.
If expansion is enabled, and if the application location ... | [
"Create",
"deployment",
"information",
"for",
"a",
"java",
"enterprise",
"application",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.app.manager.war/src/com/ibm/ws/app/manager/ear/internal/EARDeployedAppInfoFactoryImpl.java#L291-L365 |
70,328 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/error/ErrorHandlerImpl.java | ErrorHandlerImpl.createCssContentString | protected String createCssContentString() {
StringBuilder css = new StringBuilder();
css.append("<style>");
// body
css.append("body {");
css.append("background-color: #152935;");
css.append("font-family: serif;");
css.append("margin: 0;");
css.append("}\... | java | protected String createCssContentString() {
StringBuilder css = new StringBuilder();
css.append("<style>");
// body
css.append("body {");
css.append("background-color: #152935;");
css.append("font-family: serif;");
css.append("margin: 0;");
css.append("}\... | [
"protected",
"String",
"createCssContentString",
"(",
")",
"{",
"StringBuilder",
"css",
"=",
"new",
"StringBuilder",
"(",
")",
";",
"css",
".",
"append",
"(",
"\"<style>\"",
")",
";",
"// body",
"css",
".",
"append",
"(",
"\"body {\"",
")",
";",
"css",
"."... | Creates the CSS content string to be used to format page.
@return | [
"Creates",
"the",
"CSS",
"content",
"string",
"to",
"be",
"used",
"to",
"format",
"page",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/error/ErrorHandlerImpl.java#L117-L151 |
70,329 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOSCReadCallback.java | HttpOSCReadCallback.complete | public void complete(VirtualConnection vc, TCPReadRequestContext req) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "complete() called: vc=" + vc);
}
HttpOutboundServiceContextImpl mySC = (HttpOutboundServiceContextImpl) vc.getStateMap().get(Callb... | java | public void complete(VirtualConnection vc, TCPReadRequestContext req) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "complete() called: vc=" + vc);
}
HttpOutboundServiceContextImpl mySC = (HttpOutboundServiceContextImpl) vc.getStateMap().get(Callb... | [
"public",
"void",
"complete",
"(",
"VirtualConnection",
"vc",
",",
"TCPReadRequestContext",
"req",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
... | Called by the channel below us when a read has completed.
@param vc
@param req | [
"Called",
"by",
"the",
"channel",
"below",
"us",
"when",
"a",
"read",
"has",
"completed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOSCReadCallback.java#L59-L91 |
70,330 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java | HttpOutboundServiceContextImpl.reConnect | protected void reConnect(VirtualConnection inVC, IOException ioe) {
if (getLink().isReconnectAllowed()) {
// start the reconnect
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Attempting reconnect: " + getLink().getVirtualConnection());
... | java | protected void reConnect(VirtualConnection inVC, IOException ioe) {
if (getLink().isReconnectAllowed()) {
// start the reconnect
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Attempting reconnect: " + getLink().getVirtualConnection());
... | [
"protected",
"void",
"reConnect",
"(",
"VirtualConnection",
"inVC",
",",
"IOException",
"ioe",
")",
"{",
"if",
"(",
"getLink",
"(",
")",
".",
"isReconnectAllowed",
"(",
")",
")",
"{",
"// start the reconnect",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabl... | If an error occurs during an attempted write of an outgoing request
message, this method will either reconnect for another try or pass the
error up the channel chain.
@param inVC
@param ioe | [
"If",
"an",
"error",
"occurs",
"during",
"an",
"attempted",
"write",
"of",
"an",
"outgoing",
"request",
"message",
"this",
"method",
"will",
"either",
"reconnect",
"for",
"another",
"try",
"or",
"pass",
"the",
"error",
"up",
"the",
"channel",
"chain",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java#L213-L226 |
70,331 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java | HttpOutboundServiceContextImpl.callErrorCallback | void callErrorCallback(VirtualConnection inVC, IOException ioe) {
// otherwise pass the error along to the channel above us, or close
// the connection if nobody is above
setPersistent(false);
if (this.bEarlyReads && null != getAppReadCallback()) {
if (TraceComponent.isAnyTra... | java | void callErrorCallback(VirtualConnection inVC, IOException ioe) {
// otherwise pass the error along to the channel above us, or close
// the connection if nobody is above
setPersistent(false);
if (this.bEarlyReads && null != getAppReadCallback()) {
if (TraceComponent.isAnyTra... | [
"void",
"callErrorCallback",
"(",
"VirtualConnection",
"inVC",
",",
"IOException",
"ioe",
")",
"{",
"// otherwise pass the error along to the channel above us, or close",
"// the connection if nobody is above",
"setPersistent",
"(",
"false",
")",
";",
"if",
"(",
"this",
".",
... | Call the error callback of the app above.
@param inVC
@param ioe | [
"Call",
"the",
"error",
"callback",
"of",
"the",
"app",
"above",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java#L234-L255 |
70,332 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java | HttpOutboundServiceContextImpl.resetWriteBuffers | private boolean resetWriteBuffers() {
int stop = getPendingStop();
WsByteBuffer[] list = getPendingBuffers();
// verify we can actually attempt the re-write
if (null == this.positionList || null == list) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
... | java | private boolean resetWriteBuffers() {
int stop = getPendingStop();
WsByteBuffer[] list = getPendingBuffers();
// verify we can actually attempt the re-write
if (null == this.positionList || null == list) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
... | [
"private",
"boolean",
"resetWriteBuffers",
"(",
")",
"{",
"int",
"stop",
"=",
"getPendingStop",
"(",
")",
";",
"WsByteBuffer",
"[",
"]",
"list",
"=",
"getPendingBuffers",
"(",
")",
";",
"// verify we can actually attempt the re-write",
"if",
"(",
"null",
"==",
"... | Reset the position on all of the existing write buffers back so we can
resend them all, as we don't know what actually made it out before the
error occurred.
@return boolean (true means success on resetting them all) | [
"Reset",
"the",
"position",
"on",
"all",
"of",
"the",
"existing",
"write",
"buffers",
"back",
"so",
"we",
"can",
"resend",
"them",
"all",
"as",
"we",
"don",
"t",
"know",
"what",
"actually",
"made",
"it",
"out",
"before",
"the",
"error",
"occurred",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java#L326-L348 |
70,333 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java | HttpOutboundServiceContextImpl.nowReconnectedAsync | protected void nowReconnectedAsync() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Reconnected async for " + this);
}
// reset the data buffers first
if (!resetWriteBuffers()) {
if (TraceComponent.isAnyTracingEnabled() && tc.i... | java | protected void nowReconnectedAsync() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Reconnected async for " + this);
}
// reset the data buffers first
if (!resetWriteBuffers()) {
if (TraceComponent.isAnyTracingEnabled() && tc.i... | [
"protected",
"void",
"nowReconnectedAsync",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"Reconnected async for \"",
"+",
"this"... | Once we know we are reconnected to the target server, reset the TCP
buffers and start the async resend. | [
"Once",
"we",
"know",
"we",
"are",
"reconnected",
"to",
"the",
"target",
"server",
"reset",
"the",
"TCP",
"buffers",
"and",
"start",
"the",
"async",
"resend",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java#L354-L407 |
70,334 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java | HttpOutboundServiceContextImpl.nowReconnectedSync | protected void nowReconnectedSync(IOException originalExcep) throws IOException {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Reconnected sync for " + this);
}
if (!resetWriteBuffers()) {
if (TraceComponent.isAnyTracingEnabled() && tc... | java | protected void nowReconnectedSync(IOException originalExcep) throws IOException {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Reconnected sync for " + this);
}
if (!resetWriteBuffers()) {
if (TraceComponent.isAnyTracingEnabled() && tc... | [
"protected",
"void",
"nowReconnectedSync",
"(",
"IOException",
"originalExcep",
")",
"throws",
"IOException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"("... | Once we've reconnected to the target server, attempt to redo the sync
write of the buffers. If another error happens, simply pass that back
up the stack.
@param originalExcep
@throws IOException | [
"Once",
"we",
"ve",
"reconnected",
"to",
"the",
"target",
"server",
"attempt",
"to",
"redo",
"the",
"sync",
"write",
"of",
"the",
"buffers",
".",
"If",
"another",
"error",
"happens",
"simply",
"pass",
"that",
"back",
"up",
"the",
"stack",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java#L417-L450 |
70,335 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java | HttpOutboundServiceContextImpl.startEarlyRead | private VirtualConnection startEarlyRead(InterChannelCallback cb, boolean forceQueue) {
// disallow rewrites once we start mixing the request and temp responses
getLink().disallowRewrites();
setAppReadCallback(cb);
// check for an existing final response
if (headersParsed() && !... | java | private VirtualConnection startEarlyRead(InterChannelCallback cb, boolean forceQueue) {
// disallow rewrites once we start mixing the request and temp responses
getLink().disallowRewrites();
setAppReadCallback(cb);
// check for an existing final response
if (headersParsed() && !... | [
"private",
"VirtualConnection",
"startEarlyRead",
"(",
"InterChannelCallback",
"cb",
",",
"boolean",
"forceQueue",
")",
"{",
"// disallow rewrites once we start mixing the request and temp responses",
"getLink",
"(",
")",
".",
"disallowRewrites",
"(",
")",
";",
"setAppReadCal... | Common utility method to start the response read now, regardless of the
request message state.
@param cb
- app side read callback
@param forceQueue
@return VirtualConnection - non null if the final response has already
arrived | [
"Common",
"utility",
"method",
"to",
"start",
"the",
"response",
"read",
"now",
"regardless",
"of",
"the",
"request",
"message",
"state",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java#L544-L590 |
70,336 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java | HttpOutboundServiceContextImpl.setRequest | @Override
public void setRequest(HttpRequestMessage msg) throws IllegalRequestObjectException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "setRequest: " + msg);
}
// null message isn't allowed
if (null == msg) {
throw new... | java | @Override
public void setRequest(HttpRequestMessage msg) throws IllegalRequestObjectException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "setRequest: " + msg);
}
// null message isn't allowed
if (null == msg) {
throw new... | [
"@",
"Override",
"public",
"void",
"setRequest",
"(",
"HttpRequestMessage",
"msg",
")",
"throws",
"IllegalRequestObjectException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"Tr"... | Set the request message in this service context.
@param msg
@throws IllegalRequestObjectException | [
"Set",
"the",
"request",
"message",
"in",
"this",
"service",
"context",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java#L824-L868 |
70,337 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java | HttpOutboundServiceContextImpl.sendRequestHeaders | @Override
public void sendRequestHeaders() throws IOException, MessageSentException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "sendRequestHeaders(sync)");
}
if (headersSent()) {
throw new MessageSentException("Headers already s... | java | @Override
public void sendRequestHeaders() throws IOException, MessageSentException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "sendRequestHeaders(sync)");
}
if (headersSent()) {
throw new MessageSentException("Headers already s... | [
"@",
"Override",
"public",
"void",
"sendRequestHeaders",
"(",
")",
"throws",
"IOException",
",",
"MessageSentException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"Tr",
".",
... | Send the headers for the outgoing request synchronously.
@throws IOException
-- if a socket error occurs
@throws MessageSentException
-- if the headers have already been sent | [
"Send",
"the",
"headers",
"for",
"the",
"outgoing",
"request",
"synchronously",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java#L878-L903 |
70,338 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java | HttpOutboundServiceContextImpl.sendRequestHeaders | @Override
public VirtualConnection sendRequestHeaders(InterChannelCallback callback, boolean bForce) throws MessageSentException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "sendRequestHeaders(async)");
}
if (headersSent()) {
thro... | java | @Override
public VirtualConnection sendRequestHeaders(InterChannelCallback callback, boolean bForce) throws MessageSentException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "sendRequestHeaders(async)");
}
if (headersSent()) {
thro... | [
"@",
"Override",
"public",
"VirtualConnection",
"sendRequestHeaders",
"(",
"InterChannelCallback",
"callback",
",",
"boolean",
"bForce",
")",
"throws",
"MessageSentException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"... | Send the headers for the outgoing request asynchronously.
If the write can be done immediately, the VirtualConnection will be
returned and the callback will not be used. The caller is responsible
for handling that situation in their code. A null return code means
that the async write is in progress.
The boolean bForc... | [
"Send",
"the",
"headers",
"for",
"the",
"outgoing",
"request",
"asynchronously",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java#L923-L947 |
70,339 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java | HttpOutboundServiceContextImpl.sendRequestBody | @Override
public void sendRequestBody(WsByteBuffer[] body) throws IOException, MessageSentException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "sendRequestBody(sync)");
}
if (isMessageSent()) {
throw new MessageSentException("Me... | java | @Override
public void sendRequestBody(WsByteBuffer[] body) throws IOException, MessageSentException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "sendRequestBody(sync)");
}
if (isMessageSent()) {
throw new MessageSentException("Me... | [
"@",
"Override",
"public",
"void",
"sendRequestBody",
"(",
"WsByteBuffer",
"[",
"]",
"body",
")",
"throws",
"IOException",
",",
"MessageSentException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"("... | Send the given body buffers for the outgoing request synchronously.
If chunked encoding is set, then each call to this method will be
considered a "chunk" and encoded as such. If the message is
Content-Length defined, then the buffers will simply be sent out with no
modifications.
Note: if headers have not already bee... | [
"Send",
"the",
"given",
"body",
"buffers",
"for",
"the",
"outgoing",
"request",
"synchronously",
".",
"If",
"chunked",
"encoding",
"is",
"set",
"then",
"each",
"call",
"to",
"this",
"method",
"will",
"be",
"considered",
"a",
"chunk",
"and",
"encoded",
"as",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java#L965-L994 |
70,340 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java | HttpOutboundServiceContextImpl.sendRequestBody | @Override
public VirtualConnection sendRequestBody(WsByteBuffer[] body, InterChannelCallback callback, boolean bForce) throws MessageSentException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "sendRequestBody(async)");
}
if (isMessageSent()) ... | java | @Override
public VirtualConnection sendRequestBody(WsByteBuffer[] body, InterChannelCallback callback, boolean bForce) throws MessageSentException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "sendRequestBody(async)");
}
if (isMessageSent()) ... | [
"@",
"Override",
"public",
"VirtualConnection",
"sendRequestBody",
"(",
"WsByteBuffer",
"[",
"]",
"body",
",",
"InterChannelCallback",
"callback",
",",
"boolean",
"bForce",
")",
"throws",
"MessageSentException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnab... | Send the given body buffers for the outgoing request asynchronously.
If chunked encoding is set, then each call to this method will be
considered a "chunk" and encoded as such. If the message is
Content-Length defined, then the buffers will simply be sent out with no
modifications.
Note: if headers have not already be... | [
"Send",
"the",
"given",
"body",
"buffers",
"for",
"the",
"outgoing",
"request",
"asynchronously",
".",
"If",
"chunked",
"encoding",
"is",
"set",
"then",
"each",
"call",
"to",
"this",
"method",
"will",
"be",
"considered",
"a",
"chunk",
"and",
"encoded",
"as",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java#L1022-L1051 |
70,341 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java | HttpOutboundServiceContextImpl.finishRequestMessage | @Override
public void finishRequestMessage(WsByteBuffer[] body) throws IOException, MessageSentException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "finishRequestMessage(sync)");
}
if (isMessageSent()) {
throw new MessageSentExc... | java | @Override
public void finishRequestMessage(WsByteBuffer[] body) throws IOException, MessageSentException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "finishRequestMessage(sync)");
}
if (isMessageSent()) {
throw new MessageSentExc... | [
"@",
"Override",
"public",
"void",
"finishRequestMessage",
"(",
"WsByteBuffer",
"[",
"]",
"body",
")",
"throws",
"IOException",
",",
"MessageSentException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
... | Send the given body buffers for the outgoing request synchronously.
If chunked encoding is set, then these buffers will be considered a
"chunk" and encoded as such. If the message is Content-Length defined,
then the buffers will simply be sent out with no modifications. This
marks the end of the outgoing message. This ... | [
"Send",
"the",
"given",
"body",
"buffers",
"for",
"the",
"outgoing",
"request",
"synchronously",
".",
"If",
"chunked",
"encoding",
"is",
"set",
"then",
"these",
"buffers",
"will",
"be",
"considered",
"a",
"chunk",
"and",
"encoded",
"as",
"such",
".",
"If",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java#L1123-L1191 |
70,342 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java | HttpOutboundServiceContextImpl.finishRequestMessage | @Override
public VirtualConnection finishRequestMessage(WsByteBuffer[] body, InterChannelCallback callback, boolean bForce) throws MessageSentException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "finishRequestMessage(async)");
}
if (isMessa... | java | @Override
public VirtualConnection finishRequestMessage(WsByteBuffer[] body, InterChannelCallback callback, boolean bForce) throws MessageSentException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "finishRequestMessage(async)");
}
if (isMessa... | [
"@",
"Override",
"public",
"VirtualConnection",
"finishRequestMessage",
"(",
"WsByteBuffer",
"[",
"]",
"body",
",",
"InterChannelCallback",
"callback",
",",
"boolean",
"bForce",
")",
"throws",
"MessageSentException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracin... | Send the given body buffers for the outgoing request asynchronously.
If chunked encoding is set, then these buffers will be considered a
"chunk" and encoded as such. If the message is Content-Length defined,
then the buffers will simply be sent out with no modifications. This
marks the end of the outgoing message. The ... | [
"Send",
"the",
"given",
"body",
"buffers",
"for",
"the",
"outgoing",
"request",
"asynchronously",
".",
"If",
"chunked",
"encoding",
"is",
"set",
"then",
"these",
"buffers",
"will",
"be",
"considered",
"a",
"chunk",
"and",
"encoded",
"as",
"such",
".",
"If",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java#L1222-L1291 |
70,343 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java | HttpOutboundServiceContextImpl.checkRequestValidity | private HttpInvalidMessageException checkRequestValidity() {
if (shouldReadResponseImmediately()) {
// ignore body validation as this might happen after sending only
// the headers if 100-continue, Upgrade, immediate-read, etc.
return null;
}
long len = getReq... | java | private HttpInvalidMessageException checkRequestValidity() {
if (shouldReadResponseImmediately()) {
// ignore body validation as this might happen after sending only
// the headers if 100-continue, Upgrade, immediate-read, etc.
return null;
}
long len = getReq... | [
"private",
"HttpInvalidMessageException",
"checkRequestValidity",
"(",
")",
"{",
"if",
"(",
"shouldReadResponseImmediately",
"(",
")",
")",
"{",
"// ignore body validation as this might happen after sending only",
"// the headers if 100-continue, Upgrade, immediate-read, etc.",
"return... | Once we've fully written the request message, do any final checks to
verify it's correctness. If something was incorrect, then an exception
will be handed to the caller and that should be passed along to the
application channel above.
@return HttpInvalidMessageException (null if it was valid) | [
"Once",
"we",
"ve",
"fully",
"written",
"the",
"request",
"message",
"do",
"any",
"final",
"checks",
"to",
"verify",
"it",
"s",
"correctness",
".",
"If",
"something",
"was",
"incorrect",
"then",
"an",
"exception",
"will",
"be",
"handed",
"to",
"the",
"call... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java#L1362-L1381 |
70,344 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java | HttpOutboundServiceContextImpl.parseResponseMessageAsync | VirtualConnection parseResponseMessageAsync() {
VirtualConnection readVC = null;
try {
do {
if (parseMessage()) {
// finished parsing the message
return getVC();
}
if (TraceComponent.isAnyTracingEnabled(... | java | VirtualConnection parseResponseMessageAsync() {
VirtualConnection readVC = null;
try {
do {
if (parseMessage()) {
// finished parsing the message
return getVC();
}
if (TraceComponent.isAnyTracingEnabled(... | [
"VirtualConnection",
"parseResponseMessageAsync",
"(",
")",
"{",
"VirtualConnection",
"readVC",
"=",
"null",
";",
"try",
"{",
"do",
"{",
"if",
"(",
"parseMessage",
"(",
")",
")",
"{",
"// finished parsing the message",
"return",
"getVC",
"(",
")",
";",
"}",
"i... | Method to clean the service context and read another response message
asynchronously. This will return a non-null virtual connection object
if the new response message is fully parsed with no async reads needed.
Otherwise, it will return null and a callback will be used later.
@return VirtualConnection | [
"Method",
"to",
"clean",
"the",
"service",
"context",
"and",
"read",
"another",
"response",
"message",
"asynchronously",
".",
"This",
"will",
"return",
"a",
"non",
"-",
"null",
"virtual",
"connection",
"object",
"if",
"the",
"new",
"response",
"message",
"is",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java#L1565-L1598 |
70,345 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java | HttpOutboundServiceContextImpl.parseResponseMessageSync | private void parseResponseMessageSync() throws IOException {
// if read buffers are available, then attempt a parse otherwise go
// into the "read data then parse" loop
if (isReadDataAvailable()) {
try {
// if data is already available, don't modify the buffer
... | java | private void parseResponseMessageSync() throws IOException {
// if read buffers are available, then attempt a parse otherwise go
// into the "read data then parse" loop
if (isReadDataAvailable()) {
try {
// if data is already available, don't modify the buffer
... | [
"private",
"void",
"parseResponseMessageSync",
"(",
")",
"throws",
"IOException",
"{",
"// if read buffers are available, then attempt a parse otherwise go",
"// into the \"read data then parse\" loop",
"if",
"(",
"isReadDataAvailable",
"(",
")",
")",
"{",
"try",
"{",
"// if da... | Method to read for a response message synchronously. This will return
when the message headers are completely parsed, or throw an exception
if an error occurs. This method does not contain any logic on what to
do with the response, it just wraps the reading and parsing stage.
@throws IOException | [
"Method",
"to",
"read",
"for",
"a",
"response",
"message",
"synchronously",
".",
"This",
"will",
"return",
"when",
"the",
"message",
"headers",
"are",
"completely",
"parsed",
"or",
"throw",
"an",
"exception",
"if",
"an",
"error",
"occurs",
".",
"This",
"meth... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java#L1608-L1670 |
70,346 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java | HttpOutboundServiceContextImpl.checkBodyValidity | private boolean checkBodyValidity() throws IOException {
// LI4335 - allow response body reading if early reads are in place
if (isImmediateReadEnabled() || this.bEarlyReads) {
if (!headersParsed()) {
// this means they are requesting body buffers prior to sending
... | java | private boolean checkBodyValidity() throws IOException {
// LI4335 - allow response body reading if early reads are in place
if (isImmediateReadEnabled() || this.bEarlyReads) {
if (!headersParsed()) {
// this means they are requesting body buffers prior to sending
... | [
"private",
"boolean",
"checkBodyValidity",
"(",
")",
"throws",
"IOException",
"{",
"// LI4335 - allow response body reading if early reads are in place",
"if",
"(",
"isImmediateReadEnabled",
"(",
")",
"||",
"this",
".",
"bEarlyReads",
")",
"{",
"if",
"(",
"!",
"headersP... | Utility method to check whether the upcoming read for the response body
is either valid at this point or even necessary.
@return boolean -- false means there is no need to read for a body
@throws IOException
-- if this not a valid time to get the body | [
"Utility",
"method",
"to",
"check",
"whether",
"the",
"upcoming",
"read",
"for",
"the",
"response",
"body",
"is",
"either",
"valid",
"at",
"this",
"point",
"or",
"even",
"necessary",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java#L1783-L1808 |
70,347 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java | HttpOutboundServiceContextImpl.wakeupReadAhead | protected void wakeupReadAhead() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Received synchronous read-ahead wake-up call.");
}
synchronized (this.readAheadSyncer) {
this.readAheadSyncer.notify();
}
} | java | protected void wakeupReadAhead() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Received synchronous read-ahead wake-up call.");
}
synchronized (this.readAheadSyncer) {
this.readAheadSyncer.notify();
}
} | [
"protected",
"void",
"wakeupReadAhead",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"Received synchronous read-ahead wake-up call.\... | Method used by the read-ahead callback thread to notify this service
context that the read has completed. | [
"Method",
"used",
"by",
"the",
"read",
"-",
"ahead",
"callback",
"thread",
"to",
"notify",
"this",
"service",
"context",
"that",
"the",
"read",
"has",
"completed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundServiceContextImpl.java#L2529-L2536 |
70,348 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.wim.core/src/com/ibm/ws/security/wim/ProfileManager.java | ProfileManager.prepareForCaller | private void prepareForCaller(IdentifierType id, String qualifiedEntityType, String uid, String uName,
boolean isIgnoreRepositoryErrors, Set<String> failureRepositoryIds) throws WIMException {
String METHODNAME = "prepareForCaller";
if (id != null) {
String ... | java | private void prepareForCaller(IdentifierType id, String qualifiedEntityType, String uid, String uName,
boolean isIgnoreRepositoryErrors, Set<String> failureRepositoryIds) throws WIMException {
String METHODNAME = "prepareForCaller";
if (id != null) {
String ... | [
"private",
"void",
"prepareForCaller",
"(",
"IdentifierType",
"id",
",",
"String",
"qualifiedEntityType",
",",
"String",
"uid",
",",
"String",
"uName",
",",
"boolean",
"isIgnoreRepositoryErrors",
",",
"Set",
"<",
"String",
">",
"failureRepositoryIds",
")",
"throws",... | prepare the identifier DataObject for caller.
@param id the identifier DataObject
@param qualifiedEntityType the qualified entity type of the identifier represented entity
@param uid unique ID of the entity before updating operation (the should be only specified for update operation, for other operations, set the uid ... | [
"prepare",
"the",
"identifier",
"DataObject",
"for",
"caller",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.core/src/com/ibm/ws/security/wim/ProfileManager.java#L2056-L2073 |
70,349 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.wim.core/src/com/ibm/ws/security/wim/ProfileManager.java | ProfileManager.innerRetrieveEntityFromRepository | private Entity innerRetrieveEntityFromRepository(Root root, Entity retEntDO, String uniqueId, boolean isAllowOperationIfReposDown,
Set<String> failureRepositoryIds) throws WIMException {
String METHODNAME = "retrieveEntityFromRepository";
List<String... | java | private Entity innerRetrieveEntityFromRepository(Root root, Entity retEntDO, String uniqueId, boolean isAllowOperationIfReposDown,
Set<String> failureRepositoryIds) throws WIMException {
String METHODNAME = "retrieveEntityFromRepository";
List<String... | [
"private",
"Entity",
"innerRetrieveEntityFromRepository",
"(",
"Root",
"root",
",",
"Entity",
"retEntDO",
",",
"String",
"uniqueId",
",",
"boolean",
"isAllowOperationIfReposDown",
",",
"Set",
"<",
"String",
">",
"failureRepositoryIds",
")",
"throws",
"WIMException",
"... | Method created so we can ffdc the inner EntityNotFoundException | [
"Method",
"created",
"so",
"we",
"can",
"ffdc",
"the",
"inner",
"EntityNotFoundException"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.core/src/com/ibm/ws/security/wim/ProfileManager.java#L2226-L2274 |
70,350 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.wim.core/src/com/ibm/ws/security/wim/ProfileManager.java | ProfileManager.getRealmNameOrFirstBest | private String getRealmNameOrFirstBest(Root root) {
String value = null;
value = getRealmName(root);
if (value == null) {
try {
value = getRealmName();
} catch (Exception e) {
// leave realm at null
}
}
return va... | java | private String getRealmNameOrFirstBest(Root root) {
String value = null;
value = getRealmName(root);
if (value == null) {
try {
value = getRealmName();
} catch (Exception e) {
// leave realm at null
}
}
return va... | [
"private",
"String",
"getRealmNameOrFirstBest",
"(",
"Root",
"root",
")",
"{",
"String",
"value",
"=",
"null",
";",
"value",
"=",
"getRealmName",
"(",
"root",
")",
";",
"if",
"(",
"value",
"==",
"null",
")",
"{",
"try",
"{",
"value",
"=",
"getRealmName",... | First try to get the default or primary realm defined.
If not found, then use the realm name from one of the
registries.
Added for populating audit records.
@param root
@return | [
"First",
"try",
"to",
"get",
"the",
"default",
"or",
"primary",
"realm",
"defined",
".",
"If",
"not",
"found",
"then",
"use",
"the",
"realm",
"name",
"from",
"one",
"of",
"the",
"registries",
".",
"Added",
"for",
"populating",
"audit",
"records",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.core/src/com/ibm/ws/security/wim/ProfileManager.java#L2464-L2475 |
70,351 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.wim.core/src/com/ibm/ws/security/wim/ProfileManager.java | ProfileManager.getUniqueNameByUniqueId | @FFDCIgnore({ EntityNotFoundException.class, Exception.class })
private String getUniqueNameByUniqueId(String uniqueId, boolean isAllowOperationIfReposDown, Set<String> failureRepositoryIds) throws WIMException {
final String METHODNAME = "getUniqueNameByUniqueId";
String uniqueName = null;
... | java | @FFDCIgnore({ EntityNotFoundException.class, Exception.class })
private String getUniqueNameByUniqueId(String uniqueId, boolean isAllowOperationIfReposDown, Set<String> failureRepositoryIds) throws WIMException {
final String METHODNAME = "getUniqueNameByUniqueId";
String uniqueName = null;
... | [
"@",
"FFDCIgnore",
"(",
"{",
"EntityNotFoundException",
".",
"class",
",",
"Exception",
".",
"class",
"}",
")",
"private",
"String",
"getUniqueNameByUniqueId",
"(",
"String",
"uniqueId",
",",
"boolean",
"isAllowOperationIfReposDown",
",",
"Set",
"<",
"String",
">"... | Get the uniqueName based on the specified uniqueId
@param uniqueId the unique ID of an entity
@return the unique name of the entity which has the specified unique ID
@throws WIMException | [
"Get",
"the",
"uniqueName",
"based",
"on",
"the",
"specified",
"uniqueId"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.core/src/com/ibm/ws/security/wim/ProfileManager.java#L3335-L3387 |
70,352 | OpenLiberty/open-liberty | dev/com.ibm.ws.repository.resolver/src/com/ibm/ws/repository/resolver/RepositoryResolver.java | RepositoryResolver.initResolve | void initResolve() {
featureNamesToResolve = new HashSet<>();
samplesToInstall = new ArrayList<>();
resolvedFeatures = new HashMap<>();
requestedFeatureNames = new HashSet<>();
featuresMissing = new ArrayList<>();
resourcesWrongProduct = new ArrayList<>();
require... | java | void initResolve() {
featureNamesToResolve = new HashSet<>();
samplesToInstall = new ArrayList<>();
resolvedFeatures = new HashMap<>();
requestedFeatureNames = new HashSet<>();
featuresMissing = new ArrayList<>();
resourcesWrongProduct = new ArrayList<>();
require... | [
"void",
"initResolve",
"(",
")",
"{",
"featureNamesToResolve",
"=",
"new",
"HashSet",
"<>",
"(",
")",
";",
"samplesToInstall",
"=",
"new",
"ArrayList",
"<>",
"(",
")",
";",
"resolvedFeatures",
"=",
"new",
"HashMap",
"<>",
"(",
")",
";",
"requestedFeatureName... | Initialize all the fields used for a resolution | [
"Initialize",
"all",
"the",
"fields",
"used",
"for",
"a",
"resolution"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository.resolver/src/com/ibm/ws/repository/resolver/RepositoryResolver.java#L337-L348 |
70,353 | OpenLiberty/open-liberty | dev/com.ibm.ws.repository.resolver/src/com/ibm/ws/repository/resolver/RepositoryResolver.java | RepositoryResolver.createInstallLists | List<List<RepositoryResource>> createInstallLists() {
List<List<RepositoryResource>> installLists = new ArrayList<>();
// Create install list for each sample
for (SampleResource sample : samplesToInstall) {
installLists.add(createInstallList(sample));
}
// Create in... | java | List<List<RepositoryResource>> createInstallLists() {
List<List<RepositoryResource>> installLists = new ArrayList<>();
// Create install list for each sample
for (SampleResource sample : samplesToInstall) {
installLists.add(createInstallList(sample));
}
// Create in... | [
"List",
"<",
"List",
"<",
"RepositoryResource",
">",
">",
"createInstallLists",
"(",
")",
"{",
"List",
"<",
"List",
"<",
"RepositoryResource",
">>",
"installLists",
"=",
"new",
"ArrayList",
"<>",
"(",
")",
";",
"// Create install list for each sample",
"for",
"(... | Create the install lists for the resources which we were asked to resolve
@return the install lists | [
"Create",
"the",
"install",
"lists",
"for",
"the",
"resources",
"which",
"we",
"were",
"asked",
"to",
"resolve"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository.resolver/src/com/ibm/ws/repository/resolver/RepositoryResolver.java#L464-L489 |
70,354 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/utils/RecoverableUnitIdTable.java | RecoverableUnitIdTable.nextId | public final synchronized long nextId(Object obj)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "nextId", obj);
long id = _idCount++;
// Keep incrementing the id until we
// find one that hasn't been reserved.
while (_idMap.get(id) != null)
{
id = _idCount++;
}
// Add the new id to the map associatin... | java | public final synchronized long nextId(Object obj)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "nextId", obj);
long id = _idCount++;
// Keep incrementing the id until we
// find one that hasn't been reserved.
while (_idMap.get(id) != null)
{
id = _idCount++;
}
// Add the new id to the map associatin... | [
"public",
"final",
"synchronized",
"long",
"nextId",
"(",
"Object",
"obj",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"nextId\"",
",",
"obj",
")",
";",
"long",
"id",
"=",
"_idCount",
"++",
... | Returns the next available id, starting from 1, and associates
it with the given object. This method should be used during
the creation of a new recoverable object.
@param obj The object to be associated with the id
@return The next available recoverable unit id | [
"Returns",
"the",
"next",
"available",
"id",
"starting",
"from",
"1",
"and",
"associates",
"it",
"with",
"the",
"given",
"object",
".",
"This",
"method",
"should",
"be",
"used",
"during",
"the",
"creation",
"of",
"a",
"new",
"recoverable",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/utils/RecoverableUnitIdTable.java#L35-L55 |
70,355 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/utils/RecoverableUnitIdTable.java | RecoverableUnitIdTable.removeId | public final synchronized void removeId(long id)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "removeId", new Long(id));
_idMap.remove(id);
if (tc.isEntryEnabled()) Tr.exit(tc, "removeId");
} | java | public final synchronized void removeId(long id)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "removeId", new Long(id));
_idMap.remove(id);
if (tc.isEntryEnabled()) Tr.exit(tc, "removeId");
} | [
"public",
"final",
"synchronized",
"void",
"removeId",
"(",
"long",
"id",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"removeId\"",
",",
"new",
"Long",
"(",
"id",
")",
")",
";",
"_idMap",
"... | Remove the given id from the map. This method should be
called at the end of a recoverable object's lifetime.
@param id The id to remove from the table | [
"Remove",
"the",
"given",
"id",
"from",
"the",
"map",
".",
"This",
"method",
"should",
"be",
"called",
"at",
"the",
"end",
"of",
"a",
"recoverable",
"object",
"s",
"lifetime",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/utils/RecoverableUnitIdTable.java#L63-L70 |
70,356 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/utils/RecoverableUnitIdTable.java | RecoverableUnitIdTable.reserveId | public final synchronized boolean reserveId(long id, Object obj)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "reserveId", new Object[] {new Long(id), obj});
boolean reserved = false;
// The id can only be reserved if it
// isn't already in the map
if (_idMap.get(id) == null)
{
_idMap.put(id, obj);
rese... | java | public final synchronized boolean reserveId(long id, Object obj)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "reserveId", new Object[] {new Long(id), obj});
boolean reserved = false;
// The id can only be reserved if it
// isn't already in the map
if (_idMap.get(id) == null)
{
_idMap.put(id, obj);
rese... | [
"public",
"final",
"synchronized",
"boolean",
"reserveId",
"(",
"long",
"id",
",",
"Object",
"obj",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"reserveId\"",
",",
"new",
"Object",
"[",
"]",
... | Reserve the given id and associate it with
the given object. This method should be used
during recovery when there is a requirement to
create a new object with a specific id rather than
the one that is next available.
@return true if the id was successfully reserved.
@param id The value of the id to be reserved
@param... | [
"Reserve",
"the",
"given",
"id",
"and",
"associate",
"it",
"with",
"the",
"given",
"object",
".",
"This",
"method",
"should",
"be",
"used",
"during",
"recovery",
"when",
"there",
"is",
"a",
"requirement",
"to",
"create",
"a",
"new",
"object",
"with",
"a",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/utils/RecoverableUnitIdTable.java#L83-L100 |
70,357 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/utils/RecoverableUnitIdTable.java | RecoverableUnitIdTable.getAllObjects | public final synchronized Object[] getAllObjects()
{
if (tc.isEntryEnabled()) Tr.entry(tc, "getAllObjects");
Object[] values = _idMap.values();
if (tc.isEntryEnabled()) Tr.exit(tc, "getAllObjects", values);
return values;
} | java | public final synchronized Object[] getAllObjects()
{
if (tc.isEntryEnabled()) Tr.entry(tc, "getAllObjects");
Object[] values = _idMap.values();
if (tc.isEntryEnabled()) Tr.exit(tc, "getAllObjects", values);
return values;
} | [
"public",
"final",
"synchronized",
"Object",
"[",
"]",
"getAllObjects",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"getAllObjects\"",
")",
";",
"Object",
"[",
"]",
"values",
"=",
"_idMap"... | Return an array of all the objects currently
held in the table.
@return An array of all the objects in the table | [
"Return",
"an",
"array",
"of",
"all",
"the",
"objects",
"currently",
"held",
"in",
"the",
"table",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/utils/RecoverableUnitIdTable.java#L108-L117 |
70,358 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java | HashtableOnDisk.getCacheKey | public synchronized Object getCacheKey(EvictionTableEntry evt) //3821 NK begin
throws IOException,
EOFException,
FileManagerException,
ClassNotFoundException,
HashtableOnDiskException {
Object key = null;
if (filemgr == ... | java | public synchronized Object getCacheKey(EvictionTableEntry evt) //3821 NK begin
throws IOException,
EOFException,
FileManagerException,
ClassNotFoundException,
HashtableOnDiskException {
Object key = null;
if (filemgr == ... | [
"public",
"synchronized",
"Object",
"getCacheKey",
"(",
"EvictionTableEntry",
"evt",
")",
"//3821 NK begin",
"throws",
"IOException",
",",
"EOFException",
",",
"FileManagerException",
",",
"ClassNotFoundException",
",",
"HashtableOnDiskException",
"{",
"Object",
"key",
"=... | This method is used by garbage collector to get the cache key for the corresponding EvictionTableEntry | [
"This",
"method",
"is",
"used",
"by",
"garbage",
"collector",
"to",
"get",
"the",
"cache",
"key",
"for",
"the",
"corresponding",
"EvictionTableEntry"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java#L738-L754 |
70,359 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java | HashtableOnDisk.remove | public synchronized boolean remove(Object key)
throws IOException,
EOFException,
FileManagerException,
ClassNotFoundException,
HashtableOnDiskException {
if (filemgr == null) {
throw new HashtableOnDi... | java | public synchronized boolean remove(Object key)
throws IOException,
EOFException,
FileManagerException,
ClassNotFoundException,
HashtableOnDiskException {
if (filemgr == null) {
throw new HashtableOnDi... | [
"public",
"synchronized",
"boolean",
"remove",
"(",
"Object",
"key",
")",
"throws",
"IOException",
",",
"EOFException",
",",
"FileManagerException",
",",
"ClassNotFoundException",
",",
"HashtableOnDiskException",
"{",
"if",
"(",
"filemgr",
"==",
"null",
")",
"{",
... | Removes the mapping for this key and deletes the object from disk.
@param key The key of the object being removed.
@return true if successful, false otherwise
@exception FileManagerException The underlying file manager has a problem.
@exception ClassNotFoundException Some key in the hash bucket cannot be
deserialize... | [
"Removes",
"the",
"mapping",
"for",
"this",
"key",
"and",
"deletes",
"the",
"object",
"from",
"disk",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java#L1144-L1164 |
70,360 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java | HashtableOnDisk.updateExpirationInHeader | public synchronized boolean updateExpirationInHeader(Object key, long expirationTime, long validatorExpirationTime)
throws IOException,
EOFException,
FileManagerException,
ClassNotFoundException,
HashtableOnDiskException... | java | public synchronized boolean updateExpirationInHeader(Object key, long expirationTime, long validatorExpirationTime)
throws IOException,
EOFException,
FileManagerException,
ClassNotFoundException,
HashtableOnDiskException... | [
"public",
"synchronized",
"boolean",
"updateExpirationInHeader",
"(",
"Object",
"key",
",",
"long",
"expirationTime",
",",
"long",
"validatorExpirationTime",
")",
"throws",
"IOException",
",",
"EOFException",
",",
"FileManagerException",
",",
"ClassNotFoundException",
","... | This method is used to update expiration times in disk entry header | [
"This",
"method",
"is",
"used",
"to",
"update",
"expiration",
"times",
"in",
"disk",
"entry",
"header"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java#L1201-L1233 |
70,361 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java | HashtableOnDisk.walkHash | int walkHash(HashtableAction action, int retrieveMode, int index, int length)
throws IOException,
EOFException,
FileManagerException,
ClassNotFoundException,
HashtableOnDiskException {
iterationLock.p();
... | java | int walkHash(HashtableAction action, int retrieveMode, int index, int length)
throws IOException,
EOFException,
FileManagerException,
ClassNotFoundException,
HashtableOnDiskException {
iterationLock.p();
... | [
"int",
"walkHash",
"(",
"HashtableAction",
"action",
",",
"int",
"retrieveMode",
",",
"int",
"index",
",",
"int",
"length",
")",
"throws",
"IOException",
",",
"EOFException",
",",
"FileManagerException",
",",
"ClassNotFoundException",
",",
"HashtableOnDiskException",
... | Generic routine to walk the hash table and pass each entry to
the "action" interface. | [
"Generic",
"routine",
"to",
"walk",
"the",
"hash",
"table",
"and",
"pass",
"each",
"entry",
"to",
"the",
"action",
"interface",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java#L2250-L2321 |
70,362 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java | HashtableOnDisk.listfiles | public void listfiles(Writer o)
throws IOException,
EOFException,
FileManagerException,
ClassNotFoundException,
HashtableOnDiskException {
ListAction act = new ListAction(o);
walkHash(act, RETRIEVE_KEY, 0... | java | public void listfiles(Writer o)
throws IOException,
EOFException,
FileManagerException,
ClassNotFoundException,
HashtableOnDiskException {
ListAction act = new ListAction(o);
walkHash(act, RETRIEVE_KEY, 0... | [
"public",
"void",
"listfiles",
"(",
"Writer",
"o",
")",
"throws",
"IOException",
",",
"EOFException",
",",
"FileManagerException",
",",
"ClassNotFoundException",
",",
"HashtableOnDiskException",
"{",
"ListAction",
"act",
"=",
"new",
"ListAction",
"(",
"o",
")",
";... | Dump all keys to stdout. | [
"Dump",
"all",
"keys",
"to",
"stdout",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java#L2355-L2363 |
70,363 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java | HashtableOnDisk.countAndVerifyObjects | private void countAndVerifyObjects()
throws IOException,
EOFException,
FileManagerException,
ClassNotFoundException,
HashtableOnDiskException {
println("countAndVerifyObjects(): Hashtable " + filename + " was not... | java | private void countAndVerifyObjects()
throws IOException,
EOFException,
FileManagerException,
ClassNotFoundException,
HashtableOnDiskException {
println("countAndVerifyObjects(): Hashtable " + filename + " was not... | [
"private",
"void",
"countAndVerifyObjects",
"(",
")",
"throws",
"IOException",
",",
"EOFException",
",",
"FileManagerException",
",",
"ClassNotFoundException",
",",
"HashtableOnDiskException",
"{",
"println",
"(",
"\"countAndVerifyObjects(): Hashtable \"",
"+",
"filename",
... | This walks the hash table and sets the internal count of objects.
Note that it also sort of works as a verifier of the content - if
we throw an exception we can be sure the file is corrupted. | [
"This",
"walks",
"the",
"hash",
"table",
"and",
"sets",
"the",
"internal",
"count",
"of",
"objects",
".",
"Note",
"that",
"it",
"also",
"sort",
"of",
"works",
"as",
"a",
"verifier",
"of",
"the",
"content",
"-",
"if",
"we",
"throw",
"an",
"exception",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java#L2653-L2681 |
70,364 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java | HashtableOnDisk.countObjects | private void countObjects()
throws IOException,
EOFException,
FileManagerException,
ClassNotFoundException,
HashtableOnDiskException {
println("countObjects(): Hashtable " + filename + " was not closed properly. ... | java | private void countObjects()
throws IOException,
EOFException,
FileManagerException,
ClassNotFoundException,
HashtableOnDiskException {
println("countObjects(): Hashtable " + filename + " was not closed properly. ... | [
"private",
"void",
"countObjects",
"(",
")",
"throws",
"IOException",
",",
"EOFException",
",",
"FileManagerException",
",",
"ClassNotFoundException",
",",
"HashtableOnDiskException",
"{",
"println",
"(",
"\"countObjects(): Hashtable \"",
"+",
"filename",
"+",
"\" was not... | This walks the hash table and sets the internal count of objects. It is
streamlined to only get a count and not examine any objects. | [
"This",
"walks",
"the",
"hash",
"table",
"and",
"sets",
"the",
"internal",
"count",
"of",
"objects",
".",
"It",
"is",
"streamlined",
"to",
"only",
"get",
"a",
"count",
"and",
"not",
"examine",
"any",
"objects",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java#L2687-L2725 |
70,365 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java | HashtableOnDisk.rehash | private void rehash()
throws IOException,
EOFException,
FileManagerException,
ClassNotFoundException,
HashtableOnDiskException {
int size = (header.tablesize() * 2) + 1;
if (this.tempTableSize > size) {
... | java | private void rehash()
throws IOException,
EOFException,
FileManagerException,
ClassNotFoundException,
HashtableOnDiskException {
int size = (header.tablesize() * 2) + 1;
if (this.tempTableSize > size) {
... | [
"private",
"void",
"rehash",
"(",
")",
"throws",
"IOException",
",",
"EOFException",
",",
"FileManagerException",
",",
"ClassNotFoundException",
",",
"HashtableOnDiskException",
"{",
"int",
"size",
"=",
"(",
"header",
".",
"tablesize",
"(",
")",
"*",
"2",
")",
... | Internal method to do default rehash of doubling | [
"Internal",
"method",
"to",
"do",
"default",
"rehash",
"of",
"doubling"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java#L2730-L2743 |
70,366 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java | HashtableOnDisk.doRehash | private void doRehash(int new_table_size)
throws IOException,
EOFException,
FileManagerException,
ClassNotFoundException,
HashtableOnDiskException {
//
// Acquire the lock to prevent iteration while doubl... | java | private void doRehash(int new_table_size)
throws IOException,
EOFException,
FileManagerException,
ClassNotFoundException,
HashtableOnDiskException {
//
// Acquire the lock to prevent iteration while doubl... | [
"private",
"void",
"doRehash",
"(",
"int",
"new_table_size",
")",
"throws",
"IOException",
",",
"EOFException",
",",
"FileManagerException",
",",
"ClassNotFoundException",
",",
"HashtableOnDiskException",
"{",
"//",
"// Acquire the lock to prevent iteration while doubling",
"... | Double the size of the hash table -
The variable rehashInProgress is set to non-0 on disk to indicate
that rehashing is in progress. We use rehashInProgress to temporarily
hold the hash bucket in the new table while chaining the old one in.
So rehashInProgress is either 0 (rehash done), 1 (rehash in progress),
or some... | [
"Double",
"the",
"size",
"of",
"the",
"hash",
"table",
"-"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java#L2768-L2799 |
70,367 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java | HashHeader.setRehashFlag | void setRehashFlag(long location)
throws IOException,
EOFException {
rehashInProgress = location;
filemgr.seek(rehashOffset);
filemgr.writeLong(location);
} | java | void setRehashFlag(long location)
throws IOException,
EOFException {
rehashInProgress = location;
filemgr.seek(rehashOffset);
filemgr.writeLong(location);
} | [
"void",
"setRehashFlag",
"(",
"long",
"location",
")",
"throws",
"IOException",
",",
"EOFException",
"{",
"rehashInProgress",
"=",
"location",
";",
"filemgr",
".",
"seek",
"(",
"rehashOffset",
")",
";",
"filemgr",
".",
"writeLong",
"(",
"location",
")",
";",
... | Set the rehash indicator. If set during startup we must
initiate recovery and complete the rehash. | [
"Set",
"the",
"rehash",
"indicator",
".",
"If",
"set",
"during",
"startup",
"we",
"must",
"initiate",
"recovery",
"and",
"complete",
"the",
"rehash",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/persistent/htod/HashtableOnDisk.java#L3480-L3486 |
70,368 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConversationTable.java | ConversationTable.contains | public synchronized boolean contains(int id)
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "contains", ""+id);
mutableKey.setValue(id);
boolean returnValue = idToConvTable.containsKey(mutableKey);
if (tc.isEntryEnabled()) SibTr.exit(this, tc, "contains", ""+returnValue);
return retu... | java | public synchronized boolean contains(int id)
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "contains", ""+id);
mutableKey.setValue(id);
boolean returnValue = idToConvTable.containsKey(mutableKey);
if (tc.isEntryEnabled()) SibTr.exit(this, tc, "contains", ""+returnValue);
return retu... | [
"public",
"synchronized",
"boolean",
"contains",
"(",
"int",
"id",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"contains\"",
",",
"\"\"",
"+",
"id",
")",
";",
"mutableKey",
".... | Test to determine if a particular conversation ID is present in the table.
@param id
@return boolean | [
"Test",
"to",
"determine",
"if",
"a",
"particular",
"conversation",
"ID",
"is",
"present",
"in",
"the",
"table",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConversationTable.java#L127-L134 |
70,369 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConversationTable.java | ConversationTable.get | public synchronized ConversationImpl get(int id)
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "get", ""+id);
mutableKey.setValue(id);
ConversationImpl retValue = idToConvTable.get(mutableKey);
if (tc.isEntryEnabled()) SibTr.exit(this, tc, "get", retValue);
return retValue;
} | java | public synchronized ConversationImpl get(int id)
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "get", ""+id);
mutableKey.setValue(id);
ConversationImpl retValue = idToConvTable.get(mutableKey);
if (tc.isEntryEnabled()) SibTr.exit(this, tc, "get", retValue);
return retValue;
} | [
"public",
"synchronized",
"ConversationImpl",
"get",
"(",
"int",
"id",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"get\"",
",",
"\"\"",
"+",
"id",
")",
";",
"mutableKey",
"."... | Retrieve a conversation from the table by ID
@param id
@return ConversationImpl | [
"Retrieve",
"a",
"conversation",
"from",
"the",
"table",
"by",
"ID"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConversationTable.java#L174-L181 |
70,370 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConversationTable.java | ConversationTable.remove | public synchronized boolean remove(int id)
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "remove", ""+id);
final boolean result = contains(id);
if (result)
{
mutableKey.setValue(id);
idToConvTable.remove(mutableKey);
}
if (tc.isEntryEnabled()) SibTr.exit(th... | java | public synchronized boolean remove(int id)
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "remove", ""+id);
final boolean result = contains(id);
if (result)
{
mutableKey.setValue(id);
idToConvTable.remove(mutableKey);
}
if (tc.isEntryEnabled()) SibTr.exit(th... | [
"public",
"synchronized",
"boolean",
"remove",
"(",
"int",
"id",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"remove\"",
",",
"\"\"",
"+",
"id",
")",
";",
"final",
"boolean",
... | Remove a conversation from the table by ID
@param id | [
"Remove",
"a",
"conversation",
"from",
"the",
"table",
"by",
"ID"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConversationTable.java#L187-L199 |
70,371 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConversationTable.java | ConversationTable.iterator | public synchronized Iterator iterator()
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "iterator");
Iterator returnValue = idToConvTable.values().iterator();
if (tc.isEntryEnabled()) SibTr.exit(this, tc, "iterator", returnValue);
return returnValue;
} | java | public synchronized Iterator iterator()
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "iterator");
Iterator returnValue = idToConvTable.values().iterator();
if (tc.isEntryEnabled()) SibTr.exit(this, tc, "iterator", returnValue);
return returnValue;
} | [
"public",
"synchronized",
"Iterator",
"iterator",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"iterator\"",
")",
";",
"Iterator",
"returnValue",
"=",
"idToConvTable",
".",
"v... | Returns an iterator which iterates over the tables
contents. The values returned by this iterator are
objects of type Conversation.
@return Iterator | [
"Returns",
"an",
"iterator",
"which",
"iterates",
"over",
"the",
"tables",
"contents",
".",
"The",
"values",
"returned",
"by",
"this",
"iterator",
"are",
"objects",
"of",
"type",
"Conversation",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ConversationTable.java#L207-L213 |
70,372 | OpenLiberty/open-liberty | dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/TxXATerminator.java | TxXATerminator.instance | public static TxXATerminator instance(String providerId)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "instance", providerId);
final TxXATerminator xat;
synchronized(_txXATerminators)
{
if(_txXATerminators.containsKey(providerId))
{
xat = (TxXATerminator)_txXATerminators.get(providerId);
}
el... | java | public static TxXATerminator instance(String providerId)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "instance", providerId);
final TxXATerminator xat;
synchronized(_txXATerminators)
{
if(_txXATerminators.containsKey(providerId))
{
xat = (TxXATerminator)_txXATerminators.get(providerId);
}
el... | [
"public",
"static",
"TxXATerminator",
"instance",
"(",
"String",
"providerId",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"instance\"",
",",
"providerId",
")",
";",
"final",
"TxXATerminator",
"xat... | Return the TxXATerminator instance specific to the given providerId
@param providerId
@return | [
"Return",
"the",
"TxXATerminator",
"instance",
"specific",
"to",
"the",
"given",
"providerId"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/TxXATerminator.java#L63-L84 |
70,373 | OpenLiberty/open-liberty | dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/TxXATerminator.java | TxXATerminator.getTxWrapper | protected JCATranWrapper getTxWrapper(Xid xid, boolean addAssociation) throws XAException
{
if (tc.isEntryEnabled()) Tr.entry(tc, "getTxWrapper", xid);
final JCATranWrapper txWrapper = TxExecutionContextHandler.getTxWrapper(xid, addAssociation);
if(txWrapper.getTransaction() == null)
... | java | protected JCATranWrapper getTxWrapper(Xid xid, boolean addAssociation) throws XAException
{
if (tc.isEntryEnabled()) Tr.entry(tc, "getTxWrapper", xid);
final JCATranWrapper txWrapper = TxExecutionContextHandler.getTxWrapper(xid, addAssociation);
if(txWrapper.getTransaction() == null)
... | [
"protected",
"JCATranWrapper",
"getTxWrapper",
"(",
"Xid",
"xid",
",",
"boolean",
"addAssociation",
")",
"throws",
"XAException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"getTxWrapper\"",
",",
"xid",
... | Gets the Transaction from the TxExecutionContextHandler that imported it
@param xid
@param addAssociation
@return
@throws XAException (XAER_NOTA) - thrown if the specified XID is invalid | [
"Gets",
"the",
"Transaction",
"from",
"the",
"TxExecutionContextHandler",
"that",
"imported",
"it"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/TxXATerminator.java#L260-L275 |
70,374 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsp/src/com/ibm/ws/jsp/translator/visitor/validator/FVVisitor.java | FVVisitor.getMethod | private String getMethod(ELNode.Function func) throws JspTranslationException {
FunctionInfo funcInfo = func.getFunctionInfo();
String signature = funcInfo.getFunctionSignature();
int start = signature.indexOf(' ');
if (start < 0) {
throw new JspTranslationException("jsp.err... | java | private String getMethod(ELNode.Function func) throws JspTranslationException {
FunctionInfo funcInfo = func.getFunctionInfo();
String signature = funcInfo.getFunctionSignature();
int start = signature.indexOf(' ');
if (start < 0) {
throw new JspTranslationException("jsp.err... | [
"private",
"String",
"getMethod",
"(",
"ELNode",
".",
"Function",
"func",
")",
"throws",
"JspTranslationException",
"{",
"FunctionInfo",
"funcInfo",
"=",
"func",
".",
"getFunctionInfo",
"(",
")",
";",
"String",
"signature",
"=",
"funcInfo",
".",
"getFunctionSignat... | Get the method name from the signature. | [
"Get",
"the",
"method",
"name",
"from",
"the",
"signature",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsp/src/com/ibm/ws/jsp/translator/visitor/validator/FVVisitor.java#L89-L102 |
70,375 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsp/src/com/ibm/ws/jsp/tsx/tag/DefinedIndexManager.java | DefinedIndexManager.exists | public boolean exists(String index) {
boolean exists = false;
if (indexNames.isEmpty() == false) {
for (i = 0; i < indexNames.size(); i++) {
if (index.equals((String) indexNames.elementAt(i))) {
exists = true;
break;
}
... | java | public boolean exists(String index) {
boolean exists = false;
if (indexNames.isEmpty() == false) {
for (i = 0; i < indexNames.size(); i++) {
if (index.equals((String) indexNames.elementAt(i))) {
exists = true;
break;
}
... | [
"public",
"boolean",
"exists",
"(",
"String",
"index",
")",
"{",
"boolean",
"exists",
"=",
"false",
";",
"if",
"(",
"indexNames",
".",
"isEmpty",
"(",
")",
"==",
"false",
")",
"{",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"indexNames",
".",
"size"... | see if the passed in index exists in the vector | [
"see",
"if",
"the",
"passed",
"in",
"index",
"exists",
"in",
"the",
"vector"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsp/src/com/ibm/ws/jsp/tsx/tag/DefinedIndexManager.java#L43-L56 |
70,376 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/webapp/AbstractFacesInitializer.java | AbstractFacesInitializer._createEagerBeans | private void _createEagerBeans(FacesContext facesContext)
{
ExternalContext externalContext = facesContext.getExternalContext();
RuntimeConfig runtimeConfig = RuntimeConfig.getCurrentInstance(externalContext);
List<ManagedBean> eagerBeans = new ArrayList<ManagedBean>();
// c... | java | private void _createEagerBeans(FacesContext facesContext)
{
ExternalContext externalContext = facesContext.getExternalContext();
RuntimeConfig runtimeConfig = RuntimeConfig.getCurrentInstance(externalContext);
List<ManagedBean> eagerBeans = new ArrayList<ManagedBean>();
// c... | [
"private",
"void",
"_createEagerBeans",
"(",
"FacesContext",
"facesContext",
")",
"{",
"ExternalContext",
"externalContext",
"=",
"facesContext",
".",
"getExternalContext",
"(",
")",
";",
"RuntimeConfig",
"runtimeConfig",
"=",
"RuntimeConfig",
".",
"getCurrentInstance",
... | Checks for application scoped managed-beans with eager=true,
creates them and stores them in the application map.
@param facesContext | [
"Checks",
"for",
"application",
"scoped",
"managed",
"-",
"beans",
"with",
"eager",
"=",
"true",
"creates",
"them",
"and",
"stores",
"them",
"in",
"the",
"application",
"map",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/webapp/AbstractFacesInitializer.java#L272-L323 |
70,377 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/webapp/AbstractFacesInitializer.java | AbstractFacesInitializer.loadExpressionFactory | protected static ExpressionFactory loadExpressionFactory(String expressionFactoryClassName)
{
try
{
Class<?> expressionFactoryClass = Class.forName(expressionFactoryClassName);
return (ExpressionFactory) expressionFactoryClass.newInstance();
}
catch (Exception... | java | protected static ExpressionFactory loadExpressionFactory(String expressionFactoryClassName)
{
try
{
Class<?> expressionFactoryClass = Class.forName(expressionFactoryClassName);
return (ExpressionFactory) expressionFactoryClass.newInstance();
}
catch (Exception... | [
"protected",
"static",
"ExpressionFactory",
"loadExpressionFactory",
"(",
"String",
"expressionFactoryClassName",
")",
"{",
"try",
"{",
"Class",
"<",
"?",
">",
"expressionFactoryClass",
"=",
"Class",
".",
"forName",
"(",
"expressionFactoryClassName",
")",
";",
"return... | Loads and instantiates the given ExpressionFactory implementation.
@param expressionFactoryClassName the class name of the ExpressionFactory implementation
@return the newly created ExpressionFactory implementation, or
<code>null</code>, if an error occurred | [
"Loads",
"and",
"instantiates",
"the",
"given",
"ExpressionFactory",
"implementation",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/webapp/AbstractFacesInitializer.java#L493-L510 |
70,378 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/webapp/AbstractFacesInitializer.java | AbstractFacesInitializer.initCDIIntegration | protected void initCDIIntegration(
ServletContext servletContext, ExternalContext externalContext)
{
// Lookup bean manager and put it into an application scope attribute to
// access it later. Remember the trick here is do not call any CDI api
// directly, so if no CDI api is ... | java | protected void initCDIIntegration(
ServletContext servletContext, ExternalContext externalContext)
{
// Lookup bean manager and put it into an application scope attribute to
// access it later. Remember the trick here is do not call any CDI api
// directly, so if no CDI api is ... | [
"protected",
"void",
"initCDIIntegration",
"(",
"ServletContext",
"servletContext",
",",
"ExternalContext",
"externalContext",
")",
"{",
"// Lookup bean manager and put it into an application scope attribute to ",
"// access it later. Remember the trick here is do not call any CDI api ",
"... | The intention of this method is provide a point where CDI integration is done.
Faces Flow and javax.faces.view.ViewScope requires CDI in order to work, so
this method should set a BeanManager instance on application map under
the key "oam.cdi.BEAN_MANAGER_INSTANCE". The default implementation look on
ServletContext fir... | [
"The",
"intention",
"of",
"this",
"method",
"is",
"provide",
"a",
"point",
"where",
"CDI",
"integration",
"is",
"done",
".",
"Faces",
"Flow",
"and",
"javax",
".",
"faces",
".",
"view",
".",
"ViewScope",
"requires",
"CDI",
"in",
"order",
"to",
"work",
"so... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/webapp/AbstractFacesInitializer.java#L579-L652 |
70,379 | OpenLiberty/open-liberty | dev/com.ibm.ws.concurrent/src/com/ibm/ws/concurrent/internal/ThreadGroupTracker.java | ThreadGroupTracker.getThreadGroup | ThreadGroup getThreadGroup(String identifier, String threadFactoryName, ThreadGroup parentGroup) {
ConcurrentHashMap<String, ThreadGroup> threadFactoryToThreadGroup = metadataIdentifierToThreadGroups.get(identifier);
if (threadFactoryToThreadGroup == null)
if (metadataIdentifierService.isMet... | java | ThreadGroup getThreadGroup(String identifier, String threadFactoryName, ThreadGroup parentGroup) {
ConcurrentHashMap<String, ThreadGroup> threadFactoryToThreadGroup = metadataIdentifierToThreadGroups.get(identifier);
if (threadFactoryToThreadGroup == null)
if (metadataIdentifierService.isMet... | [
"ThreadGroup",
"getThreadGroup",
"(",
"String",
"identifier",
",",
"String",
"threadFactoryName",
",",
"ThreadGroup",
"parentGroup",
")",
"{",
"ConcurrentHashMap",
"<",
"String",
",",
"ThreadGroup",
">",
"threadFactoryToThreadGroup",
"=",
"metadataIdentifierToThreadGroups",... | Returns the thread group to use for the specified application component.
@param jeeName name of the application component
@param threadFactoryName unique identifier for the thread factory
@param parentGroup parent thread group
@return child thread group for the application component. Null if the application component ... | [
"Returns",
"the",
"thread",
"group",
"to",
"use",
"for",
"the",
"specified",
"application",
"component",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent/src/com/ibm/ws/concurrent/internal/ThreadGroupTracker.java#L107-L123 |
70,380 | OpenLiberty/open-liberty | dev/com.ibm.ws.concurrent/src/com/ibm/ws/concurrent/internal/ThreadGroupTracker.java | ThreadGroupTracker.threadFactoryDestroyed | void threadFactoryDestroyed(String threadFactoryName, ThreadGroup parentGroup) {
Collection<ThreadGroup> groupsToDestroy = new LinkedList<ThreadGroup>();
for (ConcurrentHashMap<String, ThreadGroup> threadFactoryToThreadGroup : metadataIdentifierToThreadGroups.values()) {
ThreadGroup group = ... | java | void threadFactoryDestroyed(String threadFactoryName, ThreadGroup parentGroup) {
Collection<ThreadGroup> groupsToDestroy = new LinkedList<ThreadGroup>();
for (ConcurrentHashMap<String, ThreadGroup> threadFactoryToThreadGroup : metadataIdentifierToThreadGroups.values()) {
ThreadGroup group = ... | [
"void",
"threadFactoryDestroyed",
"(",
"String",
"threadFactoryName",
",",
"ThreadGroup",
"parentGroup",
")",
"{",
"Collection",
"<",
"ThreadGroup",
">",
"groupsToDestroy",
"=",
"new",
"LinkedList",
"<",
"ThreadGroup",
">",
"(",
")",
";",
"for",
"(",
"ConcurrentHa... | Invoke this method when destroying a ManagedThreadFactory in order to interrupt all managed threads
that it created.
@param threadFactoryName unique identifier for the managed thread factory. | [
"Invoke",
"this",
"method",
"when",
"destroying",
"a",
"ManagedThreadFactory",
"in",
"order",
"to",
"interrupt",
"all",
"managed",
"threads",
"that",
"it",
"created",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent/src/com/ibm/ws/concurrent/internal/ThreadGroupTracker.java#L149-L158 |
70,381 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LinkHandler.java | LinkHandler.createRealizationAndState | protected void createRealizationAndState(
MessageProcessor messageProcessor,
TransactionCommon transaction)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"createRealizationAndState",
new Object[] {
messageProcessor,
tr... | java | protected void createRealizationAndState(
MessageProcessor messageProcessor,
TransactionCommon transaction)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"createRealizationAndState",
new Object[] {
messageProcessor,
tr... | [
"protected",
"void",
"createRealizationAndState",
"(",
"MessageProcessor",
"messageProcessor",
",",
"TransactionCommon",
"transaction",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Si... | Cold start version of State Handler creation.
@param messageProcessor
@throws SIResourceException | [
"Cold",
"start",
"version",
"of",
"State",
"Handler",
"creation",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LinkHandler.java#L168-L192 |
70,382 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LinkHandler.java | LinkHandler.reconstitute | protected void reconstitute(
MessageProcessor processor,
HashMap durableSubscriptionsTable,
int startMode) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "reconstitute", new Object[] { processor,
durableSubscriptionsT... | java | protected void reconstitute(
MessageProcessor processor,
HashMap durableSubscriptionsTable,
int startMode) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "reconstitute", new Object[] { processor,
durableSubscriptionsT... | [
"protected",
"void",
"reconstitute",
"(",
"MessageProcessor",
"processor",
",",
"HashMap",
"durableSubscriptionsTable",
",",
"int",
"startMode",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
... | Overide the reconstitute method so we can set the
message processor instance as this will have been done by the
cursor.next method. | [
"Overide",
"the",
"reconstitute",
"method",
"so",
"we",
"can",
"set",
"the",
"message",
"processor",
"instance",
"as",
"this",
"will",
"have",
"been",
"done",
"by",
"the",
"cursor",
".",
"next",
"method",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LinkHandler.java#L901-L916 |
70,383 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/renderkit/html/HtmlRenderKitImpl.java | HtmlRenderKitImpl._put | synchronized private void _put(String componentFamily, String rendererType, Renderer renderer)
{
Map <String,Renderer> familyRendererMap = _renderers.get(componentFamily);
if (familyRendererMap == null)
{
familyRendererMap = new ConcurrentHashMap<String, Renderer>(8, 0.75f, 1);
... | java | synchronized private void _put(String componentFamily, String rendererType, Renderer renderer)
{
Map <String,Renderer> familyRendererMap = _renderers.get(componentFamily);
if (familyRendererMap == null)
{
familyRendererMap = new ConcurrentHashMap<String, Renderer>(8, 0.75f, 1);
... | [
"synchronized",
"private",
"void",
"_put",
"(",
"String",
"componentFamily",
",",
"String",
"rendererType",
",",
"Renderer",
"renderer",
")",
"{",
"Map",
"<",
"String",
",",
"Renderer",
">",
"familyRendererMap",
"=",
"_renderers",
".",
"get",
"(",
"componentFami... | Put the renderer on the double map
@param componentFamily
@param rendererType
@param renderer | [
"Put",
"the",
"renderer",
"on",
"the",
"double",
"map"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/renderkit/html/HtmlRenderKitImpl.java#L202-L223 |
70,384 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/NonSyncHashtable.java | NonSyncHashtable.get | public Object get(Object key) {
NonSyncHashtableEntry tab[] = table;
int hash = key.hashCode();
int index = (hash & 0x7FFFFFFF) % tab.length;
for (NonSyncHashtableEntry e = tab[index]; e != null; e = e.next) {
if ((e.hash == hash) && e.key.equals(key)) {
return e.value;
... | java | public Object get(Object key) {
NonSyncHashtableEntry tab[] = table;
int hash = key.hashCode();
int index = (hash & 0x7FFFFFFF) % tab.length;
for (NonSyncHashtableEntry e = tab[index]; e != null; e = e.next) {
if ((e.hash == hash) && e.key.equals(key)) {
return e.value;
... | [
"public",
"Object",
"get",
"(",
"Object",
"key",
")",
"{",
"NonSyncHashtableEntry",
"tab",
"[",
"]",
"=",
"table",
";",
"int",
"hash",
"=",
"key",
".",
"hashCode",
"(",
")",
";",
"int",
"index",
"=",
"(",
"hash",
"&",
"0x7FFFFFFF",
")",
"%",
"tab",
... | Returns the value to which the specified key is mapped in this hashtable.
@param key a key in the hashtable.
@return The value to which the key is mapped in this hashtable;
<code>null</code> if the key is not mapped to any value in
this hashtable. | [
"Returns",
"the",
"value",
"to",
"which",
"the",
"specified",
"key",
"is",
"mapped",
"in",
"this",
"hashtable",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/NonSyncHashtable.java#L156-L166 |
70,385 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/el/ELText.java | ELText.write | public void write(Writer out, ELContext ctx) throws ELException, IOException
{
out.write(this.literal);
} | java | public void write(Writer out, ELContext ctx) throws ELException, IOException
{
out.write(this.literal);
} | [
"public",
"void",
"write",
"(",
"Writer",
"out",
",",
"ELContext",
"ctx",
")",
"throws",
"ELException",
",",
"IOException",
"{",
"out",
".",
"write",
"(",
"this",
".",
"literal",
")",
";",
"}"
] | Allow this instance to write to the passed Writer, given the ELContext state
@param out
Writer to write to
@param ctx
current ELContext state
@throws ELException
@throws IOException | [
"Allow",
"this",
"instance",
"to",
"write",
"to",
"the",
"passed",
"Writer",
"given",
"the",
"ELContext",
"state"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/el/ELText.java#L409-L412 |
70,386 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/CacheingSearchResults.java | CacheingSearchResults.provideCacheable | public Object provideCacheable(Object key)
{
if (tc.isDebugEnabled())
tc.debug(this,cclass, "provideCacheable", key);
return null;
} | java | public Object provideCacheable(Object key)
{
if (tc.isDebugEnabled())
tc.debug(this,cclass, "provideCacheable", key);
return null;
} | [
"public",
"Object",
"provideCacheable",
"(",
"Object",
"key",
")",
"{",
"if",
"(",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"tc",
".",
"debug",
"(",
"this",
",",
"cclass",
",",
"\"provideCacheable\"",
",",
"key",
")",
";",
"return",
"null",
";",
"}"... | Cache methods do nothing for this type | [
"Cache",
"methods",
"do",
"nothing",
"for",
"this",
"type"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/CacheingSearchResults.java#L67-L72 |
70,387 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/CacheingSearchResults.java | CacheingSearchResults.setMatcher | void setMatcher(ContentMatcher m)
{
if (tc.isEntryEnabled())
tc.entry(
this,cclass,
"setMatcher",
"matcher: " + m + ", hasContent: " + new Boolean(hasContent));
wildMatchers.add(m);
this.hasContent |= m.hasTests();
if (tc.isEntryEnabled())
tc.exit(this,cclass, "s... | java | void setMatcher(ContentMatcher m)
{
if (tc.isEntryEnabled())
tc.entry(
this,cclass,
"setMatcher",
"matcher: " + m + ", hasContent: " + new Boolean(hasContent));
wildMatchers.add(m);
this.hasContent |= m.hasTests();
if (tc.isEntryEnabled())
tc.exit(this,cclass, "s... | [
"void",
"setMatcher",
"(",
"ContentMatcher",
"m",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"tc",
".",
"entry",
"(",
"this",
",",
"cclass",
",",
"\"setMatcher\"",
",",
"\"matcher: \"",
"+",
"m",
"+",
"\", hasContent: \"",
"+",
"new... | Caches a matcher | [
"Caches",
"a",
"matcher"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/CacheingSearchResults.java#L82-L96 |
70,388 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/CacheingSearchResults.java | CacheingSearchResults.getMatchers | ContentMatcher[] getMatchers()
{
if (tc.isEntryEnabled())
tc.entry(this,cclass, "getMatchers");
// ans removed as it is never used !
// Matcher[] ans = new Matcher[wildMatchers.size()];
if (tc.isEntryEnabled())
tc.exit(this,cclass, "getMatchers");
return (ContentMatcher[]) wildMa... | java | ContentMatcher[] getMatchers()
{
if (tc.isEntryEnabled())
tc.entry(this,cclass, "getMatchers");
// ans removed as it is never used !
// Matcher[] ans = new Matcher[wildMatchers.size()];
if (tc.isEntryEnabled())
tc.exit(this,cclass, "getMatchers");
return (ContentMatcher[]) wildMa... | [
"ContentMatcher",
"[",
"]",
"getMatchers",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"tc",
".",
"entry",
"(",
"this",
",",
"cclass",
",",
"\"getMatchers\"",
")",
";",
"// ans removed as it is never used !",
"// Matcher[] ans = new... | Returns the Matcher cache as an array | [
"Returns",
"the",
"Matcher",
"cache",
"as",
"an",
"array"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/CacheingSearchResults.java#L107-L119 |
70,389 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/DummyFileObjectStore.java | DummyFileObjectStore.get | public ManagedObject get(Token token)
throws ObjectManagerException
{
final String methodName = "get";
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) {
trace.entry(this,
cclass,
methodName,
... | java | public ManagedObject get(Token token)
throws ObjectManagerException
{
final String methodName = "get";
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) {
trace.entry(this,
cclass,
methodName,
... | [
"public",
"ManagedObject",
"get",
"(",
"Token",
"token",
")",
"throws",
"ObjectManagerException",
"{",
"final",
"String",
"methodName",
"=",
"\"get\"",
";",
"if",
"(",
"Tracing",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"trace",
".",
"isEntryEnabled",
"(",
... | Always throws InMemoryObjectNotAvailableException.
@throws InMemoryObjectNotAvailableException because all ManagedObjects are unavailable.
@see com.ibm.ws.objectManager.ObjectStore#get(com.ibm.ws.objectManager.Token) | [
"Always",
"throws",
"InMemoryObjectNotAvailableException",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/DummyFileObjectStore.java#L93-L108 |
70,390 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/wsspi/http/logging/LogUtils.java | LogUtils.convertNCSAFormat | public static AccessLog.Format convertNCSAFormat(String name) {
if (null == name) {
return AccessLog.Format.COMMON;
}
AccessLog.Format format = AccessLog.Format.COMMON;
String test = name.trim().toLowerCase();
if ("combined".equals(test)) {
format = Access... | java | public static AccessLog.Format convertNCSAFormat(String name) {
if (null == name) {
return AccessLog.Format.COMMON;
}
AccessLog.Format format = AccessLog.Format.COMMON;
String test = name.trim().toLowerCase();
if ("combined".equals(test)) {
format = Access... | [
"public",
"static",
"AccessLog",
".",
"Format",
"convertNCSAFormat",
"(",
"String",
"name",
")",
"{",
"if",
"(",
"null",
"==",
"name",
")",
"{",
"return",
"AccessLog",
".",
"Format",
".",
"COMMON",
";",
"}",
"AccessLog",
".",
"Format",
"format",
"=",
"Ac... | Convert the input string into the appropriate Format setting.
@param name
@return AccessLog.Format | [
"Convert",
"the",
"input",
"string",
"into",
"the",
"appropriate",
"Format",
"setting",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/wsspi/http/logging/LogUtils.java#L33-L43 |
70,391 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/wsspi/http/logging/LogUtils.java | LogUtils.convertDebugLevel | public static DebugLog.Level convertDebugLevel(String name) {
if (null == name) {
return DebugLog.Level.NONE;
}
// WAS panels have expanded names for some of these so we're doing
// a series of checks instead of the enum.valueOf() option
// default to the WARNING lev... | java | public static DebugLog.Level convertDebugLevel(String name) {
if (null == name) {
return DebugLog.Level.NONE;
}
// WAS panels have expanded names for some of these so we're doing
// a series of checks instead of the enum.valueOf() option
// default to the WARNING lev... | [
"public",
"static",
"DebugLog",
".",
"Level",
"convertDebugLevel",
"(",
"String",
"name",
")",
"{",
"if",
"(",
"null",
"==",
"name",
")",
"{",
"return",
"DebugLog",
".",
"Level",
".",
"NONE",
";",
"}",
"// WAS panels have expanded names for some of these so we're ... | Convert the input string into the appropriate debug log level setting.
@param name
@return DebugLog.Level | [
"Convert",
"the",
"input",
"string",
"into",
"the",
"appropriate",
"debug",
"log",
"level",
"setting",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/wsspi/http/logging/LogUtils.java#L51-L73 |
70,392 | OpenLiberty/open-liberty | dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/management/JaxbUnmarshaller.java | JaxbUnmarshaller.findRootCause | private static Throwable findRootCause(Throwable t) {
Throwable root = t;
Throwable cause = root.getCause();
while (cause != null) {
root = cause;
cause = root.getCause();
}
return root;
} | java | private static Throwable findRootCause(Throwable t) {
Throwable root = t;
Throwable cause = root.getCause();
while (cause != null) {
root = cause;
cause = root.getCause();
}
return root;
} | [
"private",
"static",
"Throwable",
"findRootCause",
"(",
"Throwable",
"t",
")",
"{",
"Throwable",
"root",
"=",
"t",
";",
"Throwable",
"cause",
"=",
"root",
".",
"getCause",
"(",
")",
";",
"while",
"(",
"cause",
"!=",
"null",
")",
"{",
"root",
"=",
"caus... | Find root cause of a specified Throwable object.
@param t is the Throwable object.
@return the root cause object. | [
"Find",
"root",
"cause",
"of",
"a",
"specified",
"Throwable",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/management/JaxbUnmarshaller.java#L188-L196 |
70,393 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/csi/EJBApplicationMetaData.java | EJBApplicationMetaData.setCheckConfig | public void setCheckConfig(boolean checkConfig) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "setCheckConfig: " + checkConfig);
ivCheckConfig = checkConfig;
} | java | public void setCheckConfig(boolean checkConfig) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "setCheckConfig: " + checkConfig);
ivCheckConfig = checkConfig;
} | [
"public",
"void",
"setCheckConfig",
"(",
"boolean",
"checkConfig",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"setCheckConfig: \"",
"+",... | F743-33178 | [
"F743",
"-",
"33178"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/csi/EJBApplicationMetaData.java#L367-L371 |
70,394 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/csi/EJBApplicationMetaData.java | EJBApplicationMetaData.addSingleton | public void addSingleton(BeanMetaData bmd, boolean startup, Set<String> dependsOnLinks) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "addSingleton: " + bmd.j2eeName + " (startup=" + startup + ", dependsOn=" + (dependsOnLinks != null) + ")");
if (startup) {... | java | public void addSingleton(BeanMetaData bmd, boolean startup, Set<String> dependsOnLinks) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "addSingleton: " + bmd.j2eeName + " (startup=" + startup + ", dependsOn=" + (dependsOnLinks != null) + ")");
if (startup) {... | [
"public",
"void",
"addSingleton",
"(",
"BeanMetaData",
"bmd",
",",
"boolean",
"startup",
",",
"Set",
"<",
"String",
">",
"dependsOnLinks",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")... | Adds a singleton bean belonging to this application.
@param bmd
the bean metadata
@param startup
true if this is a startup singleton bean
@param dependsOnLinks
list of dependency EJB links | [
"Adds",
"a",
"singleton",
"bean",
"belonging",
"to",
"this",
"application",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/csi/EJBApplicationMetaData.java#L408-L425 |
70,395 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/csi/EJBApplicationMetaData.java | EJBApplicationMetaData.checkIfCreateNonPersistentTimerAllowed | public synchronized void checkIfCreateNonPersistentTimerAllowed(EJBModuleMetaDataImpl mmd) {
if (ivStopping) {
throw new EJBStoppedException(ivName);
}
if (mmd != null && mmd.ivStopping) {
throw new EJBStoppedException(mmd.getJ2EEName().toString());
}
} | java | public synchronized void checkIfCreateNonPersistentTimerAllowed(EJBModuleMetaDataImpl mmd) {
if (ivStopping) {
throw new EJBStoppedException(ivName);
}
if (mmd != null && mmd.ivStopping) {
throw new EJBStoppedException(mmd.getJ2EEName().toString());
}
} | [
"public",
"synchronized",
"void",
"checkIfCreateNonPersistentTimerAllowed",
"(",
"EJBModuleMetaDataImpl",
"mmd",
")",
"{",
"if",
"(",
"ivStopping",
")",
"{",
"throw",
"new",
"EJBStoppedException",
"(",
"ivName",
")",
";",
"}",
"if",
"(",
"mmd",
"!=",
"null",
"&&... | Prevent non-persistent timers from being created after the application or module has
begun stopping.
@throws EJBStoppedException
if the application or module is stopping | [
"Prevent",
"non",
"-",
"persistent",
"timers",
"from",
"being",
"created",
"after",
"the",
"application",
"or",
"module",
"has",
"begun",
"stopping",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/csi/EJBApplicationMetaData.java#L570-L578 |
70,396 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/csi/EJBApplicationMetaData.java | EJBApplicationMetaData.finishStarting | private void finishStarting() throws RuntimeWarning {
boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "finishStarting: " + ivName);
// NOTE - Any state that is cleared here should also be cleared in
// stoppingModu... | java | private void finishStarting() throws RuntimeWarning {
boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "finishStarting: " + ivName);
// NOTE - Any state that is cleared here should also be cleared in
// stoppingModu... | [
"private",
"void",
"finishStarting",
"(",
")",
"throws",
"RuntimeWarning",
"{",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"en... | Notification that the application is about to finish starting. Performs processing of
singletons after all modules have been started but before the application has
finished starting. Module references are resolved, and startup singletons are
started.
@throws RuntimeWarning
if a dependency reference cannot be resolved ... | [
"Notification",
"that",
"the",
"application",
"is",
"about",
"to",
"finish",
"starting",
".",
"Performs",
"processing",
"of",
"singletons",
"after",
"all",
"modules",
"have",
"been",
"started",
"but",
"before",
"the",
"application",
"has",
"finished",
"starting",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/csi/EJBApplicationMetaData.java#L621-L647 |
70,397 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/csi/EJBApplicationMetaData.java | EJBApplicationMetaData.resolveEJBLink | private HomeRecord resolveEJBLink(J2EEName source, String link) throws RuntimeWarning {
boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "resolveEJBLink: " + link);
String module = source.getModule();
String compone... | java | private HomeRecord resolveEJBLink(J2EEName source, String link) throws RuntimeWarning {
boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "resolveEJBLink: " + link);
String module = source.getModule();
String compone... | [
"private",
"HomeRecord",
"resolveEJBLink",
"(",
"J2EEName",
"source",
",",
"String",
"link",
")",
"throws",
"RuntimeWarning",
"{",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
"tc",
".",
... | Resolves a dependency reference link to another EJB.
@param source
the dependent bean
@param link
the dependency bean using EJB link syntax
@return the resulting home record
@throws RuntimeWarning
if the link cannot be resolved | [
"Resolves",
"a",
"dependency",
"reference",
"link",
"to",
"another",
"EJB",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/csi/EJBApplicationMetaData.java#L732-L763 |
70,398 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/csi/EJBApplicationMetaData.java | EJBApplicationMetaData.resolveDependencies | private void resolveDependencies() throws RuntimeWarning {
// d684950
if (EJSPlatformHelper.isZOSCRA()) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "resolveDependencies: skipped in adjunct process");
return;
}
/... | java | private void resolveDependencies() throws RuntimeWarning {
// d684950
if (EJSPlatformHelper.isZOSCRA()) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "resolveDependencies: skipped in adjunct process");
return;
}
/... | [
"private",
"void",
"resolveDependencies",
"(",
")",
"throws",
"RuntimeWarning",
"{",
"// d684950",
"if",
"(",
"EJSPlatformHelper",
".",
"isZOSCRA",
"(",
")",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebug... | Resolves and verifies the singleton dependency links.
@throws RuntimeWarning
if verification fails | [
"Resolves",
"and",
"verifies",
"the",
"singleton",
"dependency",
"links",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/csi/EJBApplicationMetaData.java#L771-L797 |
70,399 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/csi/EJBApplicationMetaData.java | EJBApplicationMetaData.resolveBeanDependencies | private void resolveBeanDependencies(BeanMetaData bmd, Set<BeanMetaData> used) throws RuntimeWarning {
boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "resolveBeanDependencies: " + bmd.j2eeName);
// F7434950.CodRev - If an... | java | private void resolveBeanDependencies(BeanMetaData bmd, Set<BeanMetaData> used) throws RuntimeWarning {
boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "resolveBeanDependencies: " + bmd.j2eeName);
// F7434950.CodRev - If an... | [
"private",
"void",
"resolveBeanDependencies",
"(",
"BeanMetaData",
"bmd",
",",
"Set",
"<",
"BeanMetaData",
">",
"used",
")",
"throws",
"RuntimeWarning",
"{",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"is... | Verifies that the specified bean only depends on other singletons and that it does
not depend on itself. This method calls itself recursively to process all
dependencies.
@param bmd
the bean to check
@param used
the set of dependent beans that are already being processed
@param checked
the set of beans that have alrea... | [
"Verifies",
"that",
"the",
"specified",
"bean",
"only",
"depends",
"on",
"other",
"singletons",
"and",
"that",
"it",
"does",
"not",
"depend",
"on",
"itself",
".",
"This",
"method",
"calls",
"itself",
"recursively",
"to",
"process",
"all",
"dependencies",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/csi/EJBApplicationMetaData.java#L813-L866 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.