需要将long值传递给一个变量到WLST,WLST在末尾需要L

2024-10-02 00:35:51 发布

您现在位置:Python中文网/ 问答频道 /正文

我们正在尝试将long值传递给WLDFAccessRuntime(weblogic的mbean),属性是EarliestAvailableTimestamp&LatestAvailableTimestamp,它的末尾应该是“L”。你知道吗

EarliestAvailableTimestamp(默认值) cmo.getEarliestAvailableTimestamp() 1509097885002升

但是我们正在尝试通过wlst脚本更改值 a=1234 b=长(a)--此值传递给EarliestAvailableTimestamp()

虽然很长,但结尾没有给出L,因此EarliestAvailableTimestamp()不接受该值。你知道吗

例如:

s=1519056698455 e=1519057598000

脚本值: 游标名称=cmo.openCursor(长(s),长(e),“”) 打印光标名称 自定义/网址:com.bea.wli.monitoring.sla.alertIterator-25——9159200561733388375

Maualy输入值: 游标名称=cmo.openCursor(1519056698455L,1519057598000L,“”) 打印光标名称 自定义/网址:com.bea.wli.monitoring.sla.alertIterator-电话:26-6422683192499293139

两个cursorname值应该相同。你知道吗


Tags: 脚本名称comlongmonitoring网址游标光标

热门问题