All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.ruedigermoeller.fastcast.remoting.DecodeInTransportThread Maven / Gradle / Ivy

There is a newer version: 3.10
Show newest version
package de.ruedigermoeller.fastcast.remoting;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created with IntelliJ IDEA.
 * User: ruedi
 * Date: 10/3/13
 * Time: 4:22 PM
 * To change this template use File | Settings | File Templates.
 */
@Retention(RetentionPolicy.RUNTIME)

@Target(ElementType.TYPE)

/**
 * overrides any configuration settings and defines, that all calls are done directly in the transport thread having read
 * a package. Use with care, as even minimal delays in processing will cause packet loss (retransmission required).
 *
 * This is useful for custom filtering, e.g. a TopicService wants to process only a part of incoming calls. So incoming
 * remote calls are invoked in transport thread a messing is put on an application provided worker thread onyly if filtering does not reject the call,
 */
public @interface DecodeInTransportThread {
    boolean value();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy