Index

B D E G I L M N O R S V 
All Classes and Interfaces|All Packages|Constant Field Values

B

builder() - Static method in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagementConfig.BuildableNodeManagementConfig
 
buildIdGenerator(NodeLease) - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagement
Build a new and independent ID generator instance of a leased node using the given clock.

D

DEFAULT_LEASE_DURATION - Static variable in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagementConfig
 
DEFAULT_NUM_NODES - Static variable in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagementConfig
 
DEFAULT_RENEWAL_PERIOD - Static variable in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagementConfig
 

E

expirationTimestamp() - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.Node
Timestamp since which this node's lease is no longer valid.

G

getNodeInfo(int) - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagement
Retrieve information about a specific node.

I

id() - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.Node
Returns the ID of this node.
idGeneratorSpec() - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagementConfig
Configuration needed to build an ID generator.

L

lease() - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagement
Lease a node.
leaseDuration() - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagementConfig.BuildableNodeManagementConfig
 
leaseDuration() - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagementConfig
Duration of a node-lease.
leaseTimestamp() - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.Node
 

M

maxNumberOfNodes() - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagement
The maximum number of concurrently leased nodes that are supported.

N

node() - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeLease
Returns the Node representation for this lease if the lease has not been released or null.
Node - Interface in org.apache.polaris.persistence.nosql.nodeids.api
Represents the local node's ID and informative, mutable state information.
nodeIdIfValid() - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeLease
Returns the node ID if the lease is active/valid or -1.
NodeLease - Interface in org.apache.polaris.persistence.nosql.nodeids.api
 
NodeManagement - Interface in org.apache.polaris.persistence.nosql.nodeids.api
API to lease node IDs, primarily to generate snowflake IDs.
NodeManagementConfig - Interface in org.apache.polaris.persistence.nosql.nodeids.api
Node management configuration.
NodeManagementConfig.BuildableNodeManagementConfig - Interface in org.apache.polaris.persistence.nosql.nodeids.api
 
numNodes() - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagementConfig.BuildableNodeManagementConfig
 
numNodes() - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagementConfig
Maximum number of concurrently active Polaris nodes.

O

org.apache.polaris.persistence.nosql.nodeids.api - package org.apache.polaris.persistence.nosql.nodeids.api
 

R

release() - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeLease
Permanently release the lease.
renew() - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeLease
Force a lease renewal, generally not recommended nor necessary.
renewalPeriod() - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagementConfig.BuildableNodeManagementConfig
 
renewalPeriod() - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagementConfig
Time window before the end of a node lease when the lease will be renewed.
renewLeaseTimestamp() - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.Node
 

S

systemIdForNode(int) - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagement
Get the persistence ID for a node by its ID.

V

valid(long) - Method in interface org.apache.polaris.persistence.nosql.nodeids.api.Node
 
B D E G I L M N O R S V 
All Classes and Interfaces|All Packages|Constant Field Values