C# Класс EventStore.Core.VNodeBuilder

Allows a client to build a ClusterVNode for use with the Embedded client API by specifying high level options rather than using the constructor of ClusterVNode directly.
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_addInterfacePrefixes bool
_adminOnPublic bool
_alwaysKeepScavenged bool
_authenticationProviderFactory IAuthenticationProviderFactory
_betterOrdering bool
_cachedChunks int
_certificate System.Security.Cryptography.X509Certificates.X509Certificate2
_chunkSize int
_chunksCacheSize long
_clusterDns string
_clusterGossipPort int
_clusterNodeCount int
_commitAckCount int
_commitTimeout System.TimeSpan
_db EventStore.Core.TransactionLog.Chunks.TFChunkDb
_dbConfig EventStore.Core.TransactionLog.Chunks.TFChunkDbConfig
_dbPath string
_disableHTTPCaching bool
_disableScavengeMerging bool
_discoverViaDns bool
_enableHistograms bool
_enableTrustedAuth bool
_extHttpPrefixes List
_extTcpHeartbeatInterval System.TimeSpan
_extTcpHeartbeatTimeout System.TimeSpan
_externalHttp System.Net.IPEndPoint
_externalSecureTcp System.Net.IPEndPoint
_externalTcp System.Net.IPEndPoint
_gossipAdvertiseInfo EventStore.Core.Data.GossipAdvertiseInfo
_gossipAllowedTimeDifference System.TimeSpan
_gossipInterval System.TimeSpan
_gossipOnPublic bool
_gossipSeeds List
_gossipTimeout System.TimeSpan
_hashCollisionReadLimit int
_inMemoryDb bool
_index string
_indexBitnessVersion byte
_indexCacheDepth int
_intHttpPrefixes List
_intTcpHeartbeatInterval System.TimeSpan
_intTcpHeartbeatTimeout System.TimeSpan
_internalHttp System.Net.IPEndPoint
_internalSecureTcp System.Net.IPEndPoint
_internalTcp System.Net.IPEndPoint
_log ILogger
_logHttpRequests bool
_maxMemtableSize int
_minFlushDelay System.TimeSpan
_nodePriority int
_prepareAckCount int
_prepareTimeout System.TimeSpan
_projectionType ProjectionType
_projectionsThreads int
_readerThreadsCount int
_scavengeHistoryMaxAge int
_skipVerifyDbHashes bool
_sslTargetHost string
_sslValidateServer bool
_startStandardProjections bool
_statsOnPublic bool
_statsPeriod System.TimeSpan
_statsStorage StatsStorage
_subsystems List
_unsafeDisableFlushToDisk bool
_unsafeIgnoreHardDelete bool
_useSsl bool
_vNodeSettings EventStore.Core.Cluster.Settings.ClusterVNodeSettings
_workerThreads int

Открытые методы

Метод Описание
AddCustomSubsystem ( ISubsystem subsystem ) : VNodeBuilder

Adds a custom subsystem to the builder. NOTE: This is an advanced use case that most people will never need!

AddExternalHttpPrefix ( string prefix ) : VNodeBuilder

Adds a http prefix for the external http endpoint

AddInternalHttpPrefix ( string prefix ) : VNodeBuilder

Adds a http prefix for the internal http endpoint

AdvertiseExternalHttpPortAs ( int extHttpPortAdvertiseAs ) : VNodeBuilder

Sets up the External Http Port that would be advertised

AdvertiseExternalIPAs ( IPAddress extIpAdvertiseAs ) : VNodeBuilder

Sets up the External IP that would be advertised

AdvertiseExternalSecureTCPPortAs ( int extSecureTcpPortAdvertiseAs ) : VNodeBuilder

Sets up the External Secure TCP Port that would be advertised

AdvertiseExternalTCPPortAs ( int extTcpPortAdvertiseAs ) : VNodeBuilder

Sets up the External TCP Port that would be advertised

AdvertiseInternalHttpPortAs ( int intHttpPortAdvertiseAs ) : VNodeBuilder

Sets up the Internal Http Port that would be advertised

AdvertiseInternalIPAs ( IPAddress intIpAdvertiseAs ) : VNodeBuilder

Sets up the Internal IP that would be advertised

AdvertiseInternalSecureTCPPortAs ( int intSecureTcpPortAdvertiseAs ) : VNodeBuilder

Sets up the Internal Secure TCP Port that would be advertised

AdvertiseInternalTCPPortAs ( int intTcpPortAdvertiseAs ) : VNodeBuilder

Sets up the Internal TCP Port that would be advertised

AlwaysKeepScavenged ( ) : VNodeBuilder

The newer chunks during a scavenge are always kept

Build ( IOptions options = null, IPersistentSubscriptionConsumerStrategyFactory consumerStrategies = null ) : EventStore.Core.ClusterVNode

Converts an VNodeBuilder to a ClusterVNode.

DisableDnsDiscovery ( ) : VNodeBuilder

Disable dns discovery for the cluster

DisableHTTPCaching ( ) : VNodeBuilder

Disable HTTP Caching.

DisableScavengeMerging ( ) : VNodeBuilder

Disables the merging of chunks when scavenge is running

DoNotVerifyDbHashes ( ) : VNodeBuilder

Marks that the existing database files should not be checked for checksums on startup.

DontAddInterfacePrefixes ( ) : VNodeBuilder

Don't add the interface prefixes (e.g. If the External IP is set to the Loopback address, we'll add http://localhost:2113/ as a prefix)

EnableHistograms ( ) : VNodeBuilder

Enable the tracking of various histograms in the backend, typically only used for debugging

EnableLoggingOfHttpRequests ( ) : VNodeBuilder

Enable logging of Http Requests and Responses before they are processed

EnableSsl ( ) : VNodeBuilder

Sets that SSL should be used on connections

EnableTrustedAuth ( ) : VNodeBuilder

Enable trusted authentication by an intermediary in the HTTP

HavingReaderThreads ( int readerThreadsCount ) : VNodeBuilder

Sets the number of reader threads to process read requests.

MaximumMemoryTableSizeOf ( int size ) : VNodeBuilder

Sets the maximum size a memtable is allowed to reach (in count) before being moved to be a ptable

NoAdminOnPublicInterface ( ) : VNodeBuilder

Disables the admin interface on the public (client) interface

NoGossipOnPublicInterface ( ) : VNodeBuilder

Disables gossip on the public (client) interface

NoStatsOnPublicInterface ( ) : VNodeBuilder

Disables statistics screens on the public (client) interface

OnDefaultEndpoints ( ) : VNodeBuilder

Sets the default endpoints on localhost (1113 tcp, 2113 http)

RunInMemory ( ) : VNodeBuilder

Returns a builder set to run in memory only

RunOnDisk ( string path ) : VNodeBuilder

Returns a builder set to write database files to the specified path

RunProjections ( ProjectionType projectionType, int numberOfThreads = Opts.ProjectionThreadsDefault ) : VNodeBuilder

Sets the mode and the number of threads on which to run projections.

StartStandardProjections ( ) : VNodeBuilder

Start standard projections.

ValidateSslServer ( ) : VNodeBuilder

Sets whether to validate that the server's certificate is trusted.

VerifyDbHashes ( ) : VNodeBuilder

Marks that the existing database files should be checked for checksums on startup.

WithAuthenticationProvider ( IAuthenticationProviderFactory authenticationProviderFactory ) : VNodeBuilder

Sets the authentication provider factory to use

WithBetterOrdering ( ) : VNodeBuilder

Enable Queue affinity on reads during write process to try to get better ordering.

WithClusterDnsName ( string name ) : VNodeBuilder

Sets the dns name used for the discovery of other cluster nodes

WithClusterGossipPort ( int port ) : VNodeBuilder

Sets the internal gossip port (used when using cluster dns, this should point to a known port gossip will be running on)

WithCommitCount ( int commitCount ) : VNodeBuilder

Sets the number of nodes which must acknowledge commits before acknowledging to a client. The minimum allowed value is one greater than half the cluster size.

WithCommitTimeout ( System.TimeSpan commitTimeout ) : VNodeBuilder

Sets the commit timeout

WithExternalHeartbeatInterval ( System.TimeSpan heartbeatInterval ) : VNodeBuilder

Sets the heartbeat interval for the external network interface.

WithExternalHeartbeatTimeout ( System.TimeSpan heartbeatTimeout ) : VNodeBuilder

Sets the heartbeat timeout for the external network interface.

WithExternalHttpOn ( IPEndPoint endpoint ) : VNodeBuilder

Sets the external http endpoint to the specified value

WithExternalSecureTcpOn ( IPEndPoint endpoint ) : VNodeBuilder

Sets the external secure tcp endpoint to the specified value

WithExternalTcpOn ( IPEndPoint endpoint ) : VNodeBuilder

Sets the external tcp endpoint to the specified value

WithGossipAllowedTimeDifference ( System.TimeSpan gossipAllowedDifference ) : VNodeBuilder

Sets the allowed gossip time difference

WithGossipInterval ( System.TimeSpan gossipInterval ) : VNodeBuilder

Sets the gossip interval

WithGossipSeeds ( ) : VNodeBuilder

Sets the gossip seeds this node should talk to

WithGossipTimeout ( System.TimeSpan gossipTimeout ) : VNodeBuilder

Sets the gossip timeout

WithHashCollisionReadLimitOf ( int hashCollisionReadLimit ) : VNodeBuilder

Sets the maximum number of events to read in case of a stream Id hash collision

WithIndexBitnessVersion ( byte indexBitnessVersion ) : VNodeBuilder

The bitness version of the indexes

WithIndexCacheDepth ( int indexCacheDepth ) : VNodeBuilder

Sets the depth to cache for the mid point cache in index

WithIndexPath ( string indexPath ) : VNodeBuilder

Sets the path the index should be loaded/saved to

WithInternalHeartbeatInterval ( System.TimeSpan heartbeatInterval ) : VNodeBuilder

Sets the heartbeat interval for the internal network interface.

WithInternalHeartbeatTimeout ( System.TimeSpan heartbeatTimeout ) : VNodeBuilder

Sets the heartbeat timeout for the internal network interface.

WithInternalHttpOn ( IPEndPoint endpoint ) : VNodeBuilder

Sets the internal http endpoint to the specified value

WithInternalSecureTcpOn ( IPEndPoint endpoint ) : VNodeBuilder

Sets the internal secure tcp endpoint to the specified value

