@Test public void testFindShard() { String shard = DefaultShardStrategy.getInstance().findShard(TestModel.TEST_PATH); Assert.assertEquals(DefaultShardStrategy.DEFAULT_SHARD, shard); }
@Override public String findShard(YangInstanceIdentifier path) { return DEFAULT_SHARD; }
DefaultShardStrategy implements ShardStrategy { @Override public String findShard(YangInstanceIdentifier path) { return DEFAULT_SHARD; } }
DefaultShardStrategy implements ShardStrategy { @Override public String findShard(YangInstanceIdentifier path) { return DEFAULT_SHARD; } private  DefaultShardStrategy(); }
DefaultShardStrategy implements ShardStrategy { @Override public String findShard(YangInstanceIdentifier path) { return DEFAULT_SHARD; } private  DefaultShardStrategy(); static DefaultShardStrategy getInstance(); @Override String findShard(YangInstanceIdentifier path); @Override YangInstanceIdentifier getPrefixForPath(YangInstanceIdentifier path); }
DefaultShardStrategy implements ShardStrategy { @Override public String findShard(YangInstanceIdentifier path) { return DEFAULT_SHARD; } private  DefaultShardStrategy(); static DefaultShardStrategy getInstance(); @Override String findShard(YangInstanceIdentifier path); @Override YangInstanceIdentifier getPrefixForPath(YangInstanceIdentifier path); static final String NAME; static final String DEFAULT_SHARD; }