Package com.eventstore.dbclient
Class CreateProjectionOptions
- java.lang.Object
-
- com.eventstore.dbclient.CreateProjectionOptions
-
public class CreateProjectionOptions extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ConnectionMetadatametadataprotected Timeoutstimeouts
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Tauthenticated(UserCredentials credentials)CreateProjectionOptionsemitEnabled(boolean value)static CreateProjectionOptionsget()io.grpc.MetadatagetMetadata()TimeoutsgetTimeouts()booleanhasUserCredentials()booleanisEmitEnabled()booleanisTrackingEmittedStreams()TnotRequireLeader()TrequiresLeader()TrequiresLeader(boolean value)Ttimeouts(Timeouts timeouts)CreateProjectionOptionstrackEmittedStreams(boolean trackEmittedStreams)
-
-
-
Field Detail
-
timeouts
protected Timeouts timeouts
-
metadata
protected final ConnectionMetadata metadata
-
-
Method Detail
-
get
public static CreateProjectionOptions get()
-
isTrackingEmittedStreams
public boolean isTrackingEmittedStreams()
-
isEmitEnabled
public boolean isEmitEnabled()
-
trackEmittedStreams
public CreateProjectionOptions trackEmittedStreams(boolean trackEmittedStreams)
-
emitEnabled
public CreateProjectionOptions emitEnabled(boolean value)
-
getTimeouts
public Timeouts getTimeouts()
-
timeouts
public T timeouts(Timeouts timeouts)
-
getMetadata
public io.grpc.Metadata getMetadata()
-
hasUserCredentials
public boolean hasUserCredentials()
-
authenticated
public T authenticated(UserCredentials credentials)
-
requiresLeader
public T requiresLeader()
-
notRequireLeader
public T notRequireLeader()
-
requiresLeader
public T requiresLeader(boolean value)
-
-