code stringlengths 73 34.1k | label stringclasses 1
value |
|---|---|
public void delCacheEntry(CacheEntry ce, int cause, int source, boolean fromDepIdTemplateInvalidation) {
htod.delCacheEntry(ce, cause, source, fromDepIdTemplateInvalidation);
} | java |
public void delCacheEntry(ValueSet removeList, int cause, int source, boolean fromDepIdTemplateInvalidation, boolean fireEvent) {
htod.delCacheEntry(removeList, cause, source, fromDepIdTemplateInvalidation, fireEvent);
} | java |
public ValueSet readDependency(Object id, boolean delete) { // SKS-O
Result result = htod.readDependency(id, delete);
if (result.returnCode == HTODDynacache.DISK_EXCEPTION) {
stopOnError(result.diskException);
this.htod.returnToResultPool(result);
return HTODDynacache... | java |
public ValueSet readTemplate(String template, boolean delete) {
Result result = htod.readTemplate(template, delete);
if (result.returnCode == HTODDynacache.DISK_EXCEPTION) {
stopOnError(result.diskException);
this.htod.returnToResultPool(result);
return HTODDynacache.... | java |
public ValueSet readTemplatesByRange(int index, int length) {
Result result = htod.readTemplatesByRange(index, length);
if (result.returnCode == HTODDynacache.DISK_EXCEPTION) {
stopOnError(result.diskException);
this.htod.returnToResultPool(result);
return HTODDynacac... | java |
public int getCacheIdsSize(boolean filter) {
if (filter == CacheOnDisk.FILTER) {
return htod.getCacheIdsSize(filter) - htod.invalidationBuffer.size();
} else {
return htod.getCacheIdsSize(filter);
}
} | java |
public void delDependencyEntry(Object id, Object entry) { // SKS-O
if (htod.delDependencyEntry(id, entry) == HTODDynacache.DISK_EXCEPTION) {
stopOnError(this.htod.diskCacheException);
}
} | java |
public void delTemplateEntry(String template, Object entry) {
if (htod.delTemplateEntry(template, entry) == HTODDynacache.DISK_EXCEPTION) {
stopOnError(this.htod.diskCacheException);
}
} | java |
public void delDependency(Object id) { // SKS-O
if (htod.delDependency(id) == HTODDynacache.DISK_EXCEPTION) {
stopOnError(this.htod.diskCacheException);
}
} | java |
public void delTemplate(String template) {
if (htod.delTemplate(template) == HTODDynacache.DISK_EXCEPTION) {
stopOnError(this.htod.diskCacheException);
}
} | java |
public int writeDependency(Object id, ValueSet vs) { // SKS-O
int returnCode = htod.writeDependency(id, vs);
if (returnCode == HTODDynacache.DISK_EXCEPTION) {
stopOnError(this.htod.diskCacheException);
}
return returnCode;
} | java |
public int writeTemplate(String template, ValueSet vs) {
int returnCode = htod.writeTemplate(template, vs);
if (returnCode == HTODDynacache.DISK_EXCEPTION) {
stopOnError(this.htod.diskCacheException);
}
return returnCode;
} | java |
public int writeDependencyEntry(Object id, Object entry) { // SKS-O
int returnCode = htod.writeDependencyEntry(id, entry);
if (returnCode == HTODDynacache.DISK_EXCEPTION) {
stopOnError(this.htod.diskCacheException);
}
return returnCode;
} | java |
public int writeTemplateEntry(String template, Object entry) {
int returnCode = htod.writeTemplateEntry(template, entry);
if (returnCode == HTODDynacache.DISK_EXCEPTION) {
stopOnError(this.htod.diskCacheException);
}
return returnCode;
} | java |
protected long calculateSleepTime() {
Calendar c = new GregorianCalendar();
int currentHour = c.get(Calendar.HOUR_OF_DAY);
int currentMin = c.get(Calendar.MINUTE);
int currentSec = c.get(Calendar.SECOND);
long stime = SECONDS_FOR_24_HOURS - ((currentHour * 60 + currentMin) * 60 +... | java |
public void clearInvalidationBuffers() {
this.htod.invalidationBuffer.clear(HTODInvalidationBuffer.EXPLICIT_BUFFER); // 3821 NK begin
this.htod.invalidationBuffer.clear(HTODInvalidationBuffer.SCAN_BUFFER);
if (this.evictionPolicy != CacheConfig.EVICTION_NONE) {
this.htod.invalidation... | java |
public Result readHashcodeByRange(int index, int length, boolean debug, boolean useValue) { // LI4337-17
Result result = this.htod.readHashcodeByRange(index, length, debug, useValue);
if (result.returnCode == HTODDynacache.DISK_EXCEPTION) {
stopOnError(result.diskException);
}
... | java |
public int updateExpirationTime(Object id, long oldExpirationTime, int size, long newExpirationTime, long newValidatorExpirationTime) {
int returnCode = this.htod.updateExpirationTime(id, oldExpirationTime, size, newExpirationTime, newValidatorExpirationTime);
if (returnCode == HTODDynacache.DISK_EXCEPT... | java |
protected int checkDirectoryWriteable(String location) {
final String methodName = "checkDirectoryWriteable()";
int rc = CacheOnDisk.LOCATION_OK;
if (location.equals("")) {
rc = CacheOnDisk.LOCATION_NOT_DEFINED;
} else if (location.startsWith("${") && location.indexOf("}") > ... | java |
public static String getRepositorySubpath(MavenCoordinates artifact) {
StringBuffer buf = new StringBuffer();
String[] groupDirs = artifact.getGroupId().split("\\.");
for (String dir : groupDirs) {
buf.append(dir).append("/");
}
buf.append(artifact.getArtifactId()).append("/").append(artifact.getVersion())... | java |
public static String getFileName(MavenCoordinates artifact, Constants.ArtifactType type) {
return artifact.getArtifactId() + "-" + artifact.getVersion() + type.getMavenFileExtension();
} | java |
@Override
public void clearBody() throws javax.jms.JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "clearBody");
// Set the message into write-only mode, handle generic actions
super.clearBody();
// Clear the locally... | java |
@Override
public byte readByte() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "readByte");
try {
// Check that we are in read mode
checkBodyReadable("readByte");
if (requiresInit)
... | java |
@Override
public int readBytes(byte[] value, int length) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "readBytes", new Object[] { value, length });
try {
// Check that we are in read mode
checkBodyRe... | java |
@Override
public char readChar() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "readChar");
try {
// Check that we are in read mode
checkBodyReadable("readChar");
if (requiresInit)
... | java |
@Override
public long readLong() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "readLong");
try {
// Check that we are in read mode
checkBodyReadable("readLong");
if (requiresInit)
... | java |
@Override
public String readUTF() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "readUTF");
String result;
try {
// Check that we are in read mode
checkBodyReadable("readUTF");
if ... | java |
@Override
public void reset() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "reset");
// After reset has been called, the message body is immutable (the only way of changing it is to
// call clearBody and start again... | java |
@Override
public void writeBytes(byte[] value) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "writeBytes", value);
try {
// Check that we are in write mode
checkBodyWriteable("writeBytes");
... | java |
@Override
public void writeBytes(byte[] value, int offset, int length) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "writeBytes", new Object[] { value, offset, length });
try {
// Check if the producer has promi... | java |
@Override
public void writeObject(Object value) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "writeObject");
// Check if the producer has promised not to modify the payload after it's been set
checkProducerPromise("writeO... | java |
@Override
protected JsJmsMessage getMsgReference() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getMsgReference");
// If the body is read only, the contents should already be in the
// JS message, so only do the co... | java |
private void recordInteger(int offset, int length) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "recordInteger", new Object[] { offset, length });
// If the current arrays are full, save them in the vector and allocate some new ones
if (in... | java |
private void reverse(byte[] buffer, int offset, int length) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "reverse", new Object[] { buffer, offset, length });
byte temp;
for (int i = 0; i < length / 2; i++) {
temp = buffer[offse... | java |
private void checkProducerPromise(String jmsMethod, String ffdcProbeID) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "checkProducerPromise", new Object[] { jmsMethod, ffdcProbeID });
// Only proceed if the producer hasn't promi... | java |
public void stopConsumer() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "stopConsumer");
try {
// lock the consumerSession to ensure visibility of update to started.
synchronized (consumerSession) {
consumerS... | java |
public boolean setClassifications(Flow[] newFlows)
throws InvalidFlowsException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setClassifications", newFlows);
boolean noClassChange = true;
// Do we have the same set of flows but with different weightings... | java |
public int getNumberOfClasses()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getNumberOfClasses");
SibTr.exit(tc, "getNumberOfClasses", Integer.valueOf(numberOfClasses));
}
return numberOfClasses;
} | java |
public int getPosition(String classificationName)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getPosition", classificationName);
int classPos = 0;
// Get the position of the classification
ClassWeight cw = messageClasses.get(classificationName);
i... | java |
public int getWeight(String classificationName)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getWeight", classificationName);
int weight = 0;
// Get the weight of the classification
ClassWeight cw = messageClasses.get(classificationName);
if(cw != ... | java |
public int findClassIndex(HashMap<Integer, Integer> weightMap)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "findClassIndex");
int classPos = 0;
int randWeight = 0;
// First of all determine total weight
int totalWeight = 0;
Iterator<Integer> it... | java |
public Flow[] getFlows()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getFlows");
}
Flow[] clonedFlows = flows.clone();
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.exit(tc, "getFlows", clonedFlows);
... | java |
public Map<Object, Object> getPropertyBag() {
if (this.properties == null) {
this.properties = new HashMap<Object, Object>();
}
return this.properties;
} | java |
public ChainDataImpl getExternalChainData() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(this, tc, "getExternalChainData");
}
// Create the list of the parents of the child data objects.
ChannelData[] parents = new ChannelData[this.channelData... | java |
public final void addChainEventListener(ChainEventListener listener) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "addChainEventListener: " + listener);
}
if (null != listener) {
this.chainEventListeners.add(listener);
}
... | java |
public final void removeChainEventListener(ChainEventListener listener) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "removeChainEventListener: " + listener);
}
if (null != listener) {
if (!this.chainEventListeners.remove(listene... | java |
public Set<ChainEventListener> removeAllChainEventListeners() {
Set<ChainEventListener> returnListeners = new HashSet<ChainEventListener>(this.chainEventListeners);
this.chainEventListeners.clear();
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc,... | java |
public void setChainEventListeners(Set<ChainEventListener> newListeners) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "removeAllChainEventListeners", newListeners);
}
chainEventListeners.clear();
chainEventListeners.addAll(newListene... | java |
public final void chainInitialized() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(this, tc, "chainInitialized, chain: " + this.name);
}
// Clone the list in case one of the event listeners modifies
// the chain during this iteration.
f... | java |
public final void chainStartFailed(int attemptsMade, int attemptsLeft) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(this, tc, "chainStartFailed, chain: " + this.name);
}
// Clone the list in case one of the event listeners modifies
// the chai... | java |
public CFEndPoint getEndPoint() throws ChannelFrameworkException {
if (null == this.endPoint) {
if (FlowType.INBOUND.equals(this.type)) {
this.endPoint = new CFEndPointImpl(this);
} else {
throw new ChannelFrameworkException(this.name + " is not inbound ch... | java |
@Trivial
protected String getRawProperty(String key) {
String rawValue = source.getValue(key);
if (rawValue != null) {
current.put(key, rawValue);
}
return rawValue;
} | java |
protected final TagAttribute getRequiredAttribute(String localName) throws TagException
{
TagAttribute attr = this.getAttribute(localName);
if (attr == null)
{
throw new TagException(this.tag, "Attribute '" + localName + "' is required");
}
return attr;
... | java |
public void setInputHandler(ProducerInputHandler inputHandler)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setInputHandler", inputHandler);
this.inputHandler = inputHandler;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "setInputHan... | java |
void setBus(String busName)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setBus", busName);
this.busName = busName;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "setBus");
} | java |
public void setForeignBusSendAllowed(boolean sendAllowed)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "setForeignBusSendAllowed", Boolean.valueOf(sendAllowed));
}
// Set the flag on this handler
_sendAllowedOnTargetForeignBus = Boolean.valueOf(se... | java |
@Trivial
public static <U> CompletableFuture<U> failedFuture(Throwable x) {
throw new UnsupportedOperationException(Tr.formatMessage(tc, "CWWKC1156.not.supported", "ManagedExecutor.failedFuture"));
} | java |
@Trivial
public static <U> CompletionStage<U> failedStage(Throwable x) {
throw new UnsupportedOperationException(Tr.formatMessage(tc, "CWWKC1156.not.supported", "ManagedExecutor.failedStage"));
} | java |
public static <T> CompletableFuture<T> newIncompleteFuture(Executor executor) {
if (JAVA8)
return new ManagedCompletableFuture<T>(new CompletableFuture<T>(), executor, null);
else
return new ManagedCompletableFuture<T>(executor, null);
} | java |
@Trivial
public static CompletableFuture<Void> runAsync(Runnable action) {
throw new UnsupportedOperationException(Tr.formatMessage(tc, "CWWKC1156.not.supported", "ManagedExecutor.runAsync"));
} | java |
@Trivial
public static <U> CompletableFuture<U> supplyAsync(Supplier<U> action) {
throw new UnsupportedOperationException(Tr.formatMessage(tc, "CWWKC1156.not.supported", "ManagedExecutor.supplyAsync"));
} | java |
private ThreadContextDescriptor captureThreadContext(Executor executor) {
WSManagedExecutorService managedExecutor = defaultExecutor instanceof WSManagedExecutorService //
? (WSManagedExecutorService) defaultExecutor //
: executor != defaultExecutor && executor in... | java |
@Trivial
private final static FutureRefExecutor supportsAsync(Executor executor) {
if (executor instanceof ExecutorService)
return new FutureRefExecutor((ExecutorService) executor); // valid
if (executor instanceof UnusableExecutor)
throw new UnsupportedOperationException(); ... | java |
static File validateDirectory(final File directory) {
File newDirectory = null;
try {
newDirectory = AccessController.doPrivileged(new java.security.PrivilegedExceptionAction<File>() {
@Override
public File run() throws Exception {
boolea... | java |
static File createNewFile(final FileLogSet fileLogSet) {
final File directory = fileLogSet.getDirectory();
final String fileName = fileLogSet.getFileName();
final String fileExtension = fileLogSet.getFileExtension();
File f = null;
try {
f = AccessController.doPrivil... | java |
public void releaseBuffers() {
// release buffers is desired
if (payloadBuffers != null) {
if (tc.isDebugEnabled()) {
Tr.debug(tc, "release payload buffers. number to release is: " + payloadCountOfBuffers);
}
// if the payload buffers have been set in... | java |
public static boolean methodParamsMatch(List<String> typeNames, Class<?>[] types)
{
if (typeNames.size() != types.length)
{
return false;
}
for (int i = 0; i < types.length; i++)
{
String typeName = typeNames.get(i);
int typeNameEnd = type... | java |
String evaluateExpression(String expr) throws ConfigEvaluatorException {
ConfigExpressionScanner scanner = new ConfigExpressionScanner(expr);
// Expression = Arithmetic | FilterCall
// Arithmetic = Operand [( "+" | "-" | "*" | "/") Operand]*
// Operand = VarName | Long | Functi... | java |
private int evaluateCountExpression(Object value) {
if (value == null) {
return 0;
}
if (value.getClass().isArray()) {
return Array.getLength(value);
}
if (value instanceof Vector<?>) {
return ((Vector<?>) value).size();
}
retur... | java |
@Override
public Map<String, Object> getRequestCookieMap()
{
if (_requestCookieMap == null)
{
checkHttpServletRequest();
_requestCookieMap = new CookieMap(_httpServletRequest);
}
return _requestCookieMap;
} | java |
public LockingCursor getDefaultGetCursor()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getDefaultGetCursor");
LockingCursor cursor = consumerKeyFilter[0].getGetCursor();
if(keyGroup != null)
cursor = keyGroup.getDefaultGetCursor();
if (TraceC... | java |
private int chooseGetCursorIndex(int classification)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "chooseGetCursorIndex");
int classIndex = 0;
if(classifyingMessages)
classIndex = consumerSet.chooseGetCursorIndex(classification);
if (T... | java |
public void detach() throws SIResourceException, SINotPossibleInCurrentConfigurationException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "detach");
// Make sure we are not ready
notReady();
// Remove us from any group we are a member of
if(keyGroup !... | java |
public SIBUuid12 getConnectionUuid()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getConnectionUuid");
SibTr.exit(tc, "getConnectionUuid", connectionUuid);
}
return connectionUuid;
} | java |
public boolean requiresRecovery(SIMPMessage msg)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "requiresRecovery", new Object[] { msg });
boolean recoverable;
Reliability msgReliability = msg.getReliability();
recoverable = msgReliability.compareTo(unrecove... | java |
public void markNotReady()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "markNotReady");
ready = false;
if(keyGroup != null)
keyGroup.markNotReady();
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(tc, "markNotReady"... | java |
public JSConsumerKey getParent()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getParent");
JSConsumerKey key = this;
if(keyGroup != null)
key = keyGroup;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(tc, "getParen... | java |
public void start()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "start");
if(!started)
{
started = true;
if(keyGroup != null)
keyGroup.startMember();
}
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.ex... | java |
public void stop()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "stop");
if(started)
{
started = false;
if(keyGroup != null)
keyGroup.stopMember();
}
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(... | java |
private void createNewFiltersAndCursors(ItemStream itemStream)
throws SIResourceException, MessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createNewFiltersAndCursors", itemStream);
LockingCursor cursor = null;
// Instantiate a new... | java |
@Override
public JmsConnectionFactory createConnectionFactory() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createConnectionFactory");
JmsConnectionFactory jmscf = null;
// get a jca managed connection factory, wh... | java |
@Override
public JmsQueueConnectionFactory createQueueConnectionFactory() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createQueueConnectionFactory");
JmsQueueConnectionFactory jmsqcf = null;
// get a jca managed q... | java |
@Override
public JmsTopicConnectionFactory createTopicConnectionFactory() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createTopicConnectionFactory");
JmsTopicConnectionFactory jmstcf = null;
// get a jca managed t... | java |
@Override
public JmsQueue createQueue(String name) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createQueue", name);
JmsQueue queue = null;
// if name string is null, empty or just "queue://", throw exception
... | java |
@Override
public JmsTopic createTopic(String name) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createTopic", name);
JmsTopic topic = null;
// if name string is null throw exception
if (name == null) {
... | java |
void handlePut(
SimpleTest test,
Conjunction selector,
MatchTarget object,
InternTable subExpr)
throws MatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "handlePut",
new Object[] {test,selector,object,subExpr} );
Object value = test.getValue();
if... | java |
void handleEqualityPut(Object value, Conjunction selector,
MatchTarget object, InternTable subExpr) throws MatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "handleEqualityPut",
new Object[] {value,selector,object,subExpr} );
ContentMatcher next =
(ContentMatcher) ((... | java |
void handleEqualityRemove(Object value, Conjunction selector,
MatchTarget object, InternTable subExpr, OrdinalPosition parentId) throws MatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "handleEqualityRemove",
new Object[] {value,selector,object,subExpr} );
ContentMatcher ne... | java |
boolean isEmpty() {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "isEmpty");
boolean ans = super.isEmpty() && !haveEqualityMatches();
if (tc.isEntryEnabled())
tc.exit(this,cclass, "isEmpty", new Boolean(ans));
return ans;
} | java |
ContentMatcher nextMatcher(Conjunction selector, ContentMatcher oldMatcher) {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "nextMatcher", "selector: "+selector+", oldMatcher: "+oldMatcher);
ContentMatcher ans;
if (!cacheing)
ans = super.nextMatcher(selector, oldMatcher);
else if (oldMatche... | java |
public void setDestination(DestinationHandler originalDestination)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setDestination", originalDestination);
_originalDestination = originalDestination;
if (TraceComponent.isAnyTracingEnabled() && ... | java |
@Override
public void setDestination(SIDestinationAddress destinationAddr)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setDestination", destinationAddr);
if (destinationAddr != null)
{
try
{
_ori... | java |
public int checkCanExceptionMessage()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "checkCanExceptionMessage");
// Return code
int rc = DestinationHandler.OUTPUT_HANDLER_NOT_FOUND;
String newExceptionDestination = null;
boo... | java |
@Override
public UndeliverableReturnCode handleUndeliverableMessage(
SIBusMessage msg,
String alternateUser,
TransactionCommon tra... | java |
private UndeliverableReturnCode checkMessage(SIMPMessage message)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "checkMessage", message);
UndeliverableReturnCode rc = UndeliverableReturnCode.OK;
// F001333:E3
// If the message's rel... | java |
private AccessResult checkExceptionDestinationAccess(JsMessage msg,
ConnectionImpl conn,
String alternateUser,
boolean defaultInUse)
{
if... | java |
private void handleAccessDenied(AccessResult result,
JsMessage msg,
String alternateUser)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "handleAccessDenied", new Object[] { result,
... | java |
private void fireMessageExceptionedEvent(String apiMsgId,
SIMPMessage message,
int exceptionReason)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc,
... | java |
public static String decodeUri(String url)
{
int index1 = url.indexOf(sessUrlRewritePrefix);
int index2 = url.indexOf(qMark);
String tmp = null;
if (index2 != -1 && index2 > index1)
{
tmp = url.substring(index2);
}
if (index1 != -1)
{
url = url.substring(0, index1);
if (tmp != null)
{
... | java |
public static final void setInstance(FaceletFactory factory)
{
if (factory == null)
{
instance.remove();
}
else
{
instance.set(factory);
}
} | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.