Examples of invalidate()


Examples of org.apache.http.nio.protocol.HttpAsyncRequestExecutor.State.invalidate()

        final State state = new HttpAsyncRequestExecutor.State();
        final HttpRequest request = new BasicHttpRequest("GET", "/");
        state.setRequest(request);
        final BasicHttpResponse response = new BasicHttpResponse(HttpVersion.HTTP_1_1, 200, "OK");
        state.setResponse(response);
        state.invalidate();
        this.connContext.setAttribute(HttpAsyncRequestExecutor.HTTP_EXCHANGE_STATE, state);
        this.connContext.setAttribute(HttpAsyncRequestExecutor.HTTP_HANDLER, this.exchangeHandler);
        Mockito.when(this.decoder.isCompleted()).thenReturn(Boolean.TRUE);

        this.protocolHandler.inputReady(this.conn, this.decoder);
View Full Code Here

Examples of org.apache.jackrabbit.jcr2spi.hierarchy.HierarchyEntry.invalidate()

        // invalidate all references to the removed activity
        while (refs.hasNext()) {
            HierarchyEntry entry = hMgr.lookup(refs.next());
            if (entry != null) {
                entry.invalidate(false);
            }
        }

        // invalidate the activities parent
        parent.getNodeEntry().invalidate(false);
View Full Code Here

Examples of org.apache.jackrabbit.jcr2spi.hierarchy.NodeEntry.invalidate()

            // TODO invalidate
        } else {
            try {
                NodeEntry vhe = mgr.getVersionHistoryEntry(nodeState);
                if (vhe != null) {
                    vhe.invalidate(true);
                }
            } catch (RepositoryException e) {
                log.warn("Error while retrieving VersionHistory entry:", e.getMessage());
            }
            nodeState.getHierarchyEntry().invalidate(true);
View Full Code Here

Examples of org.apache.jackrabbit.jcr2spi.hierarchy.PropertyEntry.invalidate()

        // Invalidate the versionable node as well (version related properties)
        if (versionableEntry != null) {
            Iterator<PropertyEntry> propEntries = versionableEntry.getPropertyEntries();
            while (propEntries.hasNext()) {
                PropertyEntry pe = propEntries.next();
                pe.invalidate(false);
            }
            versionableEntry.invalidate(false);
        }

        // invalidate the versionhistory entry and all its children
View Full Code Here

Examples of org.apache.jackrabbit.jcr2spi.state.ItemState.invalidate()

    protected void invalidateInternal(boolean recursive) {
        ItemState state = internalGetItemState();
        if (state == null) {
            log.debug("Skip invalidation for unresolved HierarchyEntry " + name);
        } else {
            state.invalidate();
        }
    }

    //-----------------------------------------------------< HierarchyEntry >---
    /**
 
View Full Code Here

Examples of org.apache.jackrabbit.vault.fs.api.VaultFile.invalidate()

        String jcrPath = (String) cl.getValue(argJcrPath);

        ConsoleFile wo = ctx.getFile(jcrPath, true);
        if (wo instanceof VaultFsCFile) {
            VaultFile file = (VaultFile) wo.unwrap();
            file.invalidate();
        } else {
            throw new ExecutionException("'cat' only possible in jcr fs context");
        }
    }
View Full Code Here

Examples of org.apache.jcs.utils.servlet.session.DistSession.invalidate()

                sess.access();
            }
            else
            {
                sessIdSet.remove( session_id );
                sess.invalidate();
                return new MetaHttpSession( session_id, null );
            }
        }
        return new MetaHttpSession( session_id, sess );
    }
View Full Code Here

Examples of org.apache.myfaces.orchestra.conversation.Conversation.invalidate()

    {
        ConversationManager conversationManager = ConversationManager.getInstance();
        Conversation conversation = conversationManager.getConversation(conversationName);
        if (conversation != null)
        {
            conversation.invalidate();
        }

        if (restart != null && restart.booleanValue())
        {
            FrameworkAdapter.getCurrentInstance().getBean(conversationName);
View Full Code Here

Examples of org.apache.openjpa.kernel.PreparedQueryCache.invalidate()

    boolean invalidatePreparedQuery() {
        PreparedQueryCache cache = _em.getPreparedQueryCache();
        if (cache == null)
            return false;
        ignorePreparedQuery();
        return cache.invalidate(_id);
    }
   
    /**
     * Ignores this query from PreparedQueryCache by recreating the original
     * query if it has been cached.
View Full Code Here

Examples of org.apache.openmeetings.web.app.WebSession.invalidate()

    Long id = getLong(idStr);
    WebSession ws = WebSession.get();
    if (id != null && ws.isSignedIn()) {
      return getRecording(id);
    } else {
      ws.invalidate();
      if (ws.signIn(idStr.toString())) {
        return getRecording(getRecordingId());
      }
    }
    return null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.