GigaSpaces XAP 9.7.2 API

org.openspaces.events.notify
Enum NotifyComType

java.lang.Object
  extended by java.lang.Enum<NotifyComType>
      extended by org.openspaces.events.notify.NotifyComType
All Implemented Interfaces:
Serializable, Comparable<NotifyComType>

Deprecated. Since 9.7

@Deprecated
public enum NotifyComType
extends Enum<NotifyComType>

Custom Communication type is deprecated since 9.7 - the default is multiplex and there are no benefits for using unicast.


Enum Constant Summary
MULTICAST
          Deprecated. Since 9.0.0
MULTIPLEX
          Deprecated. Controls how notification are propagated from the space to the listener.
UNICAST
          Deprecated. Controls how notification are propagated from the space to the listener.
 
Method Summary
 int value()
          Deprecated.  
static NotifyComType valueOf(String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static NotifyComType[] values()
          Deprecated. Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNICAST

public static final NotifyComType UNICAST
Deprecated. 
Controls how notification are propagated from the space to the listener. Unicast propagation uses TCP unicast communication which is usually best for small amount of registered clients. This is the default communication type.


MULTIPLEX

public static final NotifyComType MULTIPLEX
Deprecated. 
Controls how notification are propagated from the space to the listener. Same as unicast (UNICAST) in terms of communication protocol but uses a single client side multiplexer which handles all the dispatching to the different notification listeners.


MULTICAST

@Deprecated
public static final NotifyComType MULTICAST
Deprecated. Since 9.0.0
Multicast notifications are no longer supported. This enum value will be removed in future versions.

Method Detail

values

public static NotifyComType[] values()
Deprecated. 
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (NotifyComType c : NotifyComType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static NotifyComType valueOf(String name)
Deprecated. 
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

value

public int value()
Deprecated. 

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.