public abstract class BaseLocationProvider<T> extends Destroyable implements LocationProvider, IdAwarePlugin
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseLocationProvider.GetOption |
LocationProvider.ProviderType| Modifier and Type | Method and Description |
|---|---|
abstract com.tencent.polaris.specification.api.v1.model.ModelProto.Location |
doGet(T option) |
int |
getId() |
com.tencent.polaris.specification.api.v1.model.ModelProto.Location |
getLocation() |
String |
getName() |
PluginType |
getType() |
void |
init(InitContext ctx) |
void |
postContextInit(Extensions ctx) |
void |
setId(int id) |
destroy, isDestroyedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProviderTypepublic int getId()
getId in interface IdAwarePluginpublic void setId(int id)
setId in interface IdAwarePluginpublic String getName()
getName in interface PlugingetName in class Destroyablepublic PluginType getType()
public void init(InitContext ctx) throws PolarisException
init in interface PluginPolarisExceptionpublic void postContextInit(Extensions ctx) throws PolarisException
postContextInit in interface PluginPolarisExceptionpublic com.tencent.polaris.specification.api.v1.model.ModelProto.Location getLocation()
getLocation in interface LocationProviderpublic abstract com.tencent.polaris.specification.api.v1.model.ModelProto.Location doGet(T option)
Copyright © 2024. All rights reserved.