org.apache.sirona.cube
Class DisruptorPathTrackingDataStore

java.lang.Object
  extended by org.apache.sirona.store.tracking.InMemoryPathTrackingDataStore
      extended by org.apache.sirona.store.tracking.BatchPathTrackingDataStore
          extended by org.apache.sirona.cube.DisruptorPathTrackingDataStore
All Implemented Interfaces:
CollectorPathTrackingDataStore, PathTrackingDataStore

public class DisruptorPathTrackingDataStore
extends BatchPathTrackingDataStore
implements CollectorPathTrackingDataStore


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.sirona.store.tracking.InMemoryPathTrackingDataStore
InMemoryPathTrackingDataStore.Pointer
 
Field Summary
 
Fields inherited from class org.apache.sirona.store.tracking.BatchPathTrackingDataStore
scheduledTask
 
Constructor Summary
DisruptorPathTrackingDataStore()
           
 
Method Summary
 void destroy()
           
 int getNumberOfConsumers()
           
 com.lmax.disruptor.RingBuffer<PathTrackingEntry> getRingBuffer()
           
 int getRingBufferSize()
           
 void initialize()
           
protected  void pushEntriesByBatch(Map<String,List<InMemoryPathTrackingDataStore.Pointer>> pathTrackingEntries)
           
 void setNumberOfConsumers(int numberOfConsumers)
           
 void setRingBuffer(com.lmax.disruptor.RingBuffer<PathTrackingEntry> ringBuffer)
           
 void setRingBufferSize(int ringBufferSize)
           
 void store(PathTrackingEntry pathTrackingEntry)
           
 
Methods inherited from class org.apache.sirona.store.tracking.BatchPathTrackingDataStore
getPeriod, initBatch
 
Methods inherited from class org.apache.sirona.store.tracking.InMemoryPathTrackingDataStore
clearEntries, getPathTrackingEntries, getPointers, readBytes, retrieve, retrieveTrackingIds, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.sirona.store.tracking.PathTrackingDataStore
clearEntries, retrieve, retrieveTrackingIds, store
 

Constructor Detail

DisruptorPathTrackingDataStore

public DisruptorPathTrackingDataStore()
Method Detail

initialize

public void initialize()

store

public void store(PathTrackingEntry pathTrackingEntry)
Specified by:
store in interface PathTrackingDataStore
Overrides:
store in class InMemoryPathTrackingDataStore

pushEntriesByBatch

protected void pushEntriesByBatch(Map<String,List<InMemoryPathTrackingDataStore.Pointer>> pathTrackingEntries)
Specified by:
pushEntriesByBatch in class BatchPathTrackingDataStore

getRingBuffer

public com.lmax.disruptor.RingBuffer<PathTrackingEntry> getRingBuffer()

setRingBuffer

public void setRingBuffer(com.lmax.disruptor.RingBuffer<PathTrackingEntry> ringBuffer)

getNumberOfConsumers

public int getNumberOfConsumers()

setNumberOfConsumers

public void setNumberOfConsumers(int numberOfConsumers)

getRingBufferSize

public int getRingBufferSize()

setRingBufferSize

public void setRingBufferSize(int ringBufferSize)

destroy

public void destroy()


Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.