how to keep track of time after object is created in java -


i not sure how build setup in java

once make object, want object destroyed after amount of time. want destroy object when trigger it. object destroyed after set time sure can destroyed trigger. however, want object interactive other function until destroyed.

can me function use , how build it.

you can use

long timenow = system.currenttimemillis(); if need


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -