Uses of Class
com.swiftmq.impl.streams.comp.memory.Memory
Package
Description
-
Uses of Memory in com.swiftmq.impl.streams
Modifier and TypeMethodDescriptionInternal use onlyMemory[]
Stream.getMemories()
Internal use onlyReturns the Memory with the given name.Stream.stateMemory()
Returns the Stream's State Memory that is used by MemoryGroups to store their associated Memories. -
Uses of Memory in com.swiftmq.impl.streams.comp.jdbc
-
Uses of Memory in com.swiftmq.impl.streams.comp.memory
Modifier and TypeClassDescriptionclass
Memory implementation that stores all Messages on the heap.class
Memory implementation that stores all Messages as persistent Messages in a regular Queue.class
Memory implementation that stores all Messages as non-persistent Messages in a Temporary Queue.Modifier and TypeMethodDescriptionabstract Memory
Add a Message to the Memory.Determines the average value of a Property and returns the result as a new non-queue Memory with Messages that contains 2 Properties, the grouping Property and the average Property.Memory.checkLimit()
Checks the limit of the Memory and retires Messages, if necessary.HeapMemory.clear()
abstract Memory
Memory.clear()
Removes all Messages from this Memory.QueueMemory.clear()
MemoryCreateCallback.create
(Comparable key) Create a new MemoryMemory.createIndex
(String propName) Creates an Index over a PropertyMemory.dropLateArrivals
(boolean dropLateArrivals) Specifies whether late arrivals should be dropped (default is false).Selects all Messages with a specific Property Value from the associated Memory and returns the result as new non-queue Memory.Performs an inner join with the right Memory over the named join Property name which must exists in the Messages of both Memories.Performs an inner join with the right Memory.Determines the maximum value of a Property and returns the result as a new non-queue Memory with Messages that contains 2 Properties, the grouping Property and the maximum Property.Determines the minimum value of a Property and returns the result as a new non-queue Memory with Messages that contains 2 Properties, the grouping Property and the minimum Property.Memory.onRetire
(RetirementCallback callback) Sets a callback which is called for each Message that is retired (removed by a Limit).Sets the Property name that is used to order this Memory.HeapMemory.remove
(int index) abstract Memory
Memory.remove
(int index) Removes the Message at the index.abstract Memory
Removes all Messages from this Memory that matches the JMS message selector and returns this Memory.QueueMemory.remove
(int index) HeapMemory.removeOlderThan
(long time) HeapMemory.removeOlderThan
(long time, boolean executeCallback) abstract Memory
Memory.removeOlderThan
(long time) Removes all Messages with a store time older than time.abstract Memory
Memory.removeOlderThan
(long time, boolean executeCallback) Internal use.QueueMemory.removeOlderThan
(long time) QueueMemory.removeOlderThan
(long time, boolean executeCallback) Memory[]
GroupResult.result()
Returns the result as an array of Memories.Memory.reverse()
Reverses the Message order of this Memory and returns a new Memory with the result.abstract Memory
Applies a JMS message selector to all Messages in this Memory and returns a new non-queue Memory with the result.Sorts all Messages of this Memory over a Property and returns a new Memory with the result.Determines the sum of all values of a Property and returns the result as a new non-queue Memory with Messages that contains 2 Properties, the grouping Property and the sum Property.Modifier and TypeMethodDescriptionvoid
Single method to be executed for each Memory of a MemoryGroupvoid
Single method which is called during Memory.checkLimit().Performs an inner join with the right Memory over the named join Property name which must exists in the Messages of both Memories.Performs an inner join with the right Memory. -
Uses of Memory in com.swiftmq.impl.streams.comp.memory.limit
ModifierConstructorDescriptionLimitBuilder
(StreamContext ctx, Memory memory) Internal use only.TimeUnitChangeLimit
(StreamContext ctx, Memory memory) Internal use only.