StateStoreCacheDisabledNameserviceStoreImpl@Private @Evolving public abstract class DisabledNameserviceStore extends CachedRecordStore<DisabledNameservice>
| Constructor | Description |
|---|---|
DisabledNameserviceStore(StateStoreDriver driver) |
| Modifier and Type | Method | Description |
|---|---|---|
abstract boolean |
disableNameservice(java.lang.String nsId) |
Disable a name service.
|
abstract boolean |
enableNameservice(java.lang.String nsId) |
Enable a name service.
|
abstract java.util.Set<java.lang.String> |
getDisabledNameservices() |
Get a list of disabled name services.
|
getCachedRecords, getCachedRecordsAndTimeStamp, loadCache, overrideExpiredRecord, overrideExpiredRecordsgetDriver, getRecordClass, newInstancepublic DisabledNameserviceStore(StateStoreDriver driver)
public abstract boolean disableNameservice(java.lang.String nsId)
throws java.io.IOException
nsId - Identifier of the name service.java.io.IOException - If the state store could not be queried.public abstract boolean enableNameservice(java.lang.String nsId)
throws java.io.IOException
nsId - Identifier of the name service.java.io.IOException - If the state store could not be queried.public abstract java.util.Set<java.lang.String> getDisabledNameservices()
throws java.io.IOException
java.io.IOException - If the state store could not be queried.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.