Class DefaultWriteStrategyFactory
java.lang.Object
org.eclipse.rdf4j.federated.write.DefaultWriteStrategyFactory
- All Implemented Interfaces:
WriteStrategyFactory
Default implementation of
WriteStrategyFactory
.
The default implementation uses the RepositoryWriteStrategy
with the first discovered writable
Endpoint
. In none is found, the ReadOnlyWriteStrategy
is used.
- Author:
- Andreas Schwarte
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(List<Endpoint> members, FederationContext federationContext) Create theWriteStrategy
using the provided context
-
Constructor Details
-
DefaultWriteStrategyFactory
public DefaultWriteStrategyFactory()
-
-
Method Details
-
create
Description copied from interface:WriteStrategyFactory
Create theWriteStrategy
using the provided context- Specified by:
create
in interfaceWriteStrategyFactory
- Parameters:
members
- the current federation membersfederationContext
- the federation context- Returns:
- the
WriteStrategy
-