| Package | Description |
|---|---|
| org.apache.pulsar.common.policies.data |
Definition of different data structures for policies.
|
| Modifier and Type | Field and Description |
|---|---|
OffloadPolicies |
Policies.offload_policies |
| Modifier and Type | Method and Description |
|---|---|
static OffloadPolicies |
OffloadPolicies.create(Properties properties) |
static OffloadPolicies |
OffloadPolicies.create(String driver,
String region,
String bucket,
String endpoint,
String credentialId,
String credentialSecret,
Integer maxBlockSizeInBytes,
Integer readBufferSizeInBytes,
Long offloadThresholdInBytes,
Long offloadDeletionLagInMillis,
OffloadPolicies.OffloadedReadPriority readPriority) |
static OffloadPolicies |
OffloadPolicies.mergeConfiguration(OffloadPolicies topicLevelPolicies,
OffloadPolicies nsLevelPolicies,
Properties brokerProperties)
Merge different level offload policies.
|
static OffloadPolicies |
OffloadPolicies.oldPoliciesCompatible(OffloadPolicies nsLevelPolicies,
Policies policies)
This method is used to make a compatible with old policies.
|
| Modifier and Type | Method and Description |
|---|---|
static OffloadPolicies |
OffloadPolicies.mergeConfiguration(OffloadPolicies topicLevelPolicies,
OffloadPolicies nsLevelPolicies,
Properties brokerProperties)
Merge different level offload policies.
|
static OffloadPolicies |
OffloadPolicies.oldPoliciesCompatible(OffloadPolicies nsLevelPolicies,
Policies policies)
This method is used to make a compatible with old policies.
|
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.