Add constructor for EntryConfig in sentinel-reactor-adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
This commit is contained in:
parent
4cc25429d3
commit
b02ef82c62
|
|
@ -44,6 +44,10 @@ public class EntryConfig {
|
|||
this(resourceName, entryType, 1, new Object[0], contextConfig);
|
||||
}
|
||||
|
||||
public EntryConfig(String resourceName, EntryType entryType, int acquireCount, Object[] args) {
|
||||
this(resourceName, entryType, acquireCount, args, null);
|
||||
}
|
||||
|
||||
public EntryConfig(String resourceName, EntryType entryType, int acquireCount, Object[] args,
|
||||
ContextConfig contextConfig) {
|
||||
AssertUtil.assertNotBlank(resourceName, "resourceName cannot be blank");
|
||||
|
|
|
|||
Loading…
Reference in New Issue