- public List<String> getShardList() {
- return this.shardList;
- }
-
- /**
- * Creates a ShardManagerSnapshot.
- *
- * @deprecated This method is for migration only and should me removed once
- * org.opendaylight.controller.cluster.datastore.ShardManagerSnapshot is removed.
- */
- @Deprecated
- public static ShardManagerSnapshot forShardList(final @Nonnull List<String> shardList) {
- return new ShardManagerSnapshot(shardList);
+ private Object readResolve() {
+ return new org.opendaylight.controller.cluster.datastore.persisted.ShardManagerSnapshot(shardList);