public class LogStore extends Object implements Store
OutriggerServerImpl
Constructor and Description |
---|
LogStore(Configuration config)
Create a new
LogStore . |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the store, release VM resources (stop independent
threads, close files, etc.) but do not destroy any persistent
state.
|
void |
destroy()
Destroy everything.
|
LogOps |
setupStore(Recover space)
Setup store, recover previous state if any.
|
public LogStore(Configuration config) throws ConfigurationException
LogStore
.config
- the directory to use for persistence.ConfigurationException
- if there's a problem with the configuration.public LogOps setupStore(Recover space)
setupStore
in interface Store
space
- object used for recovery of previous statepublic void destroy() throws IOException
destroy
in interface Store
IOException
- if an IO related exception occurs.public void close() throws IOException
Store
OutriggerServerImpl
constructor.close
in interface Store
IOException
- if an IO related exception occurs.Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.