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 theDisruptorDispatcher
used to store un-processed messages
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clear()
Clears the content of the currentDispatcherContainer
.void
copy(T other)
Copies the content of the passedDispatcherContainer
to the current one.boolean
isValid()
Checks if is container valid
-
-
-
Method Detail
-
isValid
boolean isValid()
Checks if is container valid- Returns:
- treu if valid
-
copy
void copy(T other)
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
.
-
-