blob: 2f15caac1e8f356cf4dd7b75b048488064e30f43 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.model.api;
/**
* Represents an action to restart services in order to handle a config change.
*
* @author geirst
* @since 5.43
*/
public interface ConfigChangeRestartAction extends ConfigChangeAction {
@Override
default Type getType() { return Type.RESTART; }
/** Restarts are handled automatically so they are allowed */
@Override
default boolean allowed() { return true; }
}
|