|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.sparql.benchmarking.loader.InMemoryOperations
public class InMemoryOperations
Static helper class for registering the in-memory operations in place of the standard remote operations
Method Summary | |
---|---|
static void |
restoreRemoteOperations()
Restores the registration of the remote operations that may have been overridden by previous calls to useInMemoryOperations() |
static void |
useInMemoryOperations()
Registers the in-memory versions of various operations in place of the normal remote operations with the OperationLoaderRegistry . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void useInMemoryOperations()
OperationLoaderRegistry
. This
allows for mixes written for remote systems to also be run against local
systems without having to edit the mix.
Note that even without having called this method you can still use the
in-memory operations directly in your mix by adding the mem-
prefix to the standard operation names e.g. mem-query
instead of
query
.
You can call restoreRemoteOperations()
to restore the normal
operation mappings. This is usually preferable to calling
OperationLoaderRegistry.resetLoaders()
since it will only restore
the built-in remote operations and not remove any custom operations you
may have registered.
public static void restoreRemoteOperations()
useInMemoryOperations()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |