Package com.senseidb.indexing

Examples of com.senseidb.indexing.ShardingStrategy


            zoieConfig.setFreshness(delay * 1000);
        } else {
            readercachefactory = SimpleReaderCache.FACTORY;
        }
        zoieConfig.setReadercachefactory(readercachefactory);
        ShardingStrategy strategy = pluginRegistry.getBeanByFullPrefix(SENSEI_SHARDING_STRATEGY, ShardingStrategy.class);
        if (strategy == null) {
            strategy = new ShardingStrategy.FieldModShardingStrategy(_senseiSchema.getUidField());
        }

        Filter retentionFilter =
View Full Code Here


      platformMBeanServer = JmxUtil.registerNewJmxServer(new MockJMXServer());
      defaultJsonSchemaInterpreter = new DefaultJsonSchemaInterpreter(schema);
      facets = new ArrayList<FacetHandler<?>>();
      runtimeFacets = new ArrayList<RuntimeFacetHandlerFactory<?, ?>>();

      ShardingStrategy strategy = new ShardingStrategy() {
        public int caculateShard(int maxShardId, JSONObject dataObj) throws JSONException {
          return 0;
        }
      };
      ActivityPersistenceFactory.setOverrideForCurrentThread(ActivityPersistenceFactory.getInMemoryInstance());
View Full Code Here

TOP

Related Classes of com.senseidb.indexing.ShardingStrategy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.