From 6a49dec70bce73527d300c9f035c267f00018999 Mon Sep 17 00:00:00 2001 From: Theodora-Mara Pislar <tmp1u19@soton.ac.uk> Date: Sun, 25 Apr 2021 23:39:17 +0100 Subject: [PATCH] Add main function --- src/Controller.java | 4 ++++ src/Dstore.java | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/Controller.java b/src/Controller.java index 5e258c3..06620e0 100644 --- a/src/Controller.java +++ b/src/Controller.java @@ -23,4 +23,8 @@ public class Controller { // maintains an index with the allocation of files to Dstores // waits for Dstores to join the datastore (rebalance operation) // it doesn't serve any client request until at least R Dstores have joined the system + + public static void main (String[] args) { + + } } \ No newline at end of file diff --git a/src/Dstore.java b/src/Dstore.java index 20bfc0c..039ecbd 100644 --- a/src/Dstore.java +++ b/src/Dstore.java @@ -15,4 +15,8 @@ public class Dstore { this.timeout = timeout; this. file_folder = file_folder; } + + public static void main (String[] args) { + + } } \ No newline at end of file -- GitLab