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