Interface DispatcherContainer<T>
- Type Parameters:
T
- specifies the type of the container.
- All Known Implementing Classes:
LiveScoutDispatcherContainer
public interface DispatcherContainer<T>
Represents a container used by the
DisruptorDispatcher
used to store un-processed messages-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clears the content of the currentDispatcherContainer
.void
Copies the content of the passedDispatcherContainer
to the current one.boolean
isValid()
Checks if is container valid
-
Method Details
-
isValid
boolean isValid()Checks if is container valid- Returns:
- treu if valid
-
copy
Copies the content of the passedDispatcherContainer
to the current one.- Parameters:
other
- TheDispatcherContainer
whose content will be copied to the current one.- Throws:
IllegalArgumentException
- theother
is a null reference.
-
clear
void clear()Clears the content of the currentDispatcherContainer
.
-