use of com.netflix.titus.api.store.v2.ApplicationSlaStoreCache in project titus-control-plane by Netflix.
the class ApplicationSlaStoreCacheTest method setUp.
@Before
public void setUp() throws Exception {
when(delegate.findAll()).thenReturn(Observable.from(initSet));
store = new ApplicationSlaStoreCache(delegate);
store.enterActiveMode();
}
use of com.netflix.titus.api.store.v2.ApplicationSlaStoreCache in project titus-control-plane by Netflix.
the class InMemoryApplicationSlaStoreTest method createStore.
private ApplicationSlaStore createStore() {
ApplicationSlaStoreCache applicationSlaStoreCache = new ApplicationSlaStoreCache(new InMemoryApplicationSlaStore());
applicationSlaStoreCache.enterActiveMode();
return applicationSlaStoreCache;
}
Aggregations