Examples of push()


Examples of org.apache.karaf.cellar.core.Synchronizer.push()

                if (serviceReferences != null && serviceReferences.length > 0) {
                    for (ServiceReference ref : serviceReferences) {
                        Synchronizer synchronizer = (Synchronizer) bundleContext.getService(ref);
                        if (synchronizer != null && synchronizer.isSyncEnabled(group)) {
                            synchronizer.pull(group);
                            synchronizer.push(group);
                        }
                        bundleContext.ungetService(ref);
                    }
                }
            } catch (InvalidSyntaxException e) {

Examples of org.apache.ldap.server.invocation.InvocationStack.push()

    public Name getMatchedName( Name dn, boolean normalized, Collection bypass ) throws NamingException
    {
        ensureStarted();
        InvocationStack stack = InvocationStack.getInstance();
        Object[] args = new Object[] { dn, normalized? Boolean.TRUE : Boolean.FALSE };
        stack.push( new Invocation( this, caller, "getMatchedDn", args, bypass ) );
        try
        {
            return this.configuration.getInterceptorChain().getMatchedName( dn, normalized );
        }
        finally

Examples of org.apache.lenya.util.Stack.push()

        if (history == null) {
            history = new Stack(10);
            session.setAttribute("org.apache.lenya.cms.cocoon.acting.History", history);
        }

        history.push(sitemap_uri);

        // Check public uris from configuration above. Should only be used during development before the implementation of a concrete authorizer.
        for (int i = 0; i < public_matchers.length; i++) {
            if (preparedMatch(public_matchers[i], sitemap_uri)) {
                if (getLogger().isDebugEnabled()) {

Examples of org.apache.log.output.MemoryTarget.push()

        //Not pushed yet
        logger.debug( M1 );
        final String result1 = getResult( output );
        assertEquals( "Targets R1 debug output", "", result1 );

        target.push();
        final String resultPP = getResult( output );
        assertEquals( "Targets HEAD+R1 debug output", HEAD + R1, resultPP );

        logger.debug( M2 );
        final String result2 = getResult( output );

Examples of org.apache.marmotta.ldpath.template.model.freemarker.TemplateStackModel.push()

            }

        } else {
            try {
                for(Node node : ldpath.pathQuery(context.getNode(),path,namespaces)) {
                    contextStack.push(new TemplateNodeModel<Node>(node, backend));

                    if(loopVars.length > 0) {
                        loopVars[0] = new TemplateNodeModel<Node>(node,backend);
                    }

Examples of org.apache.maven.archiva.dependency.graph.tasks.DependencyManagementStack.push()

        Dependency dep = toDependency( "junit:junit:3.8.1::jar" );
        dep.setScope( "test" );
        node.addDependencyManagement( dep );

        DependencyManagementStack stack = new DependencyManagementStack();
        stack.push( node );
        DependencyGraphNode oldnode = stack.pop();
        assertEquals( "added node to old node", node, oldnode );
    }

    public void testPushPopTwoDeep()

Examples of org.apache.mina.util.BlockingQueue.push()

            }

            if( !allSessionBuffers.contains( buf ) )
            {
                allSessionBuffers.add( buf );
                unfetchedSessionBuffers.push( buf );
            }
        }
    }
   
    /**
 

Examples of org.apache.mina.util.ExpiringStack.push()

        ExpiringStack stack = bufferStacks[getBufferStackIndex(bufferStacks,
                buf.buf().capacity())];

        synchronized (stack) {
            // push back
            stack.push(buf);
        }
    }

    public ByteBuffer wrap(java.nio.ByteBuffer nioBuffer) {
        ensureNotDisposed();

Examples of org.apache.mina.util.Queue.push()

                new WriteRequest( new Object() ),
                new WriteRequest( new Object() ),
                new WriteRequest( new Object() )
        };
        Queue queue = new Queue();
        queue.push( wrs[ 0 ] );
        queue.push( wrs[ 1 ] );
        queue.push( wrs[ 2 ] );
        InputStream stream = new ByteArrayInputStream( new byte[ 0 ] );
       
        /*
 

Examples of org.apache.mina.util.Stack.push()

        int stackIndex = getBufferStackIndex(buf.capacity());
        if (stackIndex >= PACKET_BUFFER_INDEX) {
            Stack stack = bufferStacks[getBufferStackIndex(buf.capacity())];
            synchronized (stack) {
                stack.push(buf);
            }
        }
    }

    /**
 
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.