use of org.apache.apex.malhar.lib.window.impl.InMemoryWindowedKeyedStorage in project apex-malhar by apache.
the class KeyedWindowedOperatorBenchmarkApp method createRetractionStorage.
@Override
protected WindowedStorage createRetractionStorage(SpillableComplexComponentImpl sccImpl) {
if (useInMemoryStorage) {
return new InMemoryWindowedKeyedStorage();
}
SpillableWindowedKeyedStorage retractionStorage = new SpillableWindowedKeyedStorage();
retractionStorage.setSpillableComplexComponent(sccImpl);
return retractionStorage;
}
use of org.apache.apex.malhar.lib.window.impl.InMemoryWindowedKeyedStorage in project apex-malhar by apache.
the class KeyedWindowedOperatorBenchmarkApp method createDataStorage.
@Override
protected WindowedStorage createDataStorage(SpillableComplexComponentImpl sccImpl) {
if (useInMemoryStorage) {
return new InMemoryWindowedKeyedStorage();
}
SpillableWindowedKeyedStorage dataStorage = new SpillableWindowedKeyedStorage();
dataStorage.setSpillableComplexComponent(sccImpl);
return dataStorage;
}
Aggregations