public class AutoHealTriggers extends Object
Constructor and Description |
---|
AutoHealTriggers() |
Modifier and Type | Method and Description |
---|---|
Integer |
privateBytesInKB()
Get a rule based on private bytes.
|
RequestsBasedTrigger |
requests()
Get a rule based on total requests.
|
SlowRequestsBasedTrigger |
slowRequests()
Get a rule based on request execution time.
|
List<StatusCodesBasedTrigger> |
statusCodes()
Get a rule based on status codes.
|
AutoHealTriggers |
withPrivateBytesInKB(Integer privateBytesInKB)
Set a rule based on private bytes.
|
AutoHealTriggers |
withRequests(RequestsBasedTrigger requests)
Set a rule based on total requests.
|
AutoHealTriggers |
withSlowRequests(SlowRequestsBasedTrigger slowRequests)
Set a rule based on request execution time.
|
AutoHealTriggers |
withStatusCodes(List<StatusCodesBasedTrigger> statusCodes)
Set a rule based on status codes.
|
public RequestsBasedTrigger requests()
public AutoHealTriggers withRequests(RequestsBasedTrigger requests)
requests
- the requests value to setpublic Integer privateBytesInKB()
public AutoHealTriggers withPrivateBytesInKB(Integer privateBytesInKB)
privateBytesInKB
- the privateBytesInKB value to setpublic List<StatusCodesBasedTrigger> statusCodes()
public AutoHealTriggers withStatusCodes(List<StatusCodesBasedTrigger> statusCodes)
statusCodes
- the statusCodes value to setpublic SlowRequestsBasedTrigger slowRequests()
public AutoHealTriggers withSlowRequests(SlowRequestsBasedTrigger slowRequests)
slowRequests
- the slowRequests value to setCopyright © 2019. All rights reserved.