Skip navigation links
A B C D E G H L N S T V 

A

attachLogicalNode() - Method in interface com.noctarius.snowcast.SnowcastSequencer
Attaches the current SnowcastSequencer instance to a logical node ID.

B

buildSnowcastAwareConfig() - Static method in class com.noctarius.snowcast.SnowcastNodeConfigurator
Creates a new Hazelcast node Config instances and prepares it for snowcast.
buildSnowcastAwareConfig(Config) - Static method in class com.noctarius.snowcast.SnowcastNodeConfigurator
Configures a givenĀ Hazelcast Config instance for snowcast.
byCalendar(Calendar) - Static method in class com.noctarius.snowcast.SnowcastEpoch
Creates a custom epoch based on the given Calendar instance.
byTimestamp(long) - Static method in class com.noctarius.snowcast.SnowcastEpoch
Creates a custom epoch based on the given milliseconds based timestamp.

C

com.noctarius.snowcast - package com.noctarius.snowcast
Introduction
compare(Long, Long) - Method in class com.noctarius.snowcast.SnowcastSequenceComparator
compare(Long, Long) - Method in enum com.noctarius.snowcast.SnowcastTimestampComparator
compareSequence(long, long) - Static method in class com.noctarius.snowcast.SnowcastSequenceUtils
This helper method provides a comparison implementation to order or compare two distinct sequence ids by their internal timestamp and counter value.
compareSequence(long, long, int) - Static method in class com.noctarius.snowcast.SnowcastSequenceUtils
This helper method provides a comparison implementation to order or compare two distinct sequence ids by their internal timestamp and counter value.
compareTimestamp(long, long) - Static method in class com.noctarius.snowcast.SnowcastSequenceUtils
This helper method provides a comparison implementation to order or compare two distinct sequence ids by their internal timestamp value.
counterValue(long) - Method in interface com.noctarius.snowcast.SnowcastSequencer
Extracts the counter value of the given snowcast sequence ID based on the current configuration.
counterValue(long) - Static method in class com.noctarius.snowcast.SnowcastSequenceUtils
This helper method extracts the counter value from a given sequence id.
counterValue(long, int) - Static method in class com.noctarius.snowcast.SnowcastSequenceUtils
This helper method extracts the counter value from a given sequence id.
createSequencer(String, SnowcastEpoch) - Method in interface com.noctarius.snowcast.Snowcast
Creates a SnowcastSequencer or returns an already existing instance based on the given sequencerName and custom epoch.
createSequencer(String, SnowcastEpoch, int) - Method in interface com.noctarius.snowcast.Snowcast
Creates a SnowcastSequencer or returns an already existing instance based on the given sequencerName and custom epoch.

D

destroySequencer(SnowcastSequencer) - Method in interface com.noctarius.snowcast.Snowcast
Destroys the given SnowcastSequencer instance.
detachLogicalNode() - Method in interface com.noctarius.snowcast.SnowcastSequencer
Detaches the current SnowcastSequencer instance from the currently assigned logical node ID.

E

equals(Object) - Method in class com.noctarius.snowcast.SnowcastEpoch

G

getEpochOffset() - Method in class com.noctarius.snowcast.SnowcastEpoch
Returns the configured offset of this custom epoch.
getEpochTimestamp() - Method in class com.noctarius.snowcast.SnowcastEpoch
Returns the current point in time as a timestamp based on this custom epoch.
getSequencerName() - Method in interface com.noctarius.snowcast.SnowcastSequencer
Returns the reference name of the sequencer.
getSequencerState() - Method in interface com.noctarius.snowcast.SnowcastSequencer
Returns the current SnowcastSequenceState of this sequencer.

H

hashCode() - Method in class com.noctarius.snowcast.SnowcastEpoch

L

logicalNodeId(long) - Method in interface com.noctarius.snowcast.SnowcastSequencer
Extracts the logical node ID of the given snowcast sequence ID based on the current configuration.
logicalNodeId(long) - Static method in class com.noctarius.snowcast.SnowcastSequenceUtils
This helper method extracts the logicalNodeId from a given sequence id.
logicalNodeId(long, int) - Static method in class com.noctarius.snowcast.SnowcastSequenceUtils
This helper method extracts the logicalNodeId from a given sequence id.

N

next() - Method in interface com.noctarius.snowcast.SnowcastSequencer
Generates and returns the next snowcast sequence ID.

S

