public class FileReloadingMemoryStore
extends org.openrdf.sail.helpers.SailBase
implements org.openrdf.sail.NotifyingSail
Constructor and Description |
---|
FileReloadingMemoryStore(String filename) |
Modifier and Type | Method and Description |
---|---|
void |
addSailChangedListener(org.openrdf.sail.SailChangedListener listener) |
void |
attachReload(String filename) |
org.openrdf.sail.NotifyingSailConnection |
getConnection() |
org.openrdf.model.ValueFactory |
getValueFactory() |
void |
handleFileChange(File file) |
void |
initialize() |
boolean |
isWritable() |
void |
notifySailChanged(org.openrdf.sail.SailChangedEvent event)
Notifies all registered SailChangedListener's of changes to the contents
of this Sail.
|
void |
removeSailChangedListener(org.openrdf.sail.SailChangedListener listener) |
getDataDir, setDataDir, shutDown, toString
public FileReloadingMemoryStore(String filename)
public void initialize() throws org.openrdf.sail.SailException
initialize
in interface org.openrdf.sail.Sail
initialize
in class org.openrdf.sail.helpers.SailBase
org.openrdf.sail.SailException
public org.openrdf.sail.NotifyingSailConnection getConnection() throws org.openrdf.sail.SailException
getConnection
in interface org.openrdf.sail.NotifyingSail
getConnection
in interface org.openrdf.sail.Sail
getConnection
in class org.openrdf.sail.helpers.SailBase
org.openrdf.sail.SailException
public void addSailChangedListener(org.openrdf.sail.SailChangedListener listener)
addSailChangedListener
in interface org.openrdf.sail.NotifyingSail
public void removeSailChangedListener(org.openrdf.sail.SailChangedListener listener)
removeSailChangedListener
in interface org.openrdf.sail.NotifyingSail
public void notifySailChanged(org.openrdf.sail.SailChangedEvent event)
public boolean isWritable() throws org.openrdf.sail.SailException
isWritable
in interface org.openrdf.sail.Sail
org.openrdf.sail.SailException
public org.openrdf.model.ValueFactory getValueFactory()
getValueFactory
in interface org.openrdf.sail.Sail
public void handleFileChange(File file)
Copyright © 2015 SemaGrow - FP7. All rights reserved.