diff options
author | Jan Srnicek <jsrnicek@cisco.com> | 2016-08-31 08:36:24 +0200 |
---|---|---|
committer | Maros Marsalek <mmarsale@cisco.com> | 2016-08-31 06:47:49 +0000 |
commit | 4442eaaceb27f080e2ad38075823f0985d769b7c (patch) | |
tree | dfc047619cd16870337324bd060f13bca64066fd /vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/v3po/util/cache/EntityDumpNonEmptyCheck.java | |
parent | 67266f9f518f02295dab13da90a9ba2488ef4a31 (diff) |
HONEYCOMB-144 - Make dump cache manager thread-save
Modified to be thread save and generic
to be usable in all plugins
Change-Id: I26c90e8c8aa13c07fa389d86a9784e92e9532bcd
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/v3po/util/cache/EntityDumpNonEmptyCheck.java')
-rw-r--r-- | vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/v3po/util/cache/EntityDumpNonEmptyCheck.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/v3po/util/cache/EntityDumpNonEmptyCheck.java b/vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/v3po/util/cache/EntityDumpNonEmptyCheck.java index d64e312fe..d2216f64a 100644 --- a/vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/v3po/util/cache/EntityDumpNonEmptyCheck.java +++ b/vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/v3po/util/cache/EntityDumpNonEmptyCheck.java @@ -18,16 +18,14 @@ package io.fd.honeycomb.translate.v3po.util.cache; import io.fd.honeycomb.translate.v3po.util.cache.exceptions.check.DumpCheckFailedException; import io.fd.honeycomb.translate.v3po.util.cache.exceptions.check.i.DumpEmptyException; -import org.openvpp.jvpp.dto.JVppReplyDump; /** * Generic interface for classes that verifies if dump of data object is non-empty */ -public interface EntityDumpNonEmptyCheck<T extends JVppReplyDump> { +public interface EntityDumpNonEmptyCheck<T> { /** * Verifies if data are non-empty,if not throws {@link DumpEmptyException} - * @throws DumpEmptyException */ public void assertNotEmpty(T data) throws DumpCheckFailedException; } |