Enforce memory percentage 00/37500/3
authorRobert Varga <rovarga@cisco.com>
Tue, 12 Apr 2016 14:47:49 +0000 (16:47 +0200)
committerTom Pantelis <tpanteli@brocade.com>
Tue, 19 Apr 2016 11:43:42 +0000 (11:43 +0000)
commitb2d39347a879e13d2153b07d1c869539e5144d25
tree3cc4217c9c53da84ddb008087ab5eeb8e661a169
parent63df5670643d8c8851941bd752553847f0e0520f
Enforce memory percentage

Setting a negative percentage does not make sense. Make sure we validate
them in setters.

Change-Id: I4e0eb0a6ea47b3dda897946cc172899996e301f3
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DatastoreContext.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.