1 | <?php |
||
24 | class CatRepository extends AbstractRepository implements CatRepositoryInterface |
||
25 | { |
||
26 | |||
27 | /** |
||
28 | * Gets aliases from cat api |
||
29 | * |
||
30 | * @return \Elastification\Client\Response\ResponseInterface |
||
31 | * @author Daniel Wendlandt |
||
32 | */ |
||
33 | 2 | public function aliases() |
|
39 | |||
40 | /** |
||
41 | * Gets allocation from cat api |
||
42 | * |
||
43 | * @return \Elastification\Client\Response\ResponseInterface |
||
44 | */ |
||
45 | 1 | public function allocation() |
|
51 | |||
52 | /** |
||
53 | * Gets count from cat api |
||
54 | * |
||
55 | * @return \Elastification\Client\Response\ResponseInterface |
||
56 | */ |
||
57 | 1 | public function count() |
|
63 | |||
64 | /** |
||
65 | * Gets fielddata from cat api |
||
66 | * |
||
67 | * @return \Elastification\Client\Response\ResponseInterface |
||
68 | */ |
||
69 | 1 | public function fielddata() |
|
75 | |||
76 | /** |
||
77 | * Gets health from cat api |
||
78 | * |
||
79 | * @return \Elastification\Client\Response\ResponseInterface |
||
80 | */ |
||
81 | 1 | public function health() |
|
87 | |||
88 | /** |
||
89 | * Gets indices from cat api |
||
90 | * |
||
91 | * @return \Elastification\Client\Response\ResponseInterface |
||
92 | */ |
||
93 | 1 | public function indices() |
|
99 | |||
100 | /** |
||
101 | * Gets master from cat api |
||
102 | * |
||
103 | * @return \Elastification\Client\Response\ResponseInterface |
||
104 | */ |
||
105 | 1 | public function master() |
|
111 | |||
112 | /** |
||
113 | * Gets nodes from cat api |
||
114 | * |
||
115 | * @return \Elastification\Client\Response\ResponseInterface |
||
116 | */ |
||
117 | 1 | public function nodes() |
|
123 | |||
124 | /** |
||
125 | * Gets pending tasks from cat api |
||
126 | * |
||
127 | * @return \Elastification\Client\Response\ResponseInterface |
||
128 | */ |
||
129 | 1 | public function pendingTasks() |
|
135 | |||
136 | /** |
||
137 | * Gets plugins from cat api |
||
138 | * |
||
139 | * @return \Elastification\Client\Response\ResponseInterface |
||
140 | */ |
||
141 | 1 | public function plugins() |
|
147 | |||
148 | /** |
||
149 | * Gets recovery from cat api |
||
150 | * |
||
151 | * @return \Elastification\Client\Response\ResponseInterface |
||
152 | */ |
||
153 | 1 | public function recovery() |
|
159 | |||
160 | /** |
||
161 | * Gets segments from cat api |
||
162 | * |
||
163 | * @return \Elastification\Client\Response\ResponseInterface |
||
164 | */ |
||
165 | 1 | public function segments() |
|
171 | |||
172 | /** |
||
173 | * Gets shards from cat api |
||
174 | * |
||
175 | * @return \Elastification\Client\Response\ResponseInterface |
||
176 | */ |
||
177 | 1 | public function shards() |
|
183 | |||
184 | /** |
||
185 | * Gets thread pool from cat api |
||
186 | * |
||
187 | * @return \Elastification\Client\Response\ResponseInterface |
||
188 | */ |
||
189 | 1 | public function threadPool() |
|
195 | |||
196 | /** |
||
197 | * gets the right class string of a version |
||
198 | * |
||
199 | * @param string $class |
||
200 | * |
||
201 | * @return string |
||
202 | * @throws RepositoryException |
||
203 | * @author Daniel Wendlandt |
||
204 | */ |
||
205 | 15 | protected function getClass($class) |
|
214 | |||
215 | } |
||
216 |