WithInternalTcpOn ( IPEndPoint endpoint ) : VNodeBuilder

Sets the internal tcp endpoint to the specified value

WithMinFlushDelay ( System.TimeSpan minFlushDelay ) : VNodeBuilder

Sets the minimum flush delay

WithNodePriority ( int nodePriority ) : VNodeBuilder

Sets the node priority used during master election

WithPrepareCount ( int prepareCount ) : VNodeBuilder

Sets the number of nodes which must acknowledge prepares. The minimum allowed value is one greater than half the cluster size.

WithPrepareTimeout ( System.TimeSpan prepareTimeout ) : VNodeBuilder

Sets the prepare timeout

WithScavengeHistoryMaxAge ( int scavengeHistoryMaxAge ) : VNodeBuilder

The number of days to keep scavenge history (Default: 30)

WithServerCertificate ( X509Certificate2 sslCertificate ) : VNodeBuilder

Sets the Server SSL Certificate

WithServerCertificateFromFile ( string path, string password ) : VNodeBuilder

Sets the Server SSL Certificate to be loaded from a file

WithServerCertificateFromStore ( StoreLocation storeLocation, StoreName storeName, string certificateSubjectName, string certificateThumbprint ) : VNodeBuilder

Sets the Server SSL Certificate to be loaded from a certificate store

WithServerCertificateFromStore ( StoreName storeName, string certificateSubjectName, string certificateThumbprint ) : VNodeBuilder

Sets the Server SSL Certificate to be loaded from a certificate store

WithSslTargetHost ( string targetHost ) : VNodeBuilder

Sets the target host of the server's SSL certificate.

WithStatsPeriod ( System.TimeSpan statsPeriod ) : VNodeBuilder

Sets the period between statistics gathers

WithStatsStorage ( StatsStorage statsStorage ) : VNodeBuilder

Sets how stats are stored. Default is Stream

WithTfCachedChunks ( int cachedChunks ) : VNodeBuilder

The number of chunks to cache in unmanaged memory.

WithTfChunkSize ( int chunkSize ) : VNodeBuilder

Sets the transaction file chunk size. Default is TFConsts.ChunkSize

WithTfChunksCacheSize ( long chunksCacheSize ) : VNodeBuilder

Sets the transaction file chunk cache size. Default is TFConsts.ChunksCacheSize

WithUnsafeDisableFlushToDisk ( ) : VNodeBuilder

Disables Hard Deletes (UNSAFE: use to remove hard deletes)

WithUnsafeIgnoreHardDelete ( ) : VNodeBuilder

Disables Hard Deletes (UNSAFE: use to remove hard deletes)

WithWorkerThreads ( int count ) : VNodeBuilder

Sets the number of worker threads to use in shared threadpool

Защищенные методы

Метод Описание
SetUpProjectionsIfNeeded ( ) : void
VNodeBuilder ( ) : System
WithClusterNodeSettings ( int clusterNodeCount ) : VNodeBuilder
WithSingleNodeSettings ( ) : VNodeBuilder

Приватные методы

Метод Описание
CreateDbConfig ( int chunkSize, int cachedChunks, string dbPath, long chunksCacheSize, bool inMemDb, ILogger log ) : EventStore.Core.TransactionLog.Chunks.TFChunkDbConfig
EnsureGossipAdvertiseInfo ( ) : GossipAdvertiseInfo
EnsureHttpPrefixes ( ) : void
GetCertificateFromStore ( X509Store store, string certificateSubjectName, string certificateThumbprint ) : X509Certificate2
GetGossipSource ( ) : IGossipSeedSource
RunProjections ( ClientAPI projectionsMode, int numberOfThreads = Opts.ProjectionThreadsDefault ) : VNodeBuilder

Описание методов

AddCustomSubsystem() публичный Метод

Adds a custom subsystem to the builder. NOTE: This is an advanced use case that most people will never need!
public AddCustomSubsystem ( ISubsystem subsystem ) : VNodeBuilder
subsystem ISubsystem The subsystem to add
Результат VNodeBuilder

AddExternalHttpPrefix() публичный Метод

Adds a http prefix for the external http endpoint
public AddExternalHttpPrefix ( string prefix ) : VNodeBuilder
prefix string The prefix to add
Результат VNodeBuilder

AddInternalHttpPrefix() публичный Метод

Adds a http prefix for the internal http endpoint
public AddInternalHttpPrefix ( string prefix ) : VNodeBuilder
prefix string The prefix to add
Результат VNodeBuilder

AdvertiseExternalHttpPortAs() публичный Метод

Sets up the External Http Port that would be advertised
public AdvertiseExternalHttpPortAs ( int extHttpPortAdvertiseAs ) : VNodeBuilder
extHttpPortAdvertiseAs int
Результат VNodeBuilder

AdvertiseExternalIPAs() публичный Метод

Sets up the External IP that would be advertised
public AdvertiseExternalIPAs ( IPAddress extIpAdvertiseAs ) : VNodeBuilder
extIpAdvertiseAs System.Net.IPAddress
Результат VNodeBuilder

AdvertiseExternalSecureTCPPortAs() публичный Метод

