Package io.fabric8.kubernetes.client.dsl
Interface TimeoutableScalable<T>
-
- All Superinterfaces:
Deletable,Timeoutable
- All Known Subinterfaces:
ExtensibleResource<T>,RollableScalableResource<T>,ScalableResource<T>
- All Known Implementing Classes:
ExtensibleResourceAdapter
public interface TimeoutableScalable<T> extends Deletable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tscale(int count)Scale the resource to given countTimeoutableScalable<T>withTimeout(long timeout, TimeUnit unit)Perform the delete operation as blocking, waiting for finalizers, for up to the given timeoutTimeoutableScalable<T>withTimeoutInMillis(long timeoutInMillis)Perform the delete operation as blocking, waiting for finalizers, for up to the given timeout
-
-
-
Method Detail
-
scale
T scale(int count)
Scale the resource to given count- Parameters:
count- the desired instance count- Returns:
- the resource
-
withTimeout
TimeoutableScalable<T> withTimeout(long timeout, TimeUnit unit)
Description copied from interface:DeletablePerform the delete operation as blocking, waiting for finalizers, for up to the given timeout- Specified by:
withTimeoutin interfaceDeletable- Specified by:
withTimeoutin interfaceTimeoutable- Parameters:
timeout- 0 indicates no wait
-
withTimeoutInMillis
TimeoutableScalable<T> withTimeoutInMillis(long timeoutInMillis)
Description copied from interface:DeletablePerform the delete operation as blocking, waiting for finalizers, for up to the given timeout- Specified by:
withTimeoutInMillisin interfaceDeletable- Specified by:
withTimeoutInMillisin interfaceTimeoutable- Parameters:
timeoutInMillis- 0 indicates no wait
-
-