java.lang.Object | |
↳ | android.database.sqlite.SQLiteClosable |
Known Direct Subclasses |
Known Indirect Subclasses |
An object created from a SQLiteDatabase that can be closed. This class implements a primitive reference counting scheme for database objects.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Acquires a reference to the object.
|
||||||||||
|
Releases a reference to the object, closing the object if the last reference
was released.
|
||||||||||
|
Releases a reference to the object, closing the object if the last reference
was released.
|
||||||||||
|
This method was deprecated
in API level 16.
Do not use.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Called when the last reference to the object was released by
a call to
releaseReference()
or
close()
.
|
||||||||||
|
This method was deprecated
in API level 16.
Do not use.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
|||||||||||
From interface
java.io.Closeable
|
|||||||||||
From interface
java.lang.AutoCloseable
|
Acquires a reference to the object.
IllegalStateException | if the last reference to the object has already been released. |
---|
Releases a reference to the object, closing the object if the last reference
was released.
Calling this method is equivalent to calling
releaseReference()
.
Releases a reference to the object, closing the object if the last reference was released.
This method was deprecated
in API level 16.
Do not use.
Releases a reference to the object that was owned by the container of the object, closing the object if the last reference was released.
Called when the last reference to the object was released by
a call to
releaseReference()
or
close()
.
This method was deprecated
in API level 16.
Do not use.
Called when the last reference to the object was released by
a call to
releaseReferenceFromContainer()
.