Sets up the External Secure TCP Port that would be advertised
public AdvertiseExternalSecureTCPPortAs ( int extSecureTcpPortAdvertiseAs ) : VNodeBuilder
extSecureTcpPortAdvertiseAs int
Результат VNodeBuilder

AdvertiseExternalTCPPortAs() публичный Метод

Sets up the External TCP Port that would be advertised
public AdvertiseExternalTCPPortAs ( int extTcpPortAdvertiseAs ) : VNodeBuilder
extTcpPortAdvertiseAs int
Результат VNodeBuilder

AdvertiseInternalHttpPortAs() публичный Метод

Sets up the Internal Http Port that would be advertised
public AdvertiseInternalHttpPortAs ( int intHttpPortAdvertiseAs ) : VNodeBuilder
intHttpPortAdvertiseAs int
Результат VNodeBuilder

AdvertiseInternalIPAs() публичный Метод

Sets up the Internal IP that would be advertised
public AdvertiseInternalIPAs ( IPAddress intIpAdvertiseAs ) : VNodeBuilder
intIpAdvertiseAs System.Net.IPAddress
Результат VNodeBuilder

AdvertiseInternalSecureTCPPortAs() публичный Метод

Sets up the Internal Secure TCP Port that would be advertised
public AdvertiseInternalSecureTCPPortAs ( int intSecureTcpPortAdvertiseAs ) : VNodeBuilder
intSecureTcpPortAdvertiseAs int
Результат VNodeBuilder

AdvertiseInternalTCPPortAs() публичный Метод

Sets up the Internal TCP Port that would be advertised
public AdvertiseInternalTCPPortAs ( int intTcpPortAdvertiseAs ) : VNodeBuilder
intTcpPortAdvertiseAs int
Результат VNodeBuilder

AlwaysKeepScavenged() публичный Метод

The newer chunks during a scavenge are always kept
public AlwaysKeepScavenged ( ) : VNodeBuilder
Результат VNodeBuilder

Build() публичный Метод

Converts an VNodeBuilder to a ClusterVNode.
public Build ( IOptions options = null, IPersistentSubscriptionConsumerStrategyFactory consumerStrategies = null ) : EventStore.Core.ClusterVNode
options IOptions The options with which to build the infoController
consumerStrategies IPersistentSubscriptionConsumerStrategyFactory The consumer strategies with which to build the node
Результат EventStore.Core.ClusterVNode

DisableDnsDiscovery() публичный Метод

Disable dns discovery for the cluster
public DisableDnsDiscovery ( ) : VNodeBuilder
Результат VNodeBuilder

DisableHTTPCaching() публичный Метод

Disable HTTP Caching.
public DisableHTTPCaching ( ) : VNodeBuilder
Результат VNodeBuilder

DisableScavengeMerging() публичный Метод

Disables the merging of chunks when scavenge is running
public DisableScavengeMerging ( ) : VNodeBuilder
Результат VNodeBuilder

DoNotVerifyDbHashes() публичный Метод

Marks that the existing database files should not be checked for checksums on startup.
public DoNotVerifyDbHashes ( ) : VNodeBuilder
Результат VNodeBuilder

DontAddInterfacePrefixes() публичный Метод

Don't add the interface prefixes (e.g. If the External IP is set to the Loopback address, we'll add http://localhost:2113/ as a prefix)
public DontAddInterfacePrefixes ( ) : VNodeBuilder
Результат VNodeBuilder

EnableHistograms() публичный Метод

Enable the tracking of various histograms in the backend, typically only used for debugging
public EnableHistograms ( ) : VNodeBuilder
Результат VNodeBuilder

EnableLoggingOfHttpRequests() публичный Метод

Enable logging of Http Requests and Responses before they are processed
public EnableLoggingOfHttpRequests ( ) : VNodeBuilder
Результат VNodeBuilder

EnableSsl() публичный Метод

Sets that SSL should be used on connections
public EnableSsl ( ) : VNodeBuilder
Результат VNodeBuilder

EnableTrustedAuth() публичный Метод

Enable trusted authentication by an intermediary in the HTTP
public EnableTrustedAuth ( ) : VNodeBuilder
Результат VNodeBuilder

HavingReaderThreads() публичный Метод

Sets the number of reader threads to process read requests.
public HavingReaderThreads ( int readerThreadsCount ) : VNodeBuilder
readerThreadsCount int
Результат VNodeBuilder

MaximumMemoryTableSizeOf() публичный Метод

Sets the maximum size a memtable is allowed to reach (in count) before being moved to be a ptable
public MaximumMemoryTableSizeOf ( int size ) : VNodeBuilder
size int The maximum count
Результат VNodeBuilder

NoAdminOnPublicInterface() публичный Метод

Disables the admin interface on the public (client) interface
public NoAdminOnPublicInterface ( ) : VNodeBuilder
Результат VNodeBuilder

NoGossipOnPublicInterface() публичный Метод

Disables gossip on the public (client) interface
public NoGossipOnPublicInterface ( ) : VNodeBuilder
Результат VNodeBuilder

NoStatsOnPublicInterface() публичный Метод

Disables statistics screens on the public (client) interface
public NoStatsOnPublicInterface ( ) : VNodeBuilder
Результат VNodeBuilder

OnDefaultEndpoints() публичный Метод

Sets the default endpoints on localhost (1113 tcp, 2113 http)
public OnDefaultEndpoints ( ) : VNodeBuilder
Результат VNodeBuilder

