Package com.netflix.hystrix.collapser

Examples of com.netflix.hystrix.collapser.RealCollapserTimer


     *
     * @param setter
     *            Fluent interface for constructor arguments
     */
    protected HystrixCollapser(Setter setter) {
        this(setter.collapserKey, setter.scope, new RealCollapserTimer(), setter.propertiesSetter);
    }
View Full Code Here


     *
     * @throws Exception
     */
    @Test
    public void testVoidResponseTypeFireAndForgetCollapsing3() throws Exception {
        CollapserTimer timer = new RealCollapserTimer();
        assertNull(new TestCollapserWithVoidResponseType(timer, counter, 1).execute());

        assertEquals(1, counter.get());

        assertEquals(1, HystrixRequestLog.getCurrentRequest().getAllExecutedCommands().size());
View Full Code Here

     *
     * @param setter
     *            Fluent interface for constructor arguments
     */
    protected HystrixObservableCollapser(Setter setter) {
        this(setter.collapserKey, setter.scope, new RealCollapserTimer(), setter.propertiesSetter);
    }
View Full Code Here

TOP

Related Classes of com.netflix.hystrix.collapser.RealCollapserTimer

Copyright © 2018 www.massapicom. 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.