Class KubernetesTCPRemoteCommitProvider
java.lang.Object
org.apache.openjpa.event.AbstractRemoteCommitProvider
org.apache.openjpa.event.TCPRemoteCommitProvider
org.apache.openjpa.event.DynamicTCPRemoteCommitProvider
org.apache.openjpa.event.kubernetes.KubernetesTCPRemoteCommitProvider
- All Implemented Interfaces:
RemoteCommitProvider
,Configurable
,Closeable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.openjpa.event.TCPRemoteCommitProvider
TCPRemoteCommitProvider.HostAddress
-
Field Summary
Fields inherited from class org.apache.openjpa.event.TCPRemoteCommitProvider
_addresses, _addressesLock, _port
Fields inherited from class org.apache.openjpa.event.AbstractRemoteCommitProvider
eventManager, log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLabel()
protected io.fabric8.kubernetes.client.KubernetesClient
void
void
setNamespace
(String namespace) Methods inherited from class org.apache.openjpa.event.DynamicTCPRemoteCommitProvider
endConfiguration, getCacheDurationMillis, setAddresses, setCacheDurationMillis
Methods inherited from class org.apache.openjpa.event.TCPRemoteCommitProvider
broadcast, close, getMaxIdle, getMaxTotal, getNumBroadcastThreads, getPort, getRecoveryTimeMillis, setMaxActive, setMaxIdle, setMaxTotal, setNumBroadcastThreads, setPort, setRecoveryTimeMillis
Methods inherited from class org.apache.openjpa.event.AbstractRemoteCommitProvider
fireEvent, setConfiguration, setRemoteCommitEventManager, startConfiguration
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.openjpa.lib.conf.Configurable
setConfiguration, startConfiguration
-
Constructor Details
-
KubernetesTCPRemoteCommitProvider
- Throws:
UnknownHostException
-
-
Method Details
-
getNamespace
-
setNamespace
-
getLabel
-
setLabel
-
kubernetesClient
protected io.fabric8.kubernetes.client.KubernetesClient kubernetesClient() throws io.fabric8.kubernetes.client.KubernetesClientException- Throws:
io.fabric8.kubernetes.client.KubernetesClientException
-
fetchDynamicAddresses
- Specified by:
fetchDynamicAddresses
in classDynamicTCPRemoteCommitProvider
-