RunInMemory() публичный Метод

Returns a builder set to run in memory only
public RunInMemory ( ) : VNodeBuilder
Результат VNodeBuilder

RunOnDisk() публичный Метод

Returns a builder set to write database files to the specified path
public RunOnDisk ( string path ) : VNodeBuilder
path string The path on disk in which to write the database files
Результат VNodeBuilder

RunProjections() публичный Метод

Sets the mode and the number of threads on which to run projections.
public RunProjections ( ProjectionType projectionType, int numberOfThreads = Opts.ProjectionThreadsDefault ) : VNodeBuilder
projectionType ProjectionType The mode in which to run the projections system
numberOfThreads int The number of threads to use for projections. Defaults to 3.
Результат VNodeBuilder

SetUpProjectionsIfNeeded() защищенный абстрактный Метод

protected abstract SetUpProjectionsIfNeeded ( ) : void
Результат void

StartStandardProjections() публичный Метод

Start standard projections.
public StartStandardProjections ( ) : VNodeBuilder
Результат VNodeBuilder

VNodeBuilder() защищенный Метод

protected VNodeBuilder ( ) : System
Результат System

ValidateSslServer() публичный Метод

Sets whether to validate that the server's certificate is trusted.
public ValidateSslServer ( ) : VNodeBuilder
Результат VNodeBuilder

VerifyDbHashes() публичный Метод

Marks that the existing database files should be checked for checksums on startup.
public VerifyDbHashes ( ) : VNodeBuilder
Результат VNodeBuilder

WithAuthenticationProvider() публичный Метод

Sets the authentication provider factory to use
public WithAuthenticationProvider ( IAuthenticationProviderFactory authenticationProviderFactory ) : VNodeBuilder
authenticationProviderFactory IAuthenticationProviderFactory The authentication provider factory to use
Результат VNodeBuilder

WithBetterOrdering() публичный Метод

Enable Queue affinity on reads during write process to try to get better ordering.
public WithBetterOrdering ( ) : VNodeBuilder
Результат VNodeBuilder

WithClusterDnsName() публичный Метод

Sets the dns name used for the discovery of other cluster nodes
public WithClusterDnsName ( string name ) : VNodeBuilder
name string The dns name the node should use to discover gossip partners
Результат VNodeBuilder

WithClusterGossipPort() публичный Метод

Sets the internal gossip port (used when using cluster dns, this should point to a known port gossip will be running on)
public WithClusterGossipPort ( int port ) : VNodeBuilder
port int The cluster gossip to use
Результат VNodeBuilder

WithClusterNodeSettings() защищенный Метод

protected WithClusterNodeSettings ( int clusterNodeCount ) : VNodeBuilder
clusterNodeCount int
Результат VNodeBuilder

WithCommitCount() публичный Метод

Sets the number of nodes which must acknowledge commits before acknowledging to a client. The minimum allowed value is one greater than half the cluster size.
public WithCommitCount ( int commitCount ) : VNodeBuilder
commitCount int The number of nodes which must acknowledge commits
Результат VNodeBuilder

WithCommitTimeout() публичный Метод

Sets the commit timeout
public WithCommitTimeout ( System.TimeSpan commitTimeout ) : VNodeBuilder
commitTimeout System.TimeSpan The commit timeout
Результат VNodeBuilder

WithExternalHeartbeatInterval() публичный Метод

Sets the heartbeat interval for the external network interface.
public WithExternalHeartbeatInterval ( System.TimeSpan heartbeatInterval ) : VNodeBuilder
heartbeatInterval System.TimeSpan The heartbeat interval
Результат VNodeBuilder

WithExternalHeartbeatTimeout() публичный Метод

Sets the heartbeat timeout for the external network interface.
public WithExternalHeartbeatTimeout ( System.TimeSpan heartbeatTimeout ) : VNodeBuilder
heartbeatTimeout System.TimeSpan The heartbeat timeout
Результат VNodeBuilder

WithExternalHttpOn() публичный Метод

Sets the external http endpoint to the specified value
public WithExternalHttpOn ( IPEndPoint endpoint ) : VNodeBuilder
endpoint System.Net.IPEndPoint The external endpoint to use
Результат VNodeBuilder

WithExternalSecureTcpOn() публичный Метод

Sets the external secure tcp endpoint to the specified value
public WithExternalSecureTcpOn ( IPEndPoint endpoint ) : VNodeBuilder
endpoint System.Net.IPEndPoint The external secure endpoint to use
Результат VNodeBuilder

WithExternalTcpOn() публичный Метод

Sets the external tcp endpoint to the specified value
public WithExternalTcpOn ( IPEndPoint endpoint ) : VNodeBuilder
endpoint System.Net.IPEndPoint The external endpoint to use
Результат VNodeBuilder

WithGossipAllowedTimeDifference() публичный Метод

Sets the allowed gossip time difference
public WithGossipAllowedTimeDifference ( System.TimeSpan gossipAllowedDifference ) : VNodeBuilder
gossipAllowedDifference System.TimeSpan The allowed gossip time difference
Результат VNodeBuilder

WithGossipInterval() публичный Метод

