Package org.wildfly.clustering.vertx.web
Enum Class VertxSessionSpecificationProvider
java.lang.Object
java.lang.Enum<VertxSessionSpecificationProvider>
org.wildfly.clustering.vertx.web.VertxSessionSpecificationProvider
- All Implemented Interfaces:
Serializable,Comparable<VertxSessionSpecificationProvider>,Constable,org.wildfly.clustering.session.spec.SessionEventListenerSpecificationProvider<org.wildfly.clustering.session.ImmutableSession,,Void> org.wildfly.clustering.session.spec.SessionSpecificationProvider<org.wildfly.clustering.session.ImmutableSession,io.vertx.core.Context>
public enum VertxSessionSpecificationProvider
extends Enum<VertxSessionSpecificationProvider>
implements org.wildfly.clustering.session.spec.SessionSpecificationProvider<org.wildfly.clustering.session.ImmutableSession,io.vertx.core.Context>, org.wildfly.clustering.session.spec.SessionEventListenerSpecificationProvider<org.wildfly.clustering.session.ImmutableSession,Void>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionasEventListener(Consumer<org.wildfly.clustering.session.ImmutableSession> preEvent, Consumer<org.wildfly.clustering.session.ImmutableSession> postEvent) org.wildfly.clustering.session.ImmutableSessionasSession(org.wildfly.clustering.session.ImmutableSession session, io.vertx.core.Context context) org.wildfly.clustering.function.Consumer<org.wildfly.clustering.session.ImmutableSession> org.wildfly.clustering.function.Consumer<org.wildfly.clustering.session.ImmutableSession> Returns the enum constant of this class with the specified name.static VertxSessionSpecificationProvider[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.wildfly.clustering.session.spec.SessionEventListenerSpecificationProvider
asEventListener
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
asSession
public org.wildfly.clustering.session.ImmutableSession asSession(org.wildfly.clustering.session.ImmutableSession session, io.vertx.core.Context context) - Specified by:
asSessionin interfaceorg.wildfly.clustering.session.spec.SessionSpecificationProvider<org.wildfly.clustering.session.ImmutableSession,io.vertx.core.Context>
-
getEventListenerClass
- Specified by:
getEventListenerClassin interfaceorg.wildfly.clustering.session.spec.SessionEventListenerSpecificationProvider<org.wildfly.clustering.session.ImmutableSession,Void>
-
preEvent
public org.wildfly.clustering.function.Consumer<org.wildfly.clustering.session.ImmutableSession> preEvent(Void listener) - Specified by:
preEventin interfaceorg.wildfly.clustering.session.spec.SessionEventListenerSpecificationProvider<org.wildfly.clustering.session.ImmutableSession,Void>
-
postEvent
public org.wildfly.clustering.function.Consumer<org.wildfly.clustering.session.ImmutableSession> postEvent(Void listener) - Specified by:
postEventin interfaceorg.wildfly.clustering.session.spec.SessionEventListenerSpecificationProvider<org.wildfly.clustering.session.ImmutableSession,Void>
-
asEventListener
public Void asEventListener(Consumer<org.wildfly.clustering.session.ImmutableSession> preEvent, Consumer<org.wildfly.clustering.session.ImmutableSession> postEvent) - Specified by:
asEventListenerin interfaceorg.wildfly.clustering.session.spec.SessionEventListenerSpecificationProvider<org.wildfly.clustering.session.ImmutableSession,Void>
-