Snowcast - Interface in com.noctarius.snowcast
The Snowcast instance is a SnowcastSequencer factory bound to HazelcastInstance instance.
snowcast(HazelcastInstance) - Static method in class com.noctarius.snowcast.SnowcastSystem
Creates or retrieves (a cached) Snowcast instance assigned to the passed in HazelcastInstance.
snowcast(HazelcastInstance, int) - Static method in class com.noctarius.snowcast.SnowcastSystem
Creates or retrieves (a cached) Snowcast instance assigned to the passed in HazelcastInstance.
SnowcastEpoch - Class in com.noctarius.snowcast
The SnowcastEpoch is used to define a custom epoch for snowcast.
SnowcastException - Exception in com.noctarius.snowcast
The SnowcastException is the base class for all other snowcast exception classes.
SnowcastException(String) - Constructor for exception com.noctarius.snowcast.SnowcastException
Basic exception constructor with a given message
SnowcastException(String, Throwable) - Constructor for exception com.noctarius.snowcast.SnowcastException
Basic exception constructor with a given message and Throwable cause.
SnowcastException(Throwable) - Constructor for exception com.noctarius.snowcast.SnowcastException
Basic exception constructor with a given Throwable cause.
SnowcastIllegalStateException - Exception in com.noctarius.snowcast
The SnowcastIllegalStateException is thrown whenever an illegal state change is tried to execute or when an operation is tried to execute that is not legal in the current state of the SnowcastSequencer, for example SnowcastSequencer.next() in states SnowcastSequenceState.Detached or SnowcastSequenceState.Destroyed.
SnowcastIllegalStateException(String) - Constructor for exception com.noctarius.snowcast.SnowcastIllegalStateException
Basic exception constructor
SnowcastMaxLogicalNodeIdOutOfBoundsException - Exception in com.noctarius.snowcast
The SnowcastMaxLogicalNodeIdOutOfBoundsException is thrown whenever the given maximal logical node ID is outside the legal bound between 128 and 8192.
SnowcastMaxLogicalNodeIdOutOfBoundsException(String) - Constructor for exception com.noctarius.snowcast.SnowcastMaxLogicalNodeIdOutOfBoundsException
Basic exception constructor
SnowcastNodeConfigurator - Class in com.noctarius.snowcast
This class is used as a helper to prepare Hazelcast Config configuration instances for usage / registration of snowcast.
SnowcastNodeIdsExceededException - Exception in com.noctarius.snowcast
The SnowcastNodeIdsExceededException is thrown whenever no the configured number of logical node IDs is exceeded.
If more logical node IDs are required the SnowcastSequencer must be destroyed and the configuration can be changed by recreating it.
SnowcastNodeIdsExceededException() - Constructor for exception com.noctarius.snowcast.SnowcastNodeIdsExceededException
Basic exception constructor
SnowcastSequenceComparator - Class in com.noctarius.snowcast
This Comparator implementation can be used to compare and order two distinct snowcast sequencer ids by their corresponding timestamps and counter values.
This is meant for legacy code or to integrate it with existing frameworks.
SnowcastSequenceComparator(int) - Constructor for class com.noctarius.snowcast.SnowcastSequenceComparator
This constructor creates a new SnowcastSequenceComparator instance bound to the given maximal logical node count.
There is also a convenience method in SnowcastSequenceUtils to easy the creation process when a SnowcastSequencer is available:
snowcastSequenceComparator(SnowcastSequencer) - Static method in class com.noctarius.snowcast.SnowcastSequenceUtils
Creates a new SnowcastSequenceComparator instance based on the given SnowcastSequencer's internal configuration.
SnowcastSequencer - Interface in com.noctarius.snowcast
The SnowcastSequencer interface describes the general sequencer contract.
SnowcastSequencerAlreadyRegisteredException - Exception in com.noctarius.snowcast
The SnowcastSequencerAlreadyRegisteredException is thrown whenever there is requested sequencer is already registered with the snowcast system in the cluster but the configurations do not match.
SnowcastSequencerAlreadyRegisteredException(String) - Constructor for exception com.noctarius.snowcast.SnowcastSequencerAlreadyRegisteredException
Basic exception constructor
SnowcastSequenceState - Enum in com.noctarius.snowcast
This enumeration describes the internal states of the SnowcastSequencer state machine.
SnowcastSequenceUtils - Class in com.noctarius.snowcast
This class contains a collection of helper methods to easy the use of snowcast.
SnowcastStateException - Exception in com.noctarius.snowcast
The SnowcastStateException is used whenever there is an exception in the internal state machine of a SnowcastSequencer.
SnowcastStateException(String) - Constructor for exception com.noctarius.snowcast.SnowcastStateException
Basic exception constructor
SnowcastSystem - Class in com.noctarius.snowcast
The SnowcastSystem class is the entrance point into using snowcast.
SnowcastTimestampComparator - Enum in com.noctarius.snowcast
This Comparator implementation can be used to compare and order two distinct snowcast sequencer ids by their corresponding timestamps.
This is meant for legacy code or to integrate it with existing frameworks.

T

timestampValue(long) - Method in interface com.noctarius.snowcast.SnowcastSequencer
Extracts the timestamp value of the given snowcast sequence ID based on the current configuration.
timestampValue(long) - Static method in class com.noctarius.snowcast.SnowcastSequenceUtils
This helper method extracts the timestamp value from a given sequence id.
toString() - Method in class com.noctarius.snowcast.SnowcastEpoch

V

valueOf(String) - Static method in enum com.noctarius.snowcast.SnowcastSequenceState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.noctarius.snowcast.SnowcastTimestampComparator
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.noctarius.snowcast.SnowcastSequenceState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.noctarius.snowcast.SnowcastTimestampComparator
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E G H L N S T V 
Skip navigation links

Copyright © 2014-2017. All Rights Reserved.