Sets the gossip interval
public WithGossipInterval ( System.TimeSpan gossipInterval ) : VNodeBuilder
gossipInterval System.TimeSpan The gossip interval
Результат VNodeBuilder

WithGossipSeeds() публичный Метод

Sets the gossip seeds this node should talk to
public WithGossipSeeds ( ) : VNodeBuilder
Результат VNodeBuilder

WithGossipTimeout() публичный Метод

Sets the gossip timeout
public WithGossipTimeout ( System.TimeSpan gossipTimeout ) : VNodeBuilder
gossipTimeout System.TimeSpan The gossip timeout
Результат VNodeBuilder

WithHashCollisionReadLimitOf() публичный Метод

Sets the maximum number of events to read in case of a stream Id hash collision
public WithHashCollisionReadLimitOf ( int hashCollisionReadLimit ) : VNodeBuilder
hashCollisionReadLimit int The maximum count
Результат VNodeBuilder

WithIndexBitnessVersion() публичный Метод

The bitness version of the indexes
public WithIndexBitnessVersion ( byte indexBitnessVersion ) : VNodeBuilder
indexBitnessVersion byte The version of the bitness
Результат VNodeBuilder

WithIndexCacheDepth() публичный Метод

Sets the depth to cache for the mid point cache in index
public WithIndexCacheDepth ( int indexCacheDepth ) : VNodeBuilder
indexCacheDepth int The index cache depth
Результат VNodeBuilder

WithIndexPath() публичный Метод

Sets the path the index should be loaded/saved to
public WithIndexPath ( string indexPath ) : VNodeBuilder
indexPath string The index path
Результат VNodeBuilder

WithInternalHeartbeatInterval() публичный Метод

Sets the heartbeat interval for the internal network interface.
public WithInternalHeartbeatInterval ( System.TimeSpan heartbeatInterval ) : VNodeBuilder
heartbeatInterval System.TimeSpan The heartbeat interval
Результат VNodeBuilder

WithInternalHeartbeatTimeout() публичный Метод

Sets the heartbeat timeout for the internal network interface.
public WithInternalHeartbeatTimeout ( System.TimeSpan heartbeatTimeout ) : VNodeBuilder
heartbeatTimeout System.TimeSpan The heartbeat timeout
Результат VNodeBuilder

WithInternalHttpOn() публичный Метод

Sets the internal http endpoint to the specified value
public WithInternalHttpOn ( IPEndPoint endpoint ) : VNodeBuilder
endpoint System.Net.IPEndPoint The internal endpoint to use
Результат VNodeBuilder

WithInternalSecureTcpOn() публичный Метод

Sets the internal secure tcp endpoint to the specified value
public WithInternalSecureTcpOn ( IPEndPoint endpoint ) : VNodeBuilder
endpoint System.Net.IPEndPoint The internal secure endpoint to use
Результат VNodeBuilder

WithInternalTcpOn() публичный Метод

Sets the internal tcp endpoint to the specified value
public WithInternalTcpOn ( IPEndPoint endpoint ) : VNodeBuilder
endpoint System.Net.IPEndPoint The internal endpoint to use
Результат VNodeBuilder

WithMinFlushDelay() публичный Метод

Sets the minimum flush delay
public WithMinFlushDelay ( System.TimeSpan minFlushDelay ) : VNodeBuilder
minFlushDelay System.TimeSpan The minimum flush delay
Результат VNodeBuilder

WithNodePriority() публичный Метод

Sets the node priority used during master election
public WithNodePriority ( int nodePriority ) : VNodeBuilder
nodePriority int The node priority used during master election
Результат VNodeBuilder

WithPrepareCount() публичный Метод

Sets the number of nodes which must acknowledge prepares. The minimum allowed value is one greater than half the cluster size.
public WithPrepareCount ( int prepareCount ) : VNodeBuilder
prepareCount int The number of nodes which must acknowledge prepares
Результат VNodeBuilder

WithPrepareTimeout() публичный Метод

Sets the prepare timeout
public WithPrepareTimeout ( System.TimeSpan prepareTimeout ) : VNodeBuilder
prepareTimeout System.TimeSpan The prepare timeout
Результат VNodeBuilder

WithScavengeHistoryMaxAge() публичный Метод

The number of days to keep scavenge history (Default: 30)
public WithScavengeHistoryMaxAge ( int scavengeHistoryMaxAge ) : VNodeBuilder
scavengeHistoryMaxAge int The number of days to keep scavenge history
Результат VNodeBuilder

WithServerCertificate() публичный Метод

Sets the Server SSL Certificate
public WithServerCertificate ( X509Certificate2 sslCertificate ) : VNodeBuilder
sslCertificate System.Security.Cryptography.X509Certificates.X509Certificate2 The server SSL certificate to use
Результат VNodeBuilder

WithServerCertificateFromFile() публичный Метод

Sets the Server SSL Certificate to be loaded from a file
public WithServerCertificateFromFile ( string path, string password ) : VNodeBuilder
path string The path to the certificate file
password string The password for the certificate
Результат VNodeBuilder

WithServerCertificateFromStore() публичный Метод

Sets the Server SSL Certificate to be loaded from a certificate store
public WithServerCertificateFromStore ( StoreLocation storeLocation, StoreName storeName, string certificateSubjectName, string certificateThumbprint ) : VNodeBuilder
storeLocation StoreLocation The location of the certificate store
storeName StoreName The name of the certificate store
certificateSubjectName string The subject name of the certificate
certificateThumbprint string The thumbpreint of the certificate
Результат VNodeBuilder

