org.xcmis.sp.inmemory
Class StorageConfiguration

java.lang.Object
  extended by org.xcmis.sp.inmemory.StorageConfiguration

public class StorageConfiguration
extends Object

Version:
$Id: StorageConfiguration.java 1714 2010-09-19 09:36:45Z andrew00x $
Author:
Andrey Parfonov

Constructor Summary
StorageConfiguration(String id, String name, String description, long maxMem, long maxItemsNum)
           
 
Method Summary
 String getDescription()
           
 String getId()
           
 long getMaxItemsNum()
           
 long getMaxMem()
           
 String getName()
           
 void setDescription(String description)
           
 void setId(String id)
           
 void setMaxItemsNum(long maxItemsNum)
           
 void setMaxMem(long maxMem)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageConfiguration

public StorageConfiguration(String id,
                            String name,
                            String description,
                            long maxMem,
                            long maxItemsNum)
Parameters:
id - the id
name - name
description - description
maxMem - max memory size
maxItemsNum - max objects count
Method Detail

getId

public String getId()
Returns:
the repository id

setId

public void setId(String id)
Parameters:
id - storage id

getName

public String getName()
Returns:
the repository name

setName

public void setName(String name)
Parameters:
name - repository name

getMaxItemsNum

public long getMaxItemsNum()
Returns:
max number of items allowed to be added in storage

setMaxItemsNum

public void setMaxItemsNum(long maxItemsNum)
Parameters:
maxItemsNum - max number of items allowed to be added in storage

getMaxMem

public long getMaxMem()
Returns:
max memory size to be used for store objects

setMaxMem

public void setMaxMem(long maxMem)
Parameters:
maxMem - max memory size to be used for store objects

getDescription

public String getDescription()
Returns:
the repository description

setDescription

public void setDescription(String description)
Parameters:
description - description


Copyright © 2011 eXo Platform SAS. All Rights Reserved.