HHH-10773 - Add a toString() implementation to the READ_WRITE Ehcache Item object
This commit is contained in:
parent
2ba9b98cbc
commit
d70c2c04ef
|
@ -273,6 +273,15 @@ abstract class AbstractReadWriteEhcacheAccessStrategy<T extends EhcacheTransacti
|
|||
public Lock lock(long timeout, UUID uuid, long lockId) {
|
||||
return new Lock( timeout, uuid, lockId, version );
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Item{" +
|
||||
"value=" + value +
|
||||
", version=" + version +
|
||||
", timestamp=" + timestamp +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue