32333435363738
@Before public void setup() { final EhcacheDatastoreProvider datastoreProvider = new EhcacheDatastoreProvider(); datastoreProvider.configure( new HashMap() ); datastoreProvider.start(); dialect = new EhcacheDialect( datastoreProvider ); }
88899091929394
return configuration.configureOptionsFor( Ehcache.class ); } @Override public GridDialect getGridDialect(DatastoreProvider datastoreProvider) { return new EhcacheDialect( (EhcacheDatastoreProvider) datastoreProvider ); }