Class StorageRestServiceSparkJava
java.lang.Object
one.microstream.storage.restservice.sparkjava.StorageRestServiceSparkJava
- All Implemented Interfaces:
StorageRestService
public class StorageRestServiceSparkJava extends Object implements StorageRestService
-
Constructor Summary
Constructors Constructor Description StorageRestServiceSparkJava()
-
Method Summary
Modifier and Type Method Description static StorageRestServiceSparkJava
New(StorageRestAdapter storageRestAdapter)
static StorageRestServiceSparkJava
New(EmbeddedStorageManager storage)
void
setDefaultDataLength(long defaultDataLength)
void
setInstanceName(String name)
void
setSparkService(spark.Service sparkService)
void
start()
Start the servicevoid
stop()
stop the service
-
Constructor Details
-
StorageRestServiceSparkJava
public StorageRestServiceSparkJava()
-
-
Method Details
-
New
-
New
-
setInstanceName
-
setSparkService
public void setSparkService(spark.Service sparkService) -
setDefaultDataLength
public void setDefaultDataLength(long defaultDataLength) -
start
public void start()Description copied from interface:StorageRestService
Start the service- Specified by:
start
in interfaceStorageRestService
-
stop
public void stop()Description copied from interface:StorageRestService
stop the service- Specified by:
stop
in interfaceStorageRestService
-