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

com.tangosol.net.events.annotation.FederatedPartitionEvents Maven / Gradle / Ivy

There is a newer version: 24.09
Show newest version
/*
 * Copyright (c) 2000, 2021 Oracle and/or its affiliates.
 *
 * Licensed under the Universal Permissive License v 1.0 as shown at
 * http://oss.oracle.com/licenses/upl.
 */
package com.tangosol.net.events.annotation;

import com.tangosol.net.events.federation.FederatedPartitionEvent;

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

/**
 * EntryEventInterceptor is an annotation that should be applied to
 * {@link com.tangosol.net.events.EventInterceptor} implementations
 * that want to receive {@link FederatedPartitionEvent}s.
 *
 * @author as  2020.04.04
 * @since 20.06
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
@Events
public @interface FederatedPartitionEvents
    {
    /**
     * This element specifies all types of {@link FederatedPartitionEvent.Type}s the
     * interceptor would like to be invoked on.
     * 

* If not specified, the interceptor will be registered to handle ALL * {@link FederatedPartitionEvent.Type}s. * * @return all {@link FederatedPartitionEvent.Type}s the * {@link com.tangosol.net.events.EventInterceptor} would like to * receive notifications on */ FederatedPartitionEvent.Type[] value() default {}; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy