Package bftsmart.reconfiguration.views
Class DefaultViewStorage
- java.lang.Object
-
- bftsmart.reconfiguration.views.DefaultViewStorage
-
- All Implemented Interfaces:
ViewStorage
public class DefaultViewStorage extends java.lang.Object implements ViewStorage
-
-
Constructor Summary
Constructors Constructor Description DefaultViewStorage(java.lang.String configPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBytes(View view)ViewgetView(byte[] bytes)ViewreadView()booleanstoreView(View view)
-
-
-
Method Detail
-
storeView
public boolean storeView(View view)
- Specified by:
storeViewin interfaceViewStorage
-
readView
public View readView()
- Specified by:
readViewin interfaceViewStorage
-
getBytes
public byte[] getBytes(View view)
-
getView
public View getView(byte[] bytes)
-
-