[ 
https://issues.apache.org/jira/browse/HBASE-11936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14129302#comment-14129302
 ] 

Vladimir Rodionov commented on HBASE-11936:
-------------------------------------------

This should be safe, I think. 
{quote}
The following four instructions invoke methods:
    invokevirtual invokes an instance method of an object, dispatching on the 
(virtual) type of the object. This is the normal method dispatch in the Java 
programming language.
    invokeinterface invokes a method that is implemented by an interface, 
searching the methods implemented by the particular runtime object to find the 
appropriate method.
    invokespecial invokes an instance method requiring special handling, 
whether an instance initialization method (ยง3.9), a private method, or a 
superclass method.
   invokestatic invokes a class (static) method in a named class.

The method return instructions, which are distinguished by return type, are 
ireturn (used to return values of type boolean, byte, char, short, or int), 
lreturn, freturn , dreturn, and areturn. In addition, the return instruction is 
used to return from methods declared to be void, instance initialization 
methods, and class or interface initialization methods.

{quote}

In out case ~invokevirtual~ is generated and actual binding is done dynamically 
by JVM runtime.

> IsolationLevel must be attribute of a Query not a Scan
> ------------------------------------------------------
>
>                 Key: HBASE-11936
>                 URL: https://issues.apache.org/jira/browse/HBASE-11936
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.98.6
>            Reporter: Vladimir Rodionov
>            Assignee: Vladimir Rodionov
>              Labels: features
>             Fix For: 2.0.0, 0.98.7, 0.99.1
>
>         Attachments: HBASE_11936.patch
>
>
> The Get operation is implemented in HBase as a Scan. The default isolation 
> level for Scan is READ_COMMITTED. The API to change the isolation level is 
> part of Scan class and there is no way for Get operation to change this from 
> default. We should move this API up to Query (which is a parent of both: Scan 
> and Get). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to