Class ClearableAwareUpdate
- java.lang.Object
-
- org.eclipse.rdf4j.spring.support.query.DelegatingUpdate
-
- org.eclipse.rdf4j.spring.resultcache.ClearableAwareUpdate
-
- All Implemented Interfaces:
org.eclipse.rdf4j.query.Operation,org.eclipse.rdf4j.query.Update
public class ClearableAwareUpdate extends DelegatingUpdate
Update that, upon each invocation ofexecute(), clears the result cache it is aware of.- Since:
- 4.0.0
- Author:
- Florian Kleedorfer
-
-
Constructor Summary
Constructors Constructor Description ClearableAwareUpdate(org.eclipse.rdf4j.query.Update delegate, Clearable clearable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()voidrenewClearable(Clearable clearable)-
Methods inherited from class org.eclipse.rdf4j.spring.support.query.DelegatingUpdate
clearBindings, getBindings, getDataset, getDelegate, getIncludeInferred, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxExecutionTime
-
-
-
-
Constructor Detail
-
ClearableAwareUpdate
public ClearableAwareUpdate(org.eclipse.rdf4j.query.Update delegate, Clearable clearable)
-
-
Method Detail
-
execute
public void execute() throws org.eclipse.rdf4j.query.UpdateExecutionException- Specified by:
executein interfaceorg.eclipse.rdf4j.query.Update- Overrides:
executein classDelegatingUpdate- Throws:
org.eclipse.rdf4j.query.UpdateExecutionException
-
renewClearable
public void renewClearable(Clearable clearable)
-
-