From d3fa52546f7fa5f29f6061ef9a7973d286bf5e8b Mon Sep 17 00:00:00 2001 From: "Frank.R.Wu" Date: Thu, 18 Nov 2021 13:47:04 +0800 Subject: [PATCH] feat: update ContractExecutor and implementation classes use default function of interface to update ContractExecutor; add TODO logs in SelfAdaptiveShardingExecutor --- .../java/org/bdware/server/trustedmodel/ContractExecutor.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/bdware/server/trustedmodel/ContractExecutor.java b/src/main/java/org/bdware/server/trustedmodel/ContractExecutor.java index 08efce3..7bcac1d 100644 --- a/src/main/java/org/bdware/server/trustedmodel/ContractExecutor.java +++ b/src/main/java/org/bdware/server/trustedmodel/ContractExecutor.java @@ -5,4 +5,7 @@ import org.bdware.sc.conn.ResultCallback; public interface ContractExecutor { void execute(String requestID, ResultCallback rc, ContractRequest req); + + default void close() { + } }