_id stringlengths 2 7 | title stringlengths 3 140 | partition stringclasses 3
values | text stringlengths 73 34.1k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
q153800 | AbstractJspModC.isSearchClasspathForResources | train | public boolean isSearchClasspathForResources() {
if (logger!=null)
logger.logp(Level.INFO, CLASS_NAME,"isSearchClasspathForResources", "searchClasspathForResources: {"+searchClasspathForResources+"]");
return searchClasspathForResources;
} | java | {
"resource": ""
} |
q153801 | AuthenticatorImpl.authenticate | train | @Override
public Subject authenticate(String assertedUser) throws AuthenticationException {
AuthenticateUserHelper authHelper = new AuthenticateUserHelper();
return authHelper.authenticateUser(authenticationService, assertedUser, jaasEntryName);
} | java | {
"resource": ""
} |
q153802 | UIComponentELTagBase.release | train | public void release()
{
super.release();
_forceId = null;
_forceIdIndex = null;
_value = null;
_converter = null;
_javascriptLocation = null;
_imageLocation = null;
_styleLocation = null;
} | java | {
"resource": ""
} |
q153803 | UIComponentELTagBase.setIntegerProperty | train | protected void setIntegerProperty(UIComponent component, String propName,
ValueExpression value)
{
UIComponentELTagUtils.setIntegerProperty(component, propName, value);
} | java | {
"resource": ""
} |
q153804 | ConsumerDispatcher.giveMessageToConsumer | train | private boolean giveMessageToConsumer(
SIMPMessage msg,
TransactionCommon tran,
DispatchableConsumerPoint consumerPoint,
boolean storedByCD)
{
... | java | {
"resource": ""
} |
q153805 | ConsumerDispatcher.put | train | @Override
public boolean put(
SIMPMessage msg,
TransactionCommon tran,
InputHandlerStore inputHandlerStore,
boolean storedByIH) throws SIDiscriminatorSyntaxException, SIResourceException
{
if (TraceComponent.isAn... | java | {
"resource": ""
} |
q153806 | ConsumerDispatcher.isDurable | train | @Override
public boolean isDurable()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "isDurable");
final boolean dur = (_isPubSub && dispatcherState.isDurable());
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
... | java | {
"resource": ""
} |
q153807 | ConsumerDispatcher.newReadyConsumer | train | @Override
public long newReadyConsumer(JSConsumerKey consumerKey, boolean bSelector)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "newReadyConsumer",
new Object[] { consumerKey, Boolean.valueOf(bSelector) });
// If this is... | java | {
"resource": ""
} |
q153808 | ConsumerDispatcher.removeReadyConsumer | train | @Override
public void removeReadyConsumer(JSConsumerKey consumerKey, boolean bSelector)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeReadyConsumer",
new Object[] { consumerKey, Boolean.valueOf(bSelector) });
if (co... | java | {
"resource": ""
} |
q153809 | ConsumerDispatcher.initialiseTransactionSet | train | private boolean initialiseTransactionSet() throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "initialiseTransactionSet");
boolean suspend = false;
// Always start with an empty set.
transactionSet = new HashSet... | java | {
"resource": ""
} |
q153810 | ConsumerDispatcher.detachConsumerPoint | train | @Override
public void detachConsumerPoint(ConsumerKey consumerKey) throws SIResourceException, SINotPossibleInCurrentConfigurationException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "detachConsumerPoint", consumerKey);
// if p2p then we must... | java | {
"resource": ""
} |
q153811 | ConsumerDispatcher.createConsumerKey | train | protected ConsumerKey createConsumerKey(
DispatchableConsumerPoint consumerPoint,
SelectionCriteria criteria,
SIBUuid12 connectionUuid,
boolean ... | java | {
"resource": ""
} |
q153812 | ConsumerDispatcher.hasConsumersAttached | train | public boolean hasConsumersAttached()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "hasConsumersAttached");
//Does the consumer list have any elements? If so return true, else false
boolean hasConsumersAttached = (getConsumerCount() > 0);
... | java | {
"resource": ""
} |
q153813 | ConsumerDispatcher.getConsumerPoints | train | @Override
public List<DispatchableKey> getConsumerPoints()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getConsumerPoints");
SibTr.exit(tc, "getConsumerPoints", consumerPoints);
}
return (List<DispatchableKey>) cons... | java | {
"resource": ""
} |
q153814 | ConsumerDispatcher.deleteConsumerDispatcher | train | public void deleteConsumerDispatcher(
boolean callProxyCode)
throws SIRollbackException, SIConnectionLostException, SIResourceException,
SIErrorException, SINotPossibleInCurrentConfigurationException
//throws SIResourceException, SIN... | java | {
"resource": ""
} |
q153815 | ConsumerDispatcher.setIsInMatchSpace | train | public void setIsInMatchSpace(boolean inMatchSpace)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setIsInMatchSpace", Boolean.valueOf(inMatchSpace));
isInMatchSpace = inMatchSpace;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled... | java | {
"resource": ""
} |
q153816 | ConsumerDispatcher.isInMatchSpace | train | public boolean isInMatchSpace()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "isInMatchSpace");
SibTr.exit(tc, "isInMatchSpace", Boolean.valueOf(isInMatchSpace));
}
return isInMatchSpace;
} | java | {
"resource": ""
} |
q153817 | ConsumerDispatcher.isLocked | train | @Override
public boolean isLocked()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "isLocked");
final boolean isLocked = (state == SIMPState.LOCKED);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(... | java | {
"resource": ""
} |
q153818 | ConsumerDispatcher.getReferenceStream | train | public ReferenceStream getReferenceStream()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getReferenceStream");
SibTr.exit(tc, "getReferenceStream", subscriptionItemStream);
}
return subscriptionItemStream;
} | java | {
"resource": ""
} |
q153819 | ConsumerDispatcher.getItemStream | train | public ItemStream getItemStream()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getItemStream");
SibTr.exit(tc, "getItemStream", itemStream);
}
return itemStream;
} | java | {
"resource": ""
} |
q153820 | ConsumerDispatcher.getReceiveAllowedThread | train | private synchronized ReceiveAllowedThread getReceiveAllowedThread(DestinationHandler destinationHandler)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getReceiveAllowedThread", destinationHandler);
if (_receiveAllowedThread == null)
{
... | java | {
"resource": ""
} |
q153821 | ConsumerDispatcher.deleteReceiveAllowedThread | train | private synchronized boolean deleteReceiveAllowedThread()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "deleteReceiveAllowedThread");
if (_receiveAllowedThread.isMarkedForUpdate())
{
if (TraceComponent.isAnyTracingEnabled() && tc... | java | {
"resource": ""
} |
q153822 | ConsumerDispatcher.searchMatchSpace | train | private void searchMatchSpace(
SIMPMessage msg,
MessageProcessorSearchResults searchResults)
throws SIDiscriminatorSyntaxException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entr... | java | {
"resource": ""
} |
q153823 | ConfigElement.addAttribute | train | public void addAttribute(String name, String value) {
checkType(name, String.class);
attributes.put(name, value);
} | java | {
"resource": ""
} |
q153824 | ConfigElement.addCollectionAttribute | train | public void addCollectionAttribute(String name, Object value) {
List<Object> attributeValues = getCollectionAttribute(name);
attributeValues.add(value);
} | java | {
"resource": ""
} |
q153825 | ModuleMetaDataAccessorImpl.beginContext | train | public Object beginContext(Map<URL, ModuleMetaData> mmdi) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
if (mmdi != null && !mmdi.isEmpty())
Tr.debug(tc, "begin context " + mmdi.values().iterator().next().getJ2EEName());
else
Tr.debu... | java | {
"resource": ""
} |
q153826 | CertMappingKeyManager.setCustomProperties | train | public void setCustomProperties(Properties customProperties) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "setCustomProperties", customProperties);
this.customProperties = customProperties;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEna... | java | {
"resource": ""
} |
q153827 | CertMappingKeyManager.getProperty | train | public String getProperty(final String name) {
String property = null;
if (customProperties != null) {
property = customProperties.getProperty(name);
}
if (property == null) {
property = SSLConfigManager.getInstance().getGlobalProperty(name);
}
r... | java | {
"resource": ""
} |
q153828 | CertMappingKeyManager.parseSSLCertFile | train | private void parseSSLCertFile() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "parseSSLCertFile");
}
String fileName = null;
String lineRead = null;
BufferedReader bufferReader = null;
// Obtain Default Cert Label
... | java | {
"resource": ""
} |
q153829 | CertMappingKeyManager.extractSSLServerCert | train | private void extractSSLServerCert(String lineRead) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "extractSSLServerCert: " + lineRead);
}
String tmpString;
String certLabelString;
String ipAddressString;
// Verify if string... | java | {
"resource": ""
} |
q153830 | MessageRouterConfigurator.bundleChanged | train | @Override
public void bundleChanged(BundleEvent event) {
switch (event.getType()) {
case BundleEvent.INSTALLED:
processBundle(event.getBundle());
break;
case BundleEvent.UNINSTALLED:
// TODO: remove entries? how do i know if this bundl... | java | {
"resource": ""
} |
q153831 | MessageRouterConfigurator.setWsLogHandler | train | protected void setWsLogHandler(ServiceReference<WsLogHandler> ref) {
getMessageRouter().setWsLogHandler((String) ref.getProperty("id"), bundleContext.getService(ref));
} | java | {
"resource": ""
} |
q153832 | MessageRouterConfigurator.processInitialWsLogHandlerServices | train | @SuppressWarnings("unchecked")
protected void processInitialWsLogHandlerServices() throws InvalidSyntaxException {
ServiceReference<WsLogHandler>[] servRefs = (ServiceReference<WsLogHandler>[])
bundleContext.getServiceReferences(WsLogHandler.class.getName(), null);
if (servR... | java | {
"resource": ""
} |
q153833 | MessageRouterConfigurator.processBundle | train | protected void processBundle(Bundle bundle) {
Properties props = readMessageRouterProps(bundle);
if (props != null) {
msgRouter.modified(props);
}
} | java | {
"resource": ""
} |
q153834 | MessageRouterConfigurator.readMessageRouterProps | train | protected Properties readMessageRouterProps(Bundle bundle) {
Properties props = null;
// Use getEntry to load the file instead of getResource, since
// getResource will cause the bundle to resolve itself, which
// we don't want to do.
final String mrpFileName = "/META-INF/Messa... | java | {
"resource": ""
} |
q153835 | MessageRouterConfigurator.stop | train | public void stop() {
if (msgRouter != null) {
TrConfigurator.unsetMessageRouter(msgRouter);
}
if (configListener != null) {
configListener.unregister();
}
} | java | {
"resource": ""
} |
q153836 | MessageRouterConfigurator.updateMessageListForHandler | train | public void updateMessageListForHandler(String msgIds, String handlerId) {
if (msgIds == null) {
return; // Should never happen, but avoid NPEs
}
String[] msgStr = msgIds.split(",");
ArrayList<String> newMsgList = new ArrayList<String>(Arrays.asList(msgStr));
newMsgL... | java | {
"resource": ""
} |
q153837 | ResultSetDataModel.getRowData | train | @Override
public Map<String,Object> getRowData()
{
if (_resultSet == null)
{
return null;
}
else if (!isRowAvailable())
{
throw new IllegalArgumentException(
"the requested row is not available in the ResultSet - you have scrolled b... | java | {
"resource": ""
} |
q153838 | ConcurrentHashMap.get | train | public final Object get(Object key)
{
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this, cclass,
"get",
"key=" + key + "Object");
java.util.Map subMap = getSubMap(key);
Object returnValue;
synchr... | java | {
"resource": ""
} |
q153839 | ConcurrentHashMap.putIfAbsent | train | public final Object putIfAbsent(Object key,
Object value)
{
Object foundObject = null;
java.util.Map subMap = getSubMap(key);
synchronized (subMap) {
foundObject = subMap.get(key);
if (foundObject == null)
subMap.put... | java | {
"resource": ""
} |
q153840 | ConcurrentHashMap.removeOne | train | public final Object removeOne()
{
// Avoid locking the whole Map by looking at the subMaps indivdually starting at a
// random point in the sequence.
int index = new java.util.Random(Thread.currentThread().hashCode()).nextInt(subMaps.length);
int firstIndex = index;
Object re... | java | {
"resource": ""
} |
q153841 | ConcurrentHashMap.clear | train | public final long clear(long numberToClear)
{
long numberRemainingToClear = numberToClear;
// Avoid locking the Map by looking at the subMaps indivdually starting at a
// random point in the sequence, so as not to disturb the distribution.
int index = new java.util.Random(Thread.curr... | java | {
"resource": ""
} |
q153842 | ConcurrentHashMap.size | train | public int size()
{
int count = 0;
if (subMaps != null)
{
for (int i = 0; i < subMaps.length; i++)
{
count += subMaps[i].size();
}
}
return count;
} | java | {
"resource": ""
} |
q153843 | CDIEJBManagedObjectFactoryImpl.createContext | train | @Override
public ManagedObjectContext createContext() {
Bean<T> bean = null;
EjbDescriptor<T> ejbDescriptor = getEjbDescriptor();
//in the case of an MDB, the bean should be null, in which case the creational context will be non-contextual
if (!ejbDescriptor.isMessageDriven()) {
... | java | {
"resource": ""
} |
q153844 | CDIEJBManagedObjectFactoryImpl.getInjectionTarget | train | @Override
protected InjectionTarget<T> getInjectionTarget(boolean nonContextual) {
EjbDescriptor<T> ejbDescriptor = getEjbDescriptor();
InjectionTarget<T> injectionTarget = getBeanManager().createInjectionTarget(ejbDescriptor);
return injectionTarget;
} | java | {
"resource": ""
} |
q153845 | CDIEJBManagedObjectFactoryImpl.getCreationalContext | train | @Override
protected WeldCreationalContext<T> getCreationalContext(ManagedObjectInvocationContext<T> invocationContext) {
ManagedObjectContext managedObjectContext = invocationContext.getManagedObjectContext();
@SuppressWarnings("unchecked")
WeldCreationalContext<T> creationalContext = manag... | java | {
"resource": ""
} |
q153846 | ResolutionReportHelper.startHelper | train | public void startHelper(BundleContext bContext) {
_resolvingThread = Thread.currentThread().getId();
ResolverHookFactoryReg = bContext.registerService(ResolverHookFactory.class, this, null);
} | java | {
"resource": ""
} |
q153847 | ResolutionReportHelper.getResolutionReportString | train | public String getResolutionReportString() {
ResolutionReport report = _reportRef.get();
StringBuilder reportMessage = null;
if (report != null) {
Map<Resource, List<ResolutionReport.Entry>> unresolved;
reportMessage = new StringBuilder().append("Resolver report:\n");
... | java | {
"resource": ""
} |
q153848 | GBSDeleteHeight.balance | train | void balance(
DeleteStack stack,
int ntop)
{
DeleteStack.HeightNote xx = stack.heightNote();
ntop--;
GBSNode bnext = stack.node(ntop + 1);/* Set initial "next" point */
for (int i = ntop; i > 0; i--) /* Work UP through the balance points */
{
xx.depthDecrease = ... | java | {
"resource": ""
} |
q153849 | GBSDeleteHeight.reBalance | train | private void reBalance(
DeleteStack.HeightNote xx,
GBSNode bparent,
GBSNode bpoint,
GBSNode bnext)
{
xx.bnew = bpoint; /* Default for next time */
if (bpoint.leftChild() == bnext)/* We deleted from left side ... | java | {
"resource": ""
} |
q153850 | AnnotationHelper.inject | train | public ManagedObject inject(Object obj, boolean delayPostConstruct) throws RuntimeException {
ManagedObject mo = null;
Throwable th = null;
try {
if (wrapper != null) {
if (!delayPostConstruct) {
// Post construct before returning
... | java | {
"resource": ""
} |
q153851 | AnnotationHelper.inject | train | public ManagedObject inject(Class<?> Klass, boolean delayPostConstruct) {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE))
logger.entering(CLASS_NAME, "inject(Class<?>,boolean)", "class = " + Klass.getName() + ", delayPostConstruct = " + delayPostConstruct)... | java | {
"resource": ""
} |
q153852 | LocalisationManager.localQueuePointRemoved | train | public void localQueuePointRemoved(SIBUuid8 messagingEngineUuid)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"localQueuePointRemoved",
new Object[] {messagingEngineUuid});
synchronized(_queuePointsGuessSet)
{
_queuePointsGuessSet... | java | {
"resource": ""
} |
q153853 | LocalisationManager.clearLocalisingUuidsSet | train | public void clearLocalisingUuidsSet()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "clearLocalisingUuidsSet");
if (_queuePointsGuessSet != null)
{
synchronized (_queuePointsGuessSet)
{
_queuePointsGuessSet.clear();
}
}
if (_re... | java | {
"resource": ""
} |
q153854 | LocalisationManager.assignQueuePointOutputHandler | train | public void assignQueuePointOutputHandler(
OutputHandler outputHandler,
SIBUuid8 messagingEngineUuid)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"assignQueuePointOutputHandler",
new Object[] { outputHandler, messagingEngineUuid });
... | java | {
"resource": ""
} |
q153855 | LocalisationManager.updateQueuePointOutputHandler | train | public void updateQueuePointOutputHandler(
SIBUuid8 newLocalisingMEUuid,
OutputHandler outputHandler,
SIBUuid8 existingUuid)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"updateQueuePointOutputHandler",
new Object[] { newLocalisingME... | java | {
"resource": ""
} |
q153856 | DatabaseHashMap.doesIndexExists | train | private boolean doesIndexExists(Connection con, String indexName) {
if (usingDB2) {
if (usingAS400DB2) {
return doesIndexExistsiSeries(con, indexName);
}
return doesIndexExistsDistributed(con, indexName);
} else
return false;
} | java | {
"resource": ""
} |
q153857 | Version.compareTo | train | public int compareTo(Version v) {
if (this == v)
return 0;
int diff = major - v.major;
if (diff != 0)
return diff;
diff = minor - v.minor;
if (diff != 0)
return diff;
diff = micro - v.micro;
if (diff != 0)
return dif... | java | {
"resource": ""
} |
q153858 | Version.createVersion | train | public static Version createVersion(String vStr) {
if (vStr == null || vStr.isEmpty())
return null;
int major = 0;
int minor = 0;
int micro = 0;
String qualifier = "";
String v[] = vStr.split("\\.", 4);
try {
if (v.length > 0) {
... | java | {
"resource": ""
} |
q153859 | FileLockImpl.tryLock | train | public boolean tryLock()
{
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this
, cclass
, "tryLock"
);
boolean isLocked = true;
if (fileLock == null) // Did we get the lock?
... | java | {
"resource": ""
} |
q153860 | FileLockImpl.release | train | public final void release()
throws java.io.IOException {
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
cclass,
"release");
// Give up the lock.
if (fileLock != null)
file... | java | {
"resource": ""
} |
q153861 | ProducerProperties.setInPriorityOverride | train | public void setInPriorityOverride(Integer pri) {
// Check whether changes have been made.
if ( ((inPriOverride == null) && (pri != null)) ||
((inPriOverride != null) && (!inPriOverride.equals(pri)))
) {
inPriOverride = pri;
recalcOutPriority();
}
} | java | {
"resource": ""
} |
q153862 | ProducerProperties.setInTTL_Override | train | public void setInTTL_Override(Long ttl) {
// Check whether changes have been made.
if ( ((inTTL_Override == null) && (ttl != null)) ||
((inTTL_Override != null) && (!inTTL_Override.equals(ttl)))
) {
inTTL_Override = ttl;
recalcOutTTL();
}
} | java | {
"resource": ""
} |
q153863 | ProducerProperties.setInTTL | train | public void setInTTL(long ttl) throws JMSException {
if (inTTL != ttl) {
// Now verify that the value for TTL is valid.
if (ttl < 0 || ttl > MfpConstants.MAX_TIME_TO_LIVE) {
throw (JMSException) JmsErrorUtils.newThrowable(
JMSException.class,
"INVALID_VALUE_CWSIA0301",
... | java | {
"resource": ""
} |
q153864 | ProducerProperties.recalcOutDeliveryMode | train | private void recalcOutDeliveryMode() {
// Changes are required.
if (inDmOverride.equals(ApiJmsConstants.DELIVERY_MODE_PERSISTENT)) {
outboundDeliveryMode = PersistenceType.PERSISTENT;
}
else if (inDmOverride.equals(ApiJmsConstants.DELIVERY_MODE_NONPERSISTENT)) {
outboundDeliveryMode = Persis... | java | {
"resource": ""
} |
q153865 | TranManagerImpl.enlist | train | public boolean enlist(XAResource xaRes, int recoveryId)
throws RollbackException, IllegalStateException, SystemException
{
if (tc.isEntryEnabled())
Tr.entry(tc, "enlist", new Object[] { xaRes, recoveryId });
if (tx == null)
{
final String msg = "N... | java | {
"resource": ""
} |
q153866 | H2ConnectionSettings.processUpgradeHeaderSettings | train | protected void processUpgradeHeaderSettings(String settings) throws Http2Exception {
if (settings != null) {
byte[] decoded = decode(settings);
if (decoded != null) {
FrameSettings settingsFrame = new FrameSettings(0, decoded.length, (byte) 0x0, false, FrameDirection.REA... | java | {
"resource": ""
} |
q153867 | H2ConnectionSettings.updateSettings | train | public void updateSettings(FrameSettings settings) {
if (settings.getHeaderTableSize() != -1) {
headerTableSize = settings.getHeaderTableSize();
}
if (settings.getEnablePush() != -1) {
enablePush = settings.getEnablePush();
}
if (settings.getMaxConcurrentS... | java | {
"resource": ""
} |
q153868 | TCPConnectRequestContextFactory.createTCPConnectRequestContext | train | public TCPConnectRequestContext createTCPConnectRequestContext(String _localHostName, int _localPort, String _remoteHostName, int _remotePort, int _timeout) {
return new TCPConnectRequestContextImpl(_localHostName, _localPort, _remoteHostName, _remotePort, _timeout);
} | java | {
"resource": ""
} |
q153869 | TCPConnectRequestContextFactory.createTCPConnectRequestContext | train | public TCPConnectRequestContext createTCPConnectRequestContext(String _remoteHostName, int _remotePort, int _timeout) {
return new TCPConnectRequestContextImpl(_remoteHostName, _remotePort, _timeout);
} | java | {
"resource": ""
} |
q153870 | AbstractJaxWsWebEndpoint.customizeWSDLGetInterceptor | train | protected void customizeWSDLGetInterceptor(Class<?> implBeanClass) {
String wsdlLocation = endpointInfo.getWsdlLocation();
URL wsdlUrl = JaxWsUtils.resolve(wsdlLocation, jaxWsModuleMetaData.getModuleContainer());
boolean wsdlLocationExisted = true;
boolean wsdlLocationEmpty = StringUtils... | java | {
"resource": ""
} |
q153871 | ConcurrentObjectPool.get | train | public T get() {
T object;
while (true) {
// 1. get the next free object
int p = m_put.get();
int g = m_get.get();
if (g >= p) {
// get index hits the put index, implying empty pool
if (p >= LIMIT) {
// ... | java | {
"resource": ""
} |
q153872 | ConcurrentObjectPool.put | train | public boolean put(T object) {
if (object == null) {
throw new IllegalArgumentException("returning null object to pool");
}
while (true) {
// 1. get the index of the next free cell
int g = m_get.get();
int p = m_put.get();
if (p >= LIM... | java | {
"resource": ""
} |
q153873 | SSLChannel.createSSLHandshakeErrorTracker | train | private SSLHandshakeErrorTracker createSSLHandshakeErrorTracker(ChannelData inputData) {
Map<Object, Object> bag = inputData.getPropertyBag();
// Even though they are of type Boolean and Long in the metatype, they are
// going to be a String in the property bag (not sure why though).
boo... | java | {
"resource": ""
} |
q153874 | SSLChannel.getSSLContextForInboundLink | train | public SSLContext getSSLContextForInboundLink(SSLConnectionLink link, VirtualConnection vc) throws ChannelException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "getSSLContextForInboundLink");
}
SSLContext context = getSSLContextForLink(vc, this.... | java | {
"resource": ""
} |
q153875 | SSLChannel.getSSLContextForOutboundLink | train | public SSLContext getSSLContextForOutboundLink(SSLConnectionLink link, VirtualConnection vc, Object address) throws ChannelException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "getSSLContextForOutboundLink");
}
TCPConnectRequestContext tcpReques... | java | {
"resource": ""
} |
q153876 | SSLChannel.getTimeoutValueInSSLClosingHandshake | train | public int getTimeoutValueInSSLClosingHandshake() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "timeoutValueInSSLClosingHandshake : " + this.timeoutValueInSSLClosingHandshake);
}
return this.timeoutValueInSSLClosingHandshake;
} | java | {
"resource": ""
} |
q153877 | SSLChannel.cleanUpState | train | @Override
public void cleanUpState(VirtualConnection vc) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "cleanUpState");
}
// Remove the discriminator state from the state map.
SSLDiscriminatorState discState = (SSLDiscriminatorState) v... | java | {
"resource": ""
} |
q153878 | SSLChannel.onHandshakeFinish | train | protected void onHandshakeFinish(SSLEngine engine) {
// PK16095 - control the SSLSession cache inside the JSSE2 code
// security is creating the contexts, which should not change but might.
// we keep the last seen in an attempt to set these values only once
// per context. The alternat... | java | {
"resource": ""
} |
q153879 | SSLChannel.closeEngine | train | private void closeEngine(SSLEngine engine) {
// PK13349 - close the engine we created during discrimination. We do not
// need to flush any data however
if (null != engine) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Closing disc... | java | {
"resource": ""
} |
q153880 | OpentracingService.processFilters | train | private static void processFilters(List<SpanFilter> filters, String pattern, String childNames, Class<? extends SpanFilter> impl) {
final String methodName = "processFilters";
try {
SpanFilterType type = SpanFilterType.INCOMING;
boolean ignoreCase = false;
boolean r... | java | {
"resource": ""
} |
q153881 | AbstractBaseDestinationHandler.addPersistentData | train | public void addPersistentData(HashMap hm)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "addPersistentData", hm);
hm.put("name", definition.getName());
hm.put("uuid",definition.getUUID().toByteArray());
hm.put("maxReliability",
Integer.... | java | {
"resource": ""
} |
q153882 | Neighbours.getAllBuses | train | final BusGroup[] getAllBuses()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getAllBuses");
SibTr.exit(tc, "getAllBuses", _buses);
}
return _buses;
} | java | {
"resource": ""
} |
q153883 | Neighbours.getAllNeighbours | train | final Enumeration getAllNeighbours()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getAllNeighbours");
}
Enumeration allNeighbours = null;
synchronized(_neighbours)
{
allNeighbours =((Hashtable) _neighbours.clone()).elements();
}
... | java | {
"resource": ""
} |
q153884 | Neighbours.getAllRecoveredNeighbours | train | final Enumeration getAllRecoveredNeighbours()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getAllRecoveredNeighbours");
}
Enumeration allRecoveredNeighbours = null;
synchronized(_recoveredNeighbours)
{
allRecoveredNeighbours = _... | java | {
"resource": ""
} |
q153885 | Neighbours.addTopicSpaceReference | train | void addTopicSpaceReference(SIBUuid8 neighbourUuid,
SIBUuid12 topicSpace,
String topic,
boolean warmRestarted)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"add... | java | {
"resource": ""
} |
q153886 | Neighbours.removeTopicSpaceReference | train | void removeTopicSpaceReference(
SIBUuid8 neighbourUuid,
MESubscription subscription,
SIBUuid12 topicSpace,
String topic)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"removeTopicSpaceReference",
new Object[] { neighbourUuid, subs... | java | {
"resource": ""
} |
q153887 | Neighbours.topicSpaceCreated | train | void topicSpaceCreated(DestinationHandler destination) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "topicSpaceCreated", destination);
// Synchronize around the topic space references to stop removal and
// additions occuring at the s... | java | {
"resource": ""
} |
q153888 | Neighbours.topicSpaceDeleted | train | void topicSpaceDeleted(DestinationHandler destination) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "topicSpaceDeleted", destination);
// Synchronize around the topic space references to stop removal and
// additions occuring at the s... | java | {
"resource": ""
} |
q153889 | Neighbours.removeNeighbour | train | protected void removeNeighbour(
SIBUuid8 meUUID,
String busId,
Transaction transaction) throws SIConnectionLostException, SIResourceException, SIErrorException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"removeNeighbour",
new Objec... | java | {
"resource": ""
} |
q153890 | Neighbours.removeRecoveredNeighbour | train | protected void removeRecoveredNeighbour(SIBUuid8 neighbourUuid,
Transaction transaction)
throws SIConnectionLostException, SIResourceException, SIErrorException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnab... | java | {
"resource": ""
} |
q153891 | Neighbours.removeRegisteredProxies | train | private void removeRegisteredProxies(Neighbour neighbour,
Transaction transaction,
boolean wasRecovered) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "remov... | java | {
"resource": ""
} |
q153892 | Neighbours.findBus | train | private BusGroup findBus(String name)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "findBus", name);
// Cycle through the list of Buss.
for (int i = 0; i < _buses.length; ++i)
// Check if the Bus name is the one we are looking for
if (_buses[i].getN... | java | {
"resource": ""
} |
q153893 | Neighbours.createBus | train | private BusGroup createBus(String busId)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createBus", busId);
// Create a new group and add it to the list.
boolean isLocalBus = busId.equals(_localBusName);
final BusGroup group = new BusGroup(busId, _proxyHandl... | java | {
"resource": ""
} |
q153894 | Neighbours.deleteBus | train | private void deleteBus(BusGroup group)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "deleteBus", group);
// Find the position in the list which contains the group, and remove
// the group.
final BusGroup[] t = _buses;
for (int i = 0; i < _buses.length;... | java | {
"resource": ""
} |
q153895 | Neighbours.getRecoveredNeighbour | train | Neighbour getRecoveredNeighbour(SIBUuid8 neighbourUuid)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getRecoveredNeighbour", neighbourUuid);
Neighbour neighbour = null;
synchronized(_recoveredNeighbours)
{
neighbour = (Neighbour) _recov... | java | {
"resource": ""
} |
q153896 | Neighbours.createProxy | train | protected boolean createProxy(
Neighbour neighbour,
DestinationHandler destination,
MESubscription subscription,
SIBUuid12 topicSpace,
String topic,
boolean warmRestarted) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
... | java | {
"resource": ""
} |
q153897 | Neighbours.deleteProxy | train | protected boolean deleteProxy(
DestinationHandler destination,
MESubscription subscription,
Neighbour neighbour,
SIBUuid12 topicSpace,
String topic,
boolean wasRecovered,
boolean deleteHandler )
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
... | java | {
"resource": ""
} |
q153898 | Neighbours.addSubscriptionsToBus | train | private void addSubscriptionsToBus(BusGroup group, String busId)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "addSubscriptionsToBus", new Object[]{group, busId});
// Get the complete list of Subscriptions from the MatchSpace
// and... | java | {
"resource": ""
} |
q153899 | Neighbours.resetBusSubscriptionList | train | protected void resetBusSubscriptionList()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "resetBusSubscriptionList");
// Iterate over the list of Buses
for (int i=0; i<_buses.length; i++)
{
BusGroup group = _buses[i];
// Reset the list of s... | java | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.