WithServerCertificateFromStore() публичный Метод

Sets the Server SSL Certificate to be loaded from a certificate store
public WithServerCertificateFromStore ( StoreName storeName, string certificateSubjectName, string certificateThumbprint ) : VNodeBuilder
storeName StoreName The name of the certificate store
certificateSubjectName string The subject name of the certificate
certificateThumbprint string The thumbpreint of the certificate
Результат VNodeBuilder

WithSingleNodeSettings() защищенный Метод

protected WithSingleNodeSettings ( ) : VNodeBuilder
Результат VNodeBuilder

WithSslTargetHost() публичный Метод

Sets the target host of the server's SSL certificate.
public WithSslTargetHost ( string targetHost ) : VNodeBuilder
targetHost string The target host of the server's SSL certificate
Результат VNodeBuilder

WithStatsPeriod() публичный Метод

Sets the period between statistics gathers
public WithStatsPeriod ( System.TimeSpan statsPeriod ) : VNodeBuilder
statsPeriod System.TimeSpan The period between statistics gathers
Результат VNodeBuilder

WithStatsStorage() публичный Метод

Sets how stats are stored. Default is Stream
public WithStatsStorage ( StatsStorage statsStorage ) : VNodeBuilder
statsStorage StatsStorage The storage method to use
Результат VNodeBuilder

WithTfCachedChunks() публичный Метод

The number of chunks to cache in unmanaged memory.
public WithTfCachedChunks ( int cachedChunks ) : VNodeBuilder
cachedChunks int The number of chunks to cache
Результат VNodeBuilder

WithTfChunkSize() публичный Метод

Sets the transaction file chunk size. Default is TFConsts.ChunkSize
public WithTfChunkSize ( int chunkSize ) : VNodeBuilder
chunkSize int The size of the chunk, in bytes
Результат VNodeBuilder

WithTfChunksCacheSize() публичный Метод

Sets the transaction file chunk cache size. Default is TFConsts.ChunksCacheSize
public WithTfChunksCacheSize ( long chunksCacheSize ) : VNodeBuilder
chunksCacheSize long The size of the cache
Результат VNodeBuilder

WithUnsafeDisableFlushToDisk() публичный Метод

Disables Hard Deletes (UNSAFE: use to remove hard deletes)
public WithUnsafeDisableFlushToDisk ( ) : VNodeBuilder
Результат VNodeBuilder

WithUnsafeIgnoreHardDelete() публичный Метод

Disables Hard Deletes (UNSAFE: use to remove hard deletes)
public WithUnsafeIgnoreHardDelete ( ) : VNodeBuilder
Результат VNodeBuilder

WithWorkerThreads() публичный Метод

Sets the number of worker threads to use in shared threadpool
public WithWorkerThreads ( int count ) : VNodeBuilder
count int The number of worker threads
Результат VNodeBuilder

Описание свойств

_addInterfacePrefixes защищенное свойство

protected bool _addInterfacePrefixes
Результат bool

_adminOnPublic защищенное свойство

protected bool _adminOnPublic
Результат bool

_alwaysKeepScavenged защищенное свойство

protected bool _alwaysKeepScavenged
Результат bool

_authenticationProviderFactory защищенное свойство

protected IAuthenticationProviderFactory _authenticationProviderFactory
Результат IAuthenticationProviderFactory

_betterOrdering защищенное свойство

protected bool _betterOrdering
Результат bool

_cachedChunks защищенное свойство

protected int _cachedChunks
Результат int

_certificate защищенное свойство

protected X509Certificate2,System.Security.Cryptography.X509Certificates _certificate
Результат System.Security.Cryptography.X509Certificates.X509Certificate2

_chunkSize защищенное свойство

protected int _chunkSize
Результат int

_chunksCacheSize защищенное свойство

protected long _chunksCacheSize
Результат long

_clusterDns защищенное свойство

protected string _clusterDns
Результат string

_clusterGossipPort защищенное свойство

protected int _clusterGossipPort
Результат int

_clusterNodeCount защищенное свойство

protected int _clusterNodeCount
Результат int

_commitAckCount защищенное свойство

protected int _commitAckCount
Результат int

_commitTimeout защищенное свойство

protected TimeSpan,System _commitTimeout
Результат System.TimeSpan

_db защищенное свойство

protected TFChunkDb,EventStore.Core.TransactionLog.Chunks _db
Результат EventStore.Core.TransactionLog.Chunks.TFChunkDb

_dbConfig защищенное свойство

protected TFChunkDbConfig,EventStore.Core.TransactionLog.Chunks _dbConfig
Результат EventStore.Core.TransactionLog.Chunks.TFChunkDbConfig

_dbPath защищенное свойство

protected string _dbPath
Результат string

_disableHTTPCaching защищенное свойство

protected bool _disableHTTPCaching
Результат bool

_disableScavengeMerging защищенное свойство

protected bool _disableScavengeMerging
Результат bool

_discoverViaDns защищенное свойство

protected bool _discoverViaDns
Результат bool

_enableHistograms защищенное свойство

protected bool _enableHistograms
Результат bool

_enableTrustedAuth защищенное свойство

protected bool _enableTrustedAuth
Результат bool

_extHttpPrefixes защищенное свойство

protected List _extHttpPrefixes
Результат List

_extTcpHeartbeatInterval защищенное свойство

protected TimeSpan,System _extTcpHeartbeatInterval
Результат System.TimeSpan

_extTcpHeartbeatTimeout защищенное свойство

protected TimeSpan,System _extTcpHeartbeatTimeout
Результат System.TimeSpan

_externalHttp защищенное свойство

protected IPEndPoint,System.Net _externalHttp
Результат System.Net.IPEndPoint

_externalSecureTcp защищенное свойство

protected IPEndPoint,System.Net _externalSecureTcp
Результат System.Net.IPEndPoint

_externalTcp защищенное свойство

protected IPEndPoint,System.Net _externalTcp
Результат System.Net.IPEndPoint

_gossipAdvertiseInfo защищенное свойство

protected GossipAdvertiseInfo,EventStore.Core.Data _gossipAdvertiseInfo
Результат EventStore.Core.Data.GossipAdvertiseInfo

_gossipAllowedTimeDifference защищенное свойство

protected TimeSpan,System _gossipAllowedTimeDifference
Результат System.TimeSpan

_gossipInterval защищенное свойство

protected TimeSpan,System _gossipInterval
Результат System.TimeSpan

_gossipOnPublic защищенное свойство

protected bool _gossipOnPublic
Результат bool

_gossipSeeds защищенное свойство

protected List _gossipSeeds
Результат List

_gossipTimeout защищенное свойство

protected TimeSpan,System _gossipTimeout
Результат System.TimeSpan

_hashCollisionReadLimit защищенное свойство

protected int _hashCollisionReadLimit
Результат int

_inMemoryDb защищенное свойство

protected bool _inMemoryDb
Результат bool

_index защищенное свойство

protected string _index
Результат string

_indexBitnessVersion защищенное свойство

protected byte _indexBitnessVersion
Результат byte

_indexCacheDepth защищенное свойство

protected int _indexCacheDepth
Результат int

_intHttpPrefixes защищенное свойство

protected List _intHttpPrefixes
Результат List

_intTcpHeartbeatInterval защищенное свойство

protected TimeSpan,System _intTcpHeartbeatInterval
Результат System.TimeSpan

_intTcpHeartbeatTimeout защищенное свойство

protected TimeSpan,System _intTcpHeartbeatTimeout
Результат System.TimeSpan

_internalHttp защищенное свойство

protected IPEndPoint,System.Net _internalHttp
Результат System.Net.IPEndPoint

_internalSecureTcp защищенное свойство

protected IPEndPoint,System.Net _internalSecureTcp
Результат System.Net.IPEndPoint

_internalTcp защищенное свойство

protected IPEndPoint,System.Net _internalTcp
Результат System.Net.IPEndPoint

_log защищенное свойство

protected ILogger _log
Результат ILogger

_logHttpRequests защищенное свойство

protected bool _logHttpRequests
Результат bool

_maxMemtableSize защищенное свойство

protected int _maxMemtableSize
Результат int

_minFlushDelay защищенное свойство

protected TimeSpan,System _minFlushDelay
Результат System.TimeSpan

_nodePriority защищенное свойство

protected int _nodePriority
Результат int

_prepareAckCount защищенное свойство

protected int _prepareAckCount
Результат int

_prepareTimeout защищенное свойство

protected TimeSpan,System _prepareTimeout
Результат System.TimeSpan

_projectionType защищенное свойство

protected ProjectionType _projectionType
Результат ProjectionType

_projectionsThreads защищенное свойство

protected int _projectionsThreads
Результат int

_readerThreadsCount защищенное свойство

protected int _readerThreadsCount
Результат int

_scavengeHistoryMaxAge защищенное свойство

protected int _scavengeHistoryMaxAge
Результат int

_skipVerifyDbHashes защищенное свойство

protected bool _skipVerifyDbHashes
Результат bool

_sslTargetHost защищенное свойство

protected string _sslTargetHost
Результат string

_sslValidateServer защищенное свойство

protected bool _sslValidateServer
Результат bool

_startStandardProjections защищенное свойство

protected bool _startStandardProjections
Результат bool

_statsOnPublic защищенное свойство

protected bool _statsOnPublic
Результат bool

_statsPeriod защищенное свойство

protected TimeSpan,System _statsPeriod
Результат System.TimeSpan

_statsStorage защищенное свойство

protected StatsStorage _statsStorage
Результат StatsStorage

_subsystems защищенное свойство

protected List _subsystems
Результат List

_unsafeDisableFlushToDisk защищенное свойство

protected bool _unsafeDisableFlushToDisk
Результат bool

_unsafeIgnoreHardDelete защищенное свойство

protected bool _unsafeIgnoreHardDelete
Результат bool

_useSsl защищенное свойство

protected bool _useSsl
Результат bool

_vNodeSettings защищенное свойство

protected ClusterVNodeSettings,EventStore.Core.Cluster.Settings _vNodeSettings
Результат EventStore.Core.Cluster.Settings.ClusterVNodeSettings

_workerThreads защищенное свойство

protected int _workerThreads
Результат int