@Test public void testSerialization() { ShardManagerSnapshot expected = new ShardManagerSnapshot(Arrays.asList("shard1", "shard2"), Collections.emptyMap()); ShardManagerSnapshot cloned = (ShardManagerSnapshot) SerializationUtils.clone(expected); assertEquals("getShardList", expected.getShardList(), cloned.getShardList()); }
public List<String> getShardList() { return this.shardList; }
ShardManagerSnapshot implements Serializable { public List<String> getShardList() { return this.shardList; } }
ShardManagerSnapshot implements Serializable { public List<String> getShardList() { return this.shardList; } ShardManagerSnapshot(final @NonNull List<String> shardList,
                                final Map<DOMDataTreeIdentifier, PrefixShardConfiguration> prefixShardConfiguration); }
ShardManagerSnapshot implements Serializable { public List<String> getShardList() { return this.shardList; } ShardManagerSnapshot(final @NonNull List<String> shardList,
                                final Map<DOMDataTreeIdentifier, PrefixShardConfiguration> prefixShardConfiguration); List<String> getShardList(); @Override String toString(); }
ShardManagerSnapshot implements Serializable { public List<String> getShardList() { return this.shardList; } ShardManagerSnapshot(final @NonNull List<String> shardList,
                                final Map<DOMDataTreeIdentifier, PrefixShardConfiguration> prefixShardConfiguration); List<String> getShardList(); @Override String toString();  }