com.tangosol.net.events.partition.Event Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coherence Show documentation
Show all versions of coherence Show documentation
Oracle Coherence Community Edition
/*
* Copyright (c) 2000, 2020, 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.partition;
import com.tangosol.net.PartitionedService;
/**
* A PartitionedServiceEvent captures information concerning an operation on
* a PartitionedService. Sub interfaces provide more context on the event.
*
* @since Coherence 12.1.2
*
* @param the type of event
*/
public interface Event>
extends com.tangosol.net.events.Event
{
/**
* Return the {@link PartitionedServiceDispatcher} this event was
* raised by.
*
* @return the {@code PartitionedServiceDispatcher} this event was raised by
*/
@Override public PartitionedServiceDispatcher getDispatcher();
/**
* Return the {@link PartitionedService} this event was raised from.
*
* @return the {@code PartitionedService} this event was raised from
*/
default PartitionedService getService()
{
return getDispatcher().getService();
}
}