Package org.gcube.smartgears.persistence
Class LocalWriter
java.lang.Object
org.gcube.smartgears.persistence.LocalWriter
- All Implemented Interfaces:
Configurable,PersistenceWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(ComponentConfiguration configuration) Configures the component with the given configuration.longvoidsetLocation(String location) voidvalidate()
-
Constructor Details
-
LocalWriter
public LocalWriter()
-
-
Method Details
-
configure
Description copied from interface:ConfigurableConfigures the component with the given configuration.- Specified by:
configurein interfaceConfigurable- Parameters:
configuration- the component configuration
-
getLocation
- Specified by:
getLocationin interfacePersistenceWriter
-
setLocation
-
writefile
- Specified by:
writefilein interfacePersistenceWriter
-
file
- Specified by:
filein interfacePersistenceWriter
-
validate
public void validate() -
getFreeSpace
public long getFreeSpace()- Specified by:
getFreeSpacein interfacePersistenceWriter
-