HivePersistenceConfig.serverDefaults constructor
HivePersistenceConfig.serverDefaults({})
Convenience constructor for atSecondary servers: opts into all optional capabilities (access log, notification keystore).
Implementation
factory HivePersistenceConfig.serverDefaults({
required String storagePath,
required String commitLogPath,
required String accessLogPath,
required String notificationStoragePath,
String? backendMarkerPath,
}) =>
HivePersistenceConfig(
storagePath: storagePath,
commitLogPath: commitLogPath,
accessLogPath: accessLogPath,
notificationStoragePath: notificationStoragePath,
backendMarkerPath: backendMarkerPath,
enableAccessLog: true,
enableNotificationKeystore: true,
enableCommitLog: true,
);