Package org.apache.solr.pkg
Class PackageAPI
- java.lang.Object
-
- org.apache.solr.pkg.PackageAPI
-
public class PackageAPI extends Object
This implements the public end points (/api/cluster/package) of package API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
PackageAPI.Edit
static class
PackageAPI.Packages
static class
PackageAPI.PkgVersion
class
PackageAPI.Read
-
Field Summary
Fields Modifier and Type Field Description PackageAPI.Edit
editAPI
boolean
enablePackages
static String
ERR_MSG
PackageAPI.Read
readAPI
-
Constructor Summary
Constructors Constructor Description PackageAPI(CoreContainer coreContainer, PackageLoader loader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleZkErr(Exception e)
boolean
isEnabled()
boolean
isJarInuse(String path)
void
refreshPackages(org.apache.zookeeper.Watcher watcher)
-
-
-
Field Detail
-
enablePackages
public final boolean enablePackages
-
ERR_MSG
public static final String ERR_MSG
- See Also:
- Constant Field Values
-
editAPI
public final PackageAPI.Edit editAPI
-
readAPI
public final PackageAPI.Read readAPI
-
-
Constructor Detail
-
PackageAPI
public PackageAPI(CoreContainer coreContainer, PackageLoader loader)
-
-