Search in sources :

Example 6 with InMemSpillableStateStore

use of org.apache.apex.malhar.lib.state.spillable.inmem.InMemSpillableStateStore in project apex-malhar by apache.

the class SpillableArrayListImplTest method simpleAddGetAndSetTest3.

@Test
public void simpleAddGetAndSetTest3() {
    InMemSpillableStateStore store = new InMemSpillableStateStore();
    simpleAddGetAndSetTest3Helper(store);
}
Also used : InMemSpillableStateStore(org.apache.apex.malhar.lib.state.spillable.inmem.InMemSpillableStateStore) Test(org.junit.Test)

Example 7 with InMemSpillableStateStore

use of org.apache.apex.malhar.lib.state.spillable.inmem.InMemSpillableStateStore in project apex-malhar by apache.

the class SpillableSetImplTest method simpleAddGetAndSetTest.

@Test
public void simpleAddGetAndSetTest() {
    InMemSpillableStateStore store = new InMemSpillableStateStore();
    simpleAddGetAndSetTestHelper(store);
}
Also used : InMemSpillableStateStore(org.apache.apex.malhar.lib.state.spillable.inmem.InMemSpillableStateStore) Test(org.junit.Test)

Example 8 with InMemSpillableStateStore

use of org.apache.apex.malhar.lib.state.spillable.inmem.InMemSpillableStateStore in project apex-malhar by apache.

the class SpillableMapImplTest method setup.

private void setup(String opt) {
    if (opt.equals("InMem")) {
        store = new InMemSpillableStateStore();
        te = null;
    } else if (opt.equals("ManagedState")) {
        store = testMeta.store;
        te = null;
    } else {
        store = testMeta.timeStore;
        te = TE;
    }
}
Also used : InMemSpillableStateStore(org.apache.apex.malhar.lib.state.spillable.inmem.InMemSpillableStateStore)

Example 9 with InMemSpillableStateStore

use of org.apache.apex.malhar.lib.state.spillable.inmem.InMemSpillableStateStore in project apex-malhar by apache.

the class SpillableSetMultimapImplTest method simpleMultiKeyTest.

@Test
public void simpleMultiKeyTest() {
    InMemSpillableStateStore store = new InMemSpillableStateStore();
    simpleMultiKeyTestHelper(store);
}
Also used : InMemSpillableStateStore(org.apache.apex.malhar.lib.state.spillable.inmem.InMemSpillableStateStore) Test(org.junit.Test)

Aggregations

InMemSpillableStateStore (org.apache.apex.malhar.lib.state.spillable.inmem.InMemSpillableStateStore)9 Test (org.junit.Test)7 SpillableComplexComponentImpl (org.apache.apex.malhar.lib.state.spillable.SpillableComplexComponentImpl)1