@@ -1545,8 +1545,8 @@ public StartWorkflowExecutionResponse SignalWithStartWorkflowExecution(
1545
1545
@ Override
1546
1546
public ResetWorkflowExecutionResponse ResetWorkflowExecution (
1547
1547
ResetWorkflowExecutionRequest resetRequest )
1548
- throws BadRequestError , InternalServiceError , EntityNotExistsError , ServiceBusyError , DomainNotActiveError ,
1549
- LimitExceededError , ClientVersionNotSupportedError , TException {
1548
+ throws BadRequestError , InternalServiceError , EntityNotExistsError , ServiceBusyError ,
1549
+ DomainNotActiveError , LimitExceededError , ClientVersionNotSupportedError , TException {
1550
1550
return null ;
1551
1551
}
1552
1552
@@ -1731,20 +1731,21 @@ public ListWorkflowExecutionsResponse ListWorkflowExecutions(
1731
1731
ListWorkflowExecutionsRequest request )
1732
1732
throws BadRequestError , InternalServiceError , EntityNotExistsError , ServiceBusyError ,
1733
1733
ClientVersionNotSupportedError , TException {
1734
- return measureRemoteCall (ServiceMethod .LIST_WORKFLOW_EXECUTIONS , () -> listWorkflowExecutions (request ));
1734
+ return measureRemoteCall (
1735
+ ServiceMethod .LIST_WORKFLOW_EXECUTIONS , () -> listWorkflowExecutions (request ));
1735
1736
}
1736
1737
1737
1738
private ListWorkflowExecutionsResponse listWorkflowExecutions (
1738
1739
ListWorkflowExecutionsRequest listRequest ) throws TException {
1739
1740
ThriftResponse <WorkflowService .ListWorkflowExecutions_result > response = null ;
1740
1741
try {
1741
1742
ThriftRequest <WorkflowService .ListWorkflowExecutions_args > request =
1742
- buildThriftRequest (
1743
- "ListWorkflowExecutions" ,
1744
- new WorkflowService .ListWorkflowExecutions_args (listRequest ));
1743
+ buildThriftRequest (
1744
+ "ListWorkflowExecutions" ,
1745
+ new WorkflowService .ListWorkflowExecutions_args (listRequest ));
1745
1746
response = doRemoteCall (request );
1746
1747
WorkflowService .ListWorkflowExecutions_result result =
1747
- response .getBody (WorkflowService .ListWorkflowExecutions_result .class );
1748
+ response .getBody (WorkflowService .ListWorkflowExecutions_result .class );
1748
1749
if (response .getResponseCode () == ResponseCode .OK ) {
1749
1750
return result .getSuccess ();
1750
1751
}
@@ -1776,20 +1777,21 @@ public ListWorkflowExecutionsResponse ScanWorkflowExecutions(
1776
1777
ListWorkflowExecutionsRequest request )
1777
1778
throws BadRequestError , InternalServiceError , EntityNotExistsError , ServiceBusyError ,
1778
1779
ClientVersionNotSupportedError , TException {
1779
- return measureRemoteCall (ServiceMethod .SCAN_WORKFLOW_EXECUTIONS , () -> scanWorkflowExecutions (request ));
1780
+ return measureRemoteCall (
1781
+ ServiceMethod .SCAN_WORKFLOW_EXECUTIONS , () -> scanWorkflowExecutions (request ));
1780
1782
}
1781
1783
1782
1784
private ListWorkflowExecutionsResponse scanWorkflowExecutions (
1783
- ListWorkflowExecutionsRequest listRequest ) throws TException {
1785
+ ListWorkflowExecutionsRequest listRequest ) throws TException {
1784
1786
ThriftResponse <WorkflowService .ScanWorkflowExecutions_result > response = null ;
1785
1787
try {
1786
1788
ThriftRequest <WorkflowService .ScanWorkflowExecutions_args > request =
1787
- buildThriftRequest (
1788
- "ScanWorkflowExecutions" ,
1789
- new WorkflowService .ScanWorkflowExecutions_args (listRequest ));
1789
+ buildThriftRequest (
1790
+ "ScanWorkflowExecutions" ,
1791
+ new WorkflowService .ScanWorkflowExecutions_args (listRequest ));
1790
1792
response = doRemoteCall (request );
1791
1793
WorkflowService .ScanWorkflowExecutions_result result =
1792
- response .getBody (WorkflowService .ScanWorkflowExecutions_result .class );
1794
+ response .getBody (WorkflowService .ScanWorkflowExecutions_result .class );
1793
1795
if (response .getResponseCode () == ResponseCode .OK ) {
1794
1796
return result .getSuccess ();
1795
1797
}
@@ -1821,20 +1823,21 @@ public CountWorkflowExecutionsResponse CountWorkflowExecutions(
1821
1823
CountWorkflowExecutionsRequest countRequest )
1822
1824
throws BadRequestError , InternalServiceError , EntityNotExistsError , ServiceBusyError ,
1823
1825
ClientVersionNotSupportedError , TException {
1824
- return measureRemoteCall (ServiceMethod .COUNT_WORKFLOW_EXECUTIONS , () -> countWorkflowExecutions (countRequest ));
1826
+ return measureRemoteCall (
1827
+ ServiceMethod .COUNT_WORKFLOW_EXECUTIONS , () -> countWorkflowExecutions (countRequest ));
1825
1828
}
1826
1829
1827
1830
private CountWorkflowExecutionsResponse countWorkflowExecutions (
1828
- CountWorkflowExecutionsRequest countRequest ) throws TException {
1831
+ CountWorkflowExecutionsRequest countRequest ) throws TException {
1829
1832
ThriftResponse <WorkflowService .CountWorkflowExecutions_result > response = null ;
1830
1833
try {
1831
1834
ThriftRequest <WorkflowService .CountWorkflowExecutions_args > request =
1832
- buildThriftRequest (
1833
- "CountWorkflowExecutions" ,
1834
- new WorkflowService .CountWorkflowExecutions_args (countRequest ));
1835
+ buildThriftRequest (
1836
+ "CountWorkflowExecutions" ,
1837
+ new WorkflowService .CountWorkflowExecutions_args (countRequest ));
1835
1838
response = doRemoteCall (request );
1836
1839
WorkflowService .CountWorkflowExecutions_result result =
1837
- response .getBody (WorkflowService .CountWorkflowExecutions_result .class );
1840
+ response .getBody (WorkflowService .CountWorkflowExecutions_result .class );
1838
1841
if (response .getResponseCode () == ResponseCode .OK ) {
1839
1842
return result .getSuccess ();
1840
1843
}
@@ -1871,12 +1874,10 @@ private GetSearchAttributesResponse getSearchAttributes() throws TException {
1871
1874
ThriftResponse <WorkflowService .GetSearchAttributes_result > response = null ;
1872
1875
try {
1873
1876
ThriftRequest <WorkflowService .GetSearchAttributes_args > request =
1874
- buildThriftRequest (
1875
- "GetSearchAttributes" ,
1876
- new WorkflowService .GetSearchAttributes_args ());
1877
+ buildThriftRequest ("GetSearchAttributes" , new WorkflowService .GetSearchAttributes_args ());
1877
1878
response = doRemoteCall (request );
1878
1879
WorkflowService .GetSearchAttributes_result result =
1879
- response .getBody (WorkflowService .GetSearchAttributes_result .class );
1880
+ response .getBody (WorkflowService .GetSearchAttributes_result .class );
1880
1881
if (response .getResponseCode () == ResponseCode .OK ) {
1881
1882
return result .getSuccess ();
1882
1883
}
@@ -1897,7 +1898,6 @@ private GetSearchAttributesResponse getSearchAttributes() throws TException {
1897
1898
}
1898
1899
}
1899
1900
1900
-
1901
1901
@ Override
1902
1902
public void RespondQueryTaskCompleted (RespondQueryTaskCompletedRequest request )
1903
1903
throws TException {
@@ -2291,9 +2291,9 @@ public void SignalWithStartWorkflowExecution(
2291
2291
}
2292
2292
2293
2293
@ Override
2294
- public void ResetWorkflowExecution (ResetWorkflowExecutionRequest resetRequest , AsyncMethodCallback resultHandler ) throws TException {
2295
-
2296
- }
2294
+ public void ResetWorkflowExecution (
2295
+ ResetWorkflowExecutionRequest resetRequest , AsyncMethodCallback resultHandler )
2296
+ throws TException { }
2297
2297
2298
2298
@ Override
2299
2299
public void TerminateWorkflowExecution (
@@ -2338,8 +2338,7 @@ public void CountWorkflowExecutions(
2338
2338
}
2339
2339
2340
2340
@ Override
2341
- public void GetSearchAttributes (AsyncMethodCallback resultHandler )
2342
- throws TException {
2341
+ public void GetSearchAttributes (AsyncMethodCallback resultHandler ) throws TException {
2343
2342
throw new UnsupportedOperationException ("not implemented" );
2344
2343
}
2345
2344
0 commit comments