@Override public Object executeFunction(boolean enableStreaming, boolean isPossibleDuplicate, AbstractGemFireResultSet rs, boolean orderedReplies, boolean getResult) throws StandardException, SQLException { // overridden for stats final CachePerfStats stats = this.region.getCachePerfStats(); final long start = stats.startGet(); Object result = null; try { result = super.executeFunction(enableStreaming, isPossibleDuplicate, rs, orderedReplies, getResult); } finally { // Fixes for Issue #48947 // If a SQL select on a PR table with primary key lookup is done it goes // by GetExecutorMessage to peer members. // As this message bypasses the Region.get() API and directly access // InternalDataView.getLocally() the "gets" stats are not getting updated. // We need to update the stats from outside to show correct stats. if (this.pr != null) { this.pr.prStats.endGet(start); } stats.endGet(start, result == null); } return result; }
@Override public Object executeFunction(boolean enableStreaming, boolean isPossibleDuplicate, AbstractGemFireResultSet rs, boolean orderedReplies, boolean getResult) throws StandardException, SQLException { // overridden for stats final CachePerfStats stats = this.region.getCachePerfStats(); final long start = stats.startGet(); Object result = null; try { result = super.executeFunction(enableStreaming, isPossibleDuplicate, rs, orderedReplies, getResult); } finally { // Fixes for Issue #48947 // If a SQL select on a PR table with primary key lookup is done it goes // by GetExecutorMessage to peer members. // As this message bypasses the Region.get() API and directly access // InternalDataView.getLocally() the "gets" stats are not getting updated. // We need to update the stats from outside to show correct stats. if (this.pr != null) { this.pr.prStats.endGet(start); } stats.endGet(start, result == null); } return result; }
@Override public Object executeFunction(boolean enableStreaming, boolean isPossibleDuplicate, AbstractGemFireResultSet rs, boolean orderedReplies, boolean getResult) throws StandardException, SQLException { // overridden for stats final CachePerfStats stats = this.region.getCachePerfStats(); final long start = stats.startGet(); Object result = null; try { result = super.executeFunction(enableStreaming, isPossibleDuplicate, rs, orderedReplies, getResult); } finally { // Fixes for Issue #48947 // If a SQL select on a PR table with primary key lookup is done it goes // by GetExecutorMessage to peer members. // As this message bypasses the Region.get() API and directly access // InternalDataView.getLocally() the "gets" stats are not getting updated. // We need to update the stats from outside to show correct stats. if (this.pr != null) { this.pr.prStats.endGet(start); } stats.endGet(start, result == null); } return result; }
checkForNoAccess(); CachePerfStats stats = getCachePerfStats(); long start = stats.startGet(); boolean miss = true; try {
discoverJTA(); CachePerfStats stats = getCachePerfStats(); long start = stats.startGet(); boolean miss = true; try {
checkForNoAccess(); CachePerfStats stats = getCachePerfStats(); long start = stats.startGet();
checkForNoAccess(); final CachePerfStats stats = getCachePerfStats(); final long start = stats.startGet(); boolean isMiss = true; try {
checkForNoAccess(); CachePerfStats stats = getCachePerfStats(); long start = stats.startGet();
discoverJTA(); CachePerfStats stats = getCachePerfStats(); long start = stats.startGet(); boolean isMiss = true; try {