Class MemoryBuilder
java.lang.Object
com.swiftmq.impl.streams.comp.memory.MemoryBuilder
Factory to create Memories.
- Author:
- IIT Software GmbH, Muenster/Germany, (c) 2016, All Rights Reserved
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionheap()
Creates a Memory that stores Messages on the HeapCreates a Memory that stores Messages in a regular QueuesharedQueue
(String queueName) Creates a Memory that stores Messages in a regular Queue and shared that Queue with other QueueMemories of the same StreamCreates a Memory that stores Messages in a Temporary Queue
-
Constructor Details
-
MemoryBuilder
Internal use.
-
-
Method Details
-
heap
Creates a Memory that stores Messages on the Heap- Returns:
- HeapMemory
-
queue
Creates a Memory that stores Messages in a regular Queue- Parameters:
queueName
- Queue that serves as a persistent store- Returns:
- QueueMemory
- Throws:
Exception
-
tempqueue
Creates a Memory that stores Messages in a Temporary Queue- Returns:
- TempQueueMemory
- Throws:
Exception
-