Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.coherence.config.builder.storemanager
Class LhFileManagerBuilder

java.lang.Object
  extended by com.tangosol.coherence.config.builder.storemanager.AbstractStoreManagerBuilder
      extended by com.tangosol.coherence.config.builder.storemanager.LhFileManagerBuilder

All Implemented Interfaces:
BuilderCustomization, BinaryStoreManagerBuilder

Deprecated. as of 12.1.2, use Berkeley DB for similar functionality

public class LhFileManagerBuilder
extends AbstractStoreManagerBuilder

The LhFileManagerBuilder class builds an instance of an LHBinaryStoreManager.

Since:
Coherence 12.1.2
Author:
pfm 2011.11.30

Constructor Summary
LhFileManagerBuilder()
          Deprecated.  

 

Method Summary
 java.lang.String getDirectory(com.tangosol.config.expression.ParameterResolver resolver)
          Deprecated. Return the path name for the root directory that the LH file manager uses to store files in.
 java.lang.String getFileName(com.tangosol.config.expression.ParameterResolver resolver)
          Deprecated. Return the name for a non-temporary (persistent) file that the LH file manager uses to store data in.
 com.tangosol.io.lh.LHBinaryStoreManager realize(com.tangosol.config.expression.ParameterResolver resolver, java.lang.ClassLoader loader, boolean fPaged)
          Deprecated. Realize a BinaryStoreManager given the provided parameters.
 void setDirectory(com.tangosol.config.expression.Expression expr)
          Deprecated. Set the root directory where the manager stores files.
 void setFileName(com.tangosol.config.expression.Expression expr)
          Deprecated. Set the persistent file name.

 

Methods inherited from class com.tangosol.coherence.config.builder.storemanager.AbstractStoreManagerBuilder
getCustomBuilder, setCustomBuilder, validate

 

Constructor Detail

LhFileManagerBuilder

public LhFileManagerBuilder()
Deprecated. 

Method Detail

realize

public com.tangosol.io.lh.LHBinaryStoreManager realize(com.tangosol.config.expression.ParameterResolver resolver,
                                                       java.lang.ClassLoader loader,
                                                       boolean fPaged)
Deprecated. 
Realize a BinaryStoreManager given the provided parameters.
Parameters:
resolver - the ParameterResolver for resolving expressions and runtime parameters
loader - the ClassLoader for loading classes (if necessary)
fPaged - the flag indicating whether the map is paged

getDirectory

public java.lang.String getDirectory(com.tangosol.config.expression.ParameterResolver resolver)
Deprecated. 
Return the path name for the root directory that the LH file manager uses to store files in. If not specified or specifies a non-existent directory, a temporary file in the default location is used.
Parameters:
resolver - the ParameterResolver
Returns:
the root directory

setDirectory

@Injectable
public void setDirectory(com.tangosol.config.expression.Expression expr)
Deprecated. 
Set the root directory where the manager stores files.
Parameters:
expr - the directory name

getFileName

public java.lang.String getFileName(com.tangosol.config.expression.ParameterResolver resolver)
Deprecated. 
Return the name for a non-temporary (persistent) file that the LH file manager uses to store data in. Specifying this parameter causes the lh-file-manager to use non-temporary database instances. Use this parameter only for local caches that are backed by a cache loader from a non-temporary file: this allows the local cache to be pre-populated from the disk file on startup. When specified it is recommended that it use the {cache-name} macro. Normally this parameter should be left unspecified, indicating that temporary storage is to be used.
Parameters:
resolver - the ParameterResolver
Returns:
the file name

setFileName

@Injectable
public void setFileName(com.tangosol.config.expression.Expression expr)
Deprecated. 
Set the persistent file name.
Parameters:
expr - the file name

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.