TiStore: add implement Serializable (#251)

Signed-off-by: liangyouze <liangyouze876@gmail.com>

Co-authored-by: liangyouze <liangyouze876@gmail.com>
This commit is contained in:
youze Liang 2021-08-09 14:13:31 +08:00 committed by GitHub
parent 5aebd12a37
commit 68e097dea4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1,10 +1,11 @@
package org.tikv.common.region;
import java.io.Serializable;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicLong;
import org.tikv.kvproto.Metapb;
public class TiStore {
public class TiStore implements Serializable {
private static long MAX_FAIL_FORWARD_TIMES = 4;
private final Metapb.Store store;
private final Metapb.Store